Page 1 of 1

I2c Adress List on Redpitaya Board

Posted: Thu Jun 11, 2015 4:39 pm
by Gor
Hi

I am going to work with the I2C bus and at this point it works very well.
I run the example (http://redpitaya.com/make-your-app/i2c/) and have nice signals on the oscilloscope.
But I found no information about which addresses the Redpitaya board use internal and which I can use on my extension board.
Are there any other chips on the I2C beside the EEPROM?

I hope for some useful informations.

Re: I2c Adress List on Redpitaya Board

Posted: Fri Jun 12, 2015 4:33 pm
by noah
Unfortunately there is still no release of the schematics :x
But you could write a simple shell script that runs through all the 127 addresses and tests the ack response in order to detect if there is a device connected. If you got that, would you mind share?

Re: I2c Adress List on Redpitaya Board

Posted: Mon Jun 15, 2015 1:59 pm
by noah
I just had fun writing a little tool to scan for devices, you can find the source and binary on my github repo. There is indeed only the EEPROM on the local i2c bus 0:

Code: Select all

Test done. Found devices with adr: 0x50
Cheers, Noah

Re: I2c Adress List on Redpitaya Board

Posted: Wed Jun 17, 2015 12:02 pm
by Gor
Thanks for this interesting information

Re: I2c Adress List on Redpitaya Board

Posted: Wed Nov 02, 2016 11:24 pm
by xyefa
Another way is to ls /proc/device-tree and grep for your device:

user@testdevice:/proc/device-tree$ ls -R | grep i2c
i2c@e0004000
i2c@e0005000
./amba/i2c@e0004000:
./amba/i2c@e0004000/eep@50:
./amba/i2c@e0005000: