2011年6月29日 星期三

i2c command on uboot

#iprobe : probe to discover i2c chip address
#ibus [idx] [spd] : testing i2c bus speed ex: ibus 0 64
64(ST),0x190(FS),0xD480(HS)
#imd: display i2c memory
imd [chip address] [register address] .[show byte .0 .1 .2] [num of byte]
> imd 0x55 0x10.0 10
#imm: write data via i2c address
imm [chip address] [register address>.[show byte .0 .1 .2]

沒有留言:

張貼留言