Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:general_information:tutorial:i2c [2015/01/26 08:32] – external edit 127.0.0.1 | en:general_information:tutorial:i2c [2022/08/04 15:02] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 4: | Line 4: | ||
=== read i2c addresses === | === read i2c addresses === | ||
< | < | ||
- | U-Boot > i2c dev < devicenumber | + | U-Boot > i2c dev < busnumber |
U-Boot > i2c probe | U-Boot > i2c probe | ||
</ | </ | ||
Line 13: | Line 13: | ||
</ | </ | ||
++++ | ++++ | ||
+ | |||
+ | |||
+ | === read eeprom 0x50 === | ||
+ | |||
+ | i2c md 0x50 0x20.2 | ||
+ | i2c md 0x50 0x30.2 | ||
+ | |||
+ | |||
+ | |||
+ | |||
==== Linux ==== | ==== Linux ==== | ||
< | < | ||
- | root@MBaXXX: | + | root@MBaXXX: |
</ | </ | ||
++++ example | | ++++ example | | ||
< | < | ||
- | root@MBaXXX: | + | root@MBaXXX: |
</ | </ | ||
++++ | ++++ | ||