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.
I2c Adress List on Redpitaya Board
-
- Posts: 33
- Joined: Fri Jan 23, 2015 9:53 am
- Location: Zurich
Re: I2c Adress List on Redpitaya Board
Unfortunately there is still no release of the schematics
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?
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?
-
- Posts: 33
- Joined: Fri Jan 23, 2015 9:53 am
- Location: Zurich
Re: I2c Adress List on Redpitaya Board
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:
Cheers, Noah
Code: Select all
Test done. Found devices with adr: 0x50
-
- Posts: 2
- Joined: Mon Jun 08, 2015 3:30 pm
Re: I2c Adress List on Redpitaya Board
Thanks for this interesting information
-
- Posts: 54
- Joined: Tue Feb 02, 2016 8:42 pm
Re: I2c Adress List on Redpitaya Board
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:
user@testdevice:/proc/device-tree$ ls -R | grep i2c
i2c@e0004000
i2c@e0005000
./amba/i2c@e0004000:
./amba/i2c@e0004000/eep@50:
./amba/i2c@e0005000:
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 107 guests