微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 硬件电路设计 > TI模拟硬件电路设计 > TCA8424 i2c没有应答

TCA8424 i2c没有应答

时间:10-02 整理:3721RD 点击:

TCA8424设备地址是0x3b,但是在linux下读写i2c一直没有ACK,i2c log如下:

[   96.845939] i2c i2c-2: master_xfer[0] W, addr=0x3b, len=2
[   96.851355] i2c i2c-2: <i2c_imx_xfer>
[   96.855028] i2c i2c-2: <i2c_imx_start>
[   96.858847] i2c i2c-2: <i2c_imx_bus_busy>
[   96.862869] i2c i2c-2: <i2c_imx_xfer> transfer message: 0
[   96.868282] i2c i2c-2: <i2c_imx_xfer> CONTROL: IEN=1, IIEN=1, MSTA=1, MTX=1, TXAK=1, RSTA=0
[   96.876649] i2c i2c-2: <i2c_imx_xfer> STATUS: ICF=1, IAAS=0, IBB=1, IAL=0, SRW=0, IIF=0, RXAK=1
[   96.885360] i2c i2c-2: <i2c_imx_write> write slave address: addr=0x76
[   96.892331] i2c i2c-2: <i2c_imx_trx_complete> TRX complete
[   96.897831] i2c i2c-2: <i2c_imx_acked> No ACK
[   96.902198] i2c i2c-2: <i2c_imx_stop>
[   96.905869] i2c i2c-2: <i2c_imx_bus_busy>
[   96.909891] i2c i2c-2: <i2c_imx_xfer> exit with: error: -5
[   96.915395] tca8424_keypad 2-003b: tca8424_write_byte failed, reg: 1536, val: 27, error: -5
驱动是按照TCA8418的驱动来写的。

能不能贴一下示波器的I2C时序图?

时序我有测量过,波形是正常的,但是因为手头上示波器被拿走了,暂时没法贴出时序图,抱歉

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top