3 ms·
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
by bri3d 5y ago
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?
- amelius 5y agoYou 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 ... [1] https://www.nxp.com/docs/en/data-sheet/PCAL9538A.pdf https://www.nxp.com/docs/en/data-sheet/PCAL9538A.pdf