thans's i try this root@beaglebone:~# i2cset -y 1 0x49 0x01 0x60 root@beaglebone:~# i2cget -y 1 0x49 0x00 w 0x3016 root@beaglebone:~#
how use this the commande console same with bonescript ? Le lundi 8 septembre 2014 19:28:59 UTC+2, sbodd05 a écrit : > > The above command scans the i2c-1 bus and reports the device address > attached to it. In this case 0x54, 0x55, 0x56 and 0x57 are the device > addresses, which are EEPROMs. The "UU" indicates, the address is already > occupied by some driver. > You can check the p9_20 (I2C2_SDA) for sent data and ack replied back by > devices in a oscilloscope, and p9_19 (I2C2_SCL) for i2c clock source. > > For better understanding regarding the i2c-tools follow the below > mentioned link - > http://www.lm-sensors.org/wiki/i2cToolsDocumentation > > > Thanks, > S.B. > > On Sun, Sep 7, 2014 at 1:39 PM, <keo....@gmail.com <javascript:>> wrote: > >> Hi all, >> I would like use I2C, but l'm newbie >> i throw this >> i2cdetect -y -r 1 >> >> this is response >> 0 1 2 3 4 5 6 7 8 9 a b c d e f >> 00: -- -- -- -- -- -- -- -- -- -- -- -- -- >> 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- >> 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- >> 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- >> 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- >> 50: -- -- -- -- UU UU UU UU -- -- -- -- -- -- -- -- >> 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- >> 70: -- -- -- -- -- -- -- -- >> >> How read this response ? >> What we need for read the componement >> if I mesure P9_19 and P9_20 i have a signal when i throw commande >> >> thianks for help :) >> >> -- >> For more options, visit http://beagleboard.org/discuss >> --- >> You received this message because you are subscribed to the Google Groups >> "BeagleBoard" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to beagleboard...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.