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.

Check value of a processor's pin

Other Parts Discussed in Thread: OMAP-L138
Hello!
I was wondering if there is a "software way" to check the current value of a processor's pin.(In my case the processor is OMAP-L138).
The question maybe isn't valid due to lack of experience!

Thank you in advance.

  • Not sure if I can help. Need a little more info. Which pin? Are you using linux? U-boot? StarterWare? Bare metal?

  • Katerina Trilyraki,

    Thanks for your post.
    Norman Wong asked give some details in his previous post.
    Yes, it would be easy for us to provide technical guidance to you.
    I assume that your query related to Pin multiplexing.
    Pin Assignments:
    Pin multiplexing is using for software programmable register settings and combination of hardware configuration.
    It can be controlled on a pin-by-pin basis.
    Each pin is multiplexed with several different functions.
    It will be done through the PINMUX registers.

  • Hello Norman and Pubesh,

    thank you for your prompt answers.

    I should have made myself more clear...

    I am using Starterware and ,as for the pin, I am interested on the VPIF pins.

    As for the pin multiplexing that Pubesh mentioned , my question is about values of a pin after the pinmux configuration.

    More precisely ,I am asking if you can have access via software to the value of a pin after you pick via pin multiplexing the function that you want to represent the values for this pin.(Hope I did not make it worse!)

    Kind Regards,

    Katerina

  • Some background you probably already know. I think we should distinguish the pads on the outside of the device and the pins on each peripheral controller. Some pins as permanently connected to pads. Most pins connect to the pin multiplexer (pinmux) which then connects to the pads. As far as I know, the pinmux does not have any level sense built into the multiplexer. It just connects pads to pins. The ability to sense the level of the pad is left to the peripheral controlling the pin. I haven't used all the peripherals on the OMAP-L138. No experience with the VPIF. From the few I have seen, only the GPIO peripheral senses the level of an output pin. Input pins generally route to registers that can be read. I suppose you could externally connect your pin of interest to an GPIO input and read the GPIO. Not quite all SW though.

  • Hello Norman ,

    thank you for your informative input.It helped me to clarify some things.

    Regards,

    Katerina Trilyraki