[beagleboard] Using Universal IO to set pullup/pulldown on a PRU input

2016-01-29 Thread Soapy Smith
I can set a PRU input as follows: config-pin P9_27 pruin However, I need to control the pullup/pulldown resistor as well. This can be done when the pin is in GPIO mode. How is this controlled in pruin mode? Regards, Greg -- For more options, visit http://beagleboard.org/discuss --- You receiv

Re: [beagleboard] Using Universal IO to set pullup/pulldown on a PRU input

2016-01-29 Thread Charles Steinkuehler
On 1/29/2016 3:29 PM, Soapy Smith wrote: > I can set a PRU input as follows: > > config-pin P9_27 pruin > > However, I need to control the pullup/pulldown resistor as well. > This can be done when the pin is in GPIO mode. > How is this controlled in pruin mode? The same way, by setting bits in t

Re: [beagleboard] Using Universal IO to set pullup/pulldown on a PRU input

2016-01-29 Thread Soapy Smith
After a large dose of confusion, I got it figured out. I'm using the univ-emmc blob on a Beaglebone Black. I found the pin entries in the dts file, and changed the value from 0x26 to 0x2e. Now when I use config-pin P9_27 pruin, for example, the resistor is disengaged. I'm using the -f option and