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.

Regarding GPIO Toggling in WinCE

Other Parts Discussed in Thread: OMAP-L138

Hi,

I am trying to toggle the GPIO0[7].

In one of the stream interface driver I had used GPIO functions such as

GPIOSetDirection and GPIOSetOutputState for changing direction of GPIO0[7] to Output and O/P State to High and Low.

I am probing at J15.29 (Display Connector on Base Board).

But, I don't see this pin toggling.

I have tried the same APIs for toggling GP2[8] and I can observe the change.

Am I probing at right place? Please provide information regrding where exactly we can probe this pin on base board?

Thank You & Regards,

GSR

  • GSR,

    Could you please first let us know the following information:

    1. which Processor: am35X/OMAP35X/AM37X/DM37X/ AM17x/AM18x ....

    2. which EVM

    3. which BSP release?

    Thanks,

    Tao

  • Hi,

    Thank you for reading and replying for the post.

    Sorry for not providing the required information.

    1. Processor OMAP-L138

    2. We are using EVM from LogicPD

    3. BSP Release is BSP_WINCE_ARM9_01_00_02

    On the back side of the base board near SD Connector (J14) its printed on PCB that 1013126 Rev.A

    After referring the RevA schematics it looks that R_LCD_PWM0 signal is GP2[14].

    Even when I tried to toggle GPIO_46 using API in our stream driver I don't see its toggling. I am probing at J15.29

    Regards,

    GSR

  • Hi,

    What I had observed actually we have two L138 EVMs from Logic PD.

    On one of the EVM when we toggle GP2[14] on one EVM J15.29 doesn't show a state change.

    Where as on another EVM I can see that the GPIO toggles.

    For non working EVM I don't have the SOM version. where as the SOM version for working EVM is 1014650 Rev.A

    How to correlate between the schematics and L138 EVM supplied by LogicPD/TI?

    Regards,

    GSR

  • GSR

    You can find the information on LogicPD's web site   http://logicpd.com/products/development-kits/zoom-omap-l138-evm-development-kit#tabs-som-4   > Access downloads.

    You will need to register to access the information.  

    The "EVM Product Change Notification" doc tells you how to identify your EVM and the corresponding "EVM Hardware Design Files" zip file contains the schematic etc.

     

    Regards

    WM

  • Just a quick thought. Have you checked that the pin related to the GPIO you are trying to toggle is properly multiplexed to the GPIO controller?

  • Hi WM and Adeneo Embedded Support Team,

    Thank You all for reading my post and replying for it.

    I can see that GP2[14] toggling on one version of the board (TMDXOSKL138E), on another version of the board it is not toggling (I don't have either model Number, Part Number or Serial Number for this board).

    Thank You & Regards,

    GSR

  • By different versions of the board, do you mean:

    - Same board, but one has higher revision number and contains some hardware fixes that the lower revision does not have ?

    - One is the reference board from LogicPD, the other is a custom design based on the referenced board from LogicPD ?

    Let us know some that we get a good understanding of your problem and try to figure out your problem.

  • Hi Adeneo Embedded Team,

    Thank You for the reply.

    Both the boards are reference boards from Logic PD only.

    Regarding Revision / Serial Numbers of the non-working board I don't have any information as of now.

    Regards,

    GSR

  • "Just a quick thought. Have you checked that the pin related to the GPIO you are trying to toggle is properly multiplexed to the GPIO controller?"  Where is the documentation that tells you how to do this assuming that one pin could be gpio or other things?  I have a post out asking how to configure a gpio pin from the start.  Lot of documents/information, but where are they?

    Thanks, DM