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.

USING A GPIO PIN AS AN INPUT PIN TMS320F28335

Other Parts Discussed in Thread: TMS320F28335, CONTROLSUITE

Hello
Please help me with the configuration of GPIO pins as input pins for TMS 320F 28335. The procedure given in data sheet is not working properly, may be i am not able to interpret correctly.

Thanks in advance. 

  • Hello!

    You can find examples of different configuration of GPIO pins for TMS320F28335 here

    ti\controlSUITE\device_support\f2833x\v133\DSP2833x_examples_ccsv4\gpio_setup\

    For example:

    // Make GPIO34 an input
    GpioCtrlRegs.GPBPUD.bit.GPIO34 = 0; // Enable pullup on GPIO34
    GpioCtrlRegs.GPBMUX1.bit.GPIO34 = 0; // GPIO34 = GPIO34
    GpioCtrlRegs.GPBDIR.bit.GPIO34 = 0; // GPIO34 = input

    Regards,

    Igor