Page 1 of 1

I2C slave emulator

Posted: Fri Aug 04, 2017 1:34 am
by hunterakins
Trying to connect Red Pitaya to a Pixhawk flight controller over I2C, but they are both masters.
Idea: get the Red Pitaya to emulate an I2C slave using the digital I/O pins.

I'm also operating under the assumption that the digital I/O API doesn't have a hardware interrupt ...correct me if I'm wrong about that.
Check out the code here:
https://github.com/hunterakins/RP_I2C_slave

Cheers,
Hunter