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.

GPIO toggling

We are using OMAPL138BZWTD4 for our design. We are enabling Pin D2 (GP1[15]) in GPIO Mode which connects to LED circuit .

We  followed the same procedure as in TRM

  •  PINMUX2_3_0 selects Functions GP1[15],
  • Setting the direction control registers of GPIO as Output for that Particular pin
  • Togging that pin using GPIO out data register.

The expected behavior is LED to be toggled but it's not happening. Even we couldn't see the toggling on scope by probing respective pin.

The Same Circuit & software procedure we can observer the LED toggling on GP6[3].

Please let us know what can be done for GP1[15] to be toggled.

  • Vijay,

    If the software procedure worked on GP6[3], the same should have worked on GP1[15] but there isn`t enough data here for me to eliminate an issue with the software. If you are able to connect to the device using emulator, you should ensure from the register view in CCS that all the pinmux and register writes are being done correctly. If this shows no issues, it might be an issue with your hardware hook up. In absence of the exact pinmux configs and access to schematics, pointing you to the exact issue might be a bit difficult so we might have to work through a process of elimination.

    Regards,

    Rahul

    PS: Have you tried this with multiple units or just one unit?

  • Rahul,

    We have tried on two boards and also on Hawk EVB board, to just toggle the GPIO(GP1[15]), Pinmux & register settings are done correctly on GP1[15], but we can't see toggling either in the scope

    The same procedure we have tried on GP6[3] & some other GPIO's, we can observe toggling on scope.

    Regards

    Vijay

  • Vijay,

    Can you paste the code where you are doing the toggling as well as the pinmux settings? Also share more details about the software setup.

  • vijay:
    Whether the GP1[15] is pinmux with the time pin TM64P_X12. So you may need to check the register GPINTGPEN and GPDATGPDIR for the GPIO purpose.
    i hope can help U.
  • Hi,
    How can I help you ?
    Any problem are you facing ?

    It seems you are following or answering in very old post (2012)