Thank you for your answer; I've used my own kernel module for pinmuxing,
now, instead, I have another option for this task.


On Wed, Jul 2, 2014 at 2:47 PM, TJF <[email protected]> wrote:

>
>
> Am Mittwoch, 2. Juli 2014 00:34:11 UTC+2 schrieb Sungjin Chun:
>
>> "Can I pinmux in PRU?" The TRM says I have to be in privileged mode to
>> write pinmux register.
>>
>
> You need to be in priviged mode to switch on the PRUSS (ie echo PRUSSDRV
> > /sys/devices/bone_capemgr.9/slots).
>
> Once the PRUSS is running, there's no kernel software between the PRU and
> the pinmux registers. So the answer is yes, the PRU can do pinmuxing in
> privileged or unprivileged user mode.
>
> Test the examples in libpruio to see this happen on your system
>
>    - *button* configures an GPIO input pin with high resistor
>    - *stepper* configures four output pins
>    - *sos* unlocks the user LED3 to control this GPIO pin
>
>  --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to