请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:AM6442 主题中讨论的其他器件:INA226
尊敬的 TI 支持者:
我尝试通过以下命令测试 I2C-0:
root@am64xx-evm:/# i2cget -y 1 0x40 0 w 0x2741 root@am64xx-evm:/# i2cdetect -l i2c-3 i2c OMAP I2C adapter I2C adapter i2c-1 i2c OMAP I2C adapter I2C adapter i2c-2 i2c OMAP I2C adapter I2C adapter i2c-0 i2c OMAP I2C adapter I2C adapter root@am64xx-evm:/# i2cget -y 0 0x50 0x0 w 0xffff root@am64xx-evm:/# i2cget -y 0 0x51 0x0 w 0xffff root@am64xx-evm:/# i2cset -y 0 0x51 0x0f 0x55aa w root@am64xx-evm:/# i2cget -y 0 0x51 0x0f w 0xffff root@am64xx-evm:/# i2cget -y 1 0x40 0 w 0x2741 root@am64xx-evm:/#
我还尝试读取 I2C_1_INA223_VDD_CORE_ADD 0x40、该值工作正常。
我不知道为什么无法从 I2C-0上的 EEPROM 读取数据