This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28379D: GPIO READ

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE

I wanted to know the steps for reading a GPIO (if it is at 3.3 v or 0v )which is input.

I am having trouble finding that register.

I want similar command which i used for 28033  GpioDataRegs.GPADAT.bit.GPIO25 for dual core.

Thanks

  • Sagar,

    Yes, it's same as other device. Have you looked into the GPIO example in C200Ware ?

    Regards,

    Vivek Singh

  • Sagar,

    Equivalent software headers which enable this style of coding, and code examples using them, can be found in C2000Ware in the device_support/F2837xd directory.

    Driverlib:  Also note there is a full driverlib for the peripherals on this device.  Driverlib can be combined into the same project with the header files you are used to using on the F2833x.  Refer to the C2000Ware driverlib/ directory.  

    You may find the application note:  www.ti.com/lit/SPRAA85  "Programming TMS320x28xx and TMS320x28xxx Peripherals in C/C++" helpful.  It describes both programming approaches; the header files you are using today and driverlib.

    Checkout the website C2000 Getting Started – Software - For more information on C2000WarecontrolSUITE, and the software offerings for C2000 MCUs.

    Regards

    Lori