I don't think you can tri-state PRU output GPO. But you can hook external 
buffer (e.g. 74HC245) and dedicate one PRU GPO for output enable.

Regards,
Dimitar

On Thursday, January 16, 2020 at 6:39:20 PM UTC+2, TJF wrote:
>
> There's no supervisor mode for the PRU.
>
> There's no tri-state-mode for AM335x GPIO.
>
> In order to change direction for a pin on a GPIO-SS, it needs a write 
> access to its OE register. The PRU can do that.
>
> Find an example at 
> https://github.com/DTJF/libpruw1/blob/master/src/bas/w1_prucode.p, which 
> is a driver for a one-wire (w1) bus, reading and sending data on a single 
> GPIO line for multiple divices. The library documentation is at 
> http://users.freebasic-portal.de/tjf/Projekte/libpruw1/doc/html/
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/24387fa7-d9b6-4a64-82d1-efec85b6d6fc%40googlegroups.com.

Reply via email to