Hello all,
I am working on a project that will require the Red Pitaya to receive data sent over an I2C bus. I have read an implemented the example project described here:
https://redpitaya.readthedocs.io/en/lat ... s/i2c.html
And it works great for sending data. However, suppose I need the Red Pitaya to act as the slave device? I can't seem to find an easy way to implement this.
I was considering wiring the other device to the Red Pitaya's I2C bus and writing directly to the EEPROM at a predetermined address. The software on the Red Pitaya could come by later and check that address to see if data has arrived. I don't know much about the EEPROM though, and this seems like it could be a great way to really screw up some internal stuff on the Red Pitaya.
I only need to send/receive a 32-bit word every 16ms.
Thanks for any help you can give or references you can point me to!
IC2 with Red Pitaya as slave device
- redpitaya
- Site Admin
- Posts: 918
- Joined: Wed Mar 26, 2014 7:04 pm
Re: IC2 with Red Pitaya as slave device
We recommend adding another EEPROM on the i2c pins of the extension connector.
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie
Who is online
Users browsing this forum: No registered users and 1 guest