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.

CCS/TMS320F28379D: TMS320F28379D

Part Number: TMS320F28379D

Tool/software: Code Composer Studio

Hello everyone.

I can't understand, what is the problem.

When I use predefined function  GPIO_togglePin(DEVICE_GPIO_PIN_LED2); the pin toggles, however if I use the register directly, like GpioDataRegs.GPBTOGGLE.bit.GPIO34 = 1; - nothing happens

  • Hi,

    You should be able to open the definition of GPIO_togglePin function and check if there is any additional step in the function which you are missing while accessing direct write to GPIO register. Quick thing to check is the pin mapping (GPIO_PIN_LED2 is GPIO34).

    Regards,

    Vivek Singh