TI中文支持网
TI专业的中文技术问题搜集分享网站

AM625: How to support SMBus Quick mode

Part Number:AM625

hello everyone:
I am using a module based on I2C0 bus on AM6254, and I need to use SMBus Quick mode to scan the module. However, AM6254 does not support this mode. 
The specific printing information is as follows:
root@evse:~# ls /dev/i2c-
i2c-0 i2c-2 i2c-4
root@evse:~# i2cdetect -l
i2c-4 i2c OMAP I2C adapter I2C adapter
i2c-2 i2c OMAP I2C adapter I2C adapter
i2c-0 i2c OMAP I2C adapter I2C adapter
root@evse:~#root@evse:~#root@evse:~# i2cdetect -y 0
i2cdetect: warning: can't use SMBus quick write command, will skip some addresses
0 1 2 3 4 5 6 7 8 9 a b c d e f
00:10:20:30: — — — — — — — –40:50: — — — — — — — — — — — — — — — –60:70:root@evse:~#I found that the kernel driver does not support this mode(I2C_FUNC_SMBUS_QUICK).
static u32
omap_i2c_func(struct i2c_adapter *adap)
{
    return I2C_FUNC_I2C | (I2C_FUNC_SMBUS_EMUL & ~I2C_FUNC_SMBUS_QUICK) |
           I2C_FUNC_PROTOCOL_MANGLING;
}
I want to know if this is a hardware issue or a software issue, and how to support it
Taylor:

您好,

已经收到了您的案例,调查需要些时间,感谢您的耐心等待。

,

wang ling:

谢谢,调查有结果了麻烦帮忙尽快回复

,

Eirwen:

可以参考下面链接:

(2) AM625: How to support SMBus Quick mode – Processors forum – Processors – TI E2E support forums

,

wang ling:

谢谢,这个链接是我同事提的,但是,这个链接的问题也还没有给出最终方案

,

Eirwen:

请等待英文帖子的回复

,

wang ling:

hi,taylor

How's my question going?

,

Eirwen:

工程师Nick已经回复了您的英文帖子。 那这边的帖子我就关闭了。 有疑问请继续与Nick直接沟通。

赞(0)
未经允许不得转载:TI中文支持网 » AM625: How to support SMBus Quick mode
分享到: 更多 (0)