Re:It's dire: Raspberry Pi availability tracker
by bri3d on Monday January 31, 2022 @06:46PM
(#30156532)
On-SoC based GPIO driven by register access is pretty dramatically different from GPIO driven over a bus in terms of timing.
Also you need a microcontroller at the other end of the USB or I2C. Which means... you need a microcontroller anyway?
Re:It's dire: Raspberry Pi availability tracker
by amelius on Tuesday February 01, 2022 @06:26AM
(#30161153)
You can use a dedicated I2C controlled GPIO expander chip at the other end. For example, [1].
This works in the tens of kHz. Indeed, for high-speed applications you need a different approach. But in that case you probably also want to run a realtime-OS ...
It's easy to hack a GPIO together using the USB interface or I2C interface that's inside every HDMI connector.