This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] TDA3XEVM:TDA3 I2C 从模式

Guru**** 2331900 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1518377/tda3xevm-tda3-i2c-slave-mode

器件型号:TDA3XEVM

工具/软件:

是否有任何在 I2C 从模式下运行 TDA3的参考示例?

我通过参考 TRM 将器件地址设置为0x33、当我连接到另一个主器件并执行 i2cdetect 时、会发生以下情况。

i2cdetect -y 1
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: -- [17928.285339] tegra-i2c c240000.i2c: I2C transfer timed out
-- [17928.389130] tegra-i2c c240000.i2c: I2C transfer timed out
-- [17928.493227] tegra-i2c c240000.i2c: I2C transfer timed out
-- [17928.597156] tegra-i2c c240000.i2c: I2C transfer timed out
-- [17928.700972] tegra-i2c c240000.i2c: I2C transfer timed out
-- [17928.804985] tegra-i2c c240000.i2c: I2C transfer timed out
-- [17928.909187] tegra-i2c c240000.i2c: I2C transfer timed out
--                         
40:                                                 
50: [17929.013198] tegra-i2c c240000.i2c: I2C transfer timed out
-- [17929.117208] tegra-i2c c240000.i2c: I2C transfer timed out
-- [17929.221216] tegra-i2c c240000.i2c: I2C transfer timed out
-- [17929.325020] tegra-i2c c240000.i2c: I2C transfer timed out
-- [17929.429027] tegra-i2c c240000.i2c: I2C transfer timed out
-- [17929.533039] tegra-i2c c240000.i2c: I2C transfer timed out

查看 TRM、下面有一个 i2c 配置方框图、其操作在主模式下实现。 是否有从模式方框图?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、

    由于美国节假日、请预计回复会延迟、感谢您的耐心等待!

    谢谢、

    Neehar  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、

    我们没有任何使用从模式的 I2C 参考或示例。 此外、直到最近在适用于 TDA4器件的 SDK 10.1中、我们的器件才支持处于从模式的 I2C。

    TDA4 TRM 的下图可能会有所帮助:

    谢谢、

    Neehar