• 2024-09-24i2c erproom 读取 ——i2cdetect i2cdump i2cget i2cset 使用方法
    i2cdetecti2cdumpi2cgeti2cset使用方法 1.打印使用说明 i2cdetect–help rk3568_r:/#i2cdetect--helpusage:i2cdetect[-ary]BUS[FIRSTLAST]usage:i2cdetect-FBUSusage:i2cdetect-lDetecti2cdevices.-a Alladdresses(0x00-0x7frathert
  • 2024-05-22i2ctools工具使用
    用i2cdetect检测有几组i2c总线在系统上,输入:./i2cdetect-l用i2cdetect检测挂载在i2c总线上器件,输入./i2cdetect-r-y0我们可以看到有0x50,0x51,0x56三个地址可以用用i2cdump查看器件所有寄存器的值,这个很有用,输入./i2cdump-f-y00x56用i2cget读取单个寄存器值用i2cs