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.

uPP pin mux

Hello,

I am trying to access the uPP on an OMAP L138.  I wanted to test this with a userspace driver in loopback mode first.  I am trying to change the pin muxing via memory mapped registers in user space.  It looks to me like I can read the registers, but I am not confident I can change them this way.  If I write a new value to a particular mux register is there anything else I need to do for that change to take effect?  I'm also not sure if I have to set the KICK0R and KICK1R registers to get the OMAP into privileged mode?  thanks,Scott

  • Hi Scott, the pinmux registers are not modifiable from user space. If your driver is running in user space it will not be able to set those registers. However if it is built into the kernel then it will be running in privileged mode, so there wont be a problem. 

    For the KICK0R and KICK1R registers, if you are using silicon revision 2.0 or higher those are disabled. Otherwise, those are also needed to be unlocked to modify the pinmux registers.

    Jeff