IC2 with Red Pitaya as slave device

Placement, modules, components and accessories; the ones that exist and the the nice-to-be's
Post Reply
Sean McKee
Posts: 4
Joined: Tue May 19, 2020 4:03 pm

IC2 with Red Pitaya as slave device

Post by Sean McKee » Tue Feb 09, 2021 9:40 pm

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!

User avatar
redpitaya
Site Admin
Posts: 535
Joined: Wed Mar 26, 2014 7:04 pm

Re: IC2 with Red Pitaya as slave device

Post by redpitaya » Fri Feb 19, 2021 11:11 am

We recommend adding another EEPROM on the i2c pins of the extension connector.

Post Reply
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