ST意法半导体
直播中

何秀珍

7年用户 208经验值
私信 关注
[问答]

CS43L22和LSM303DLHC是否可以重新配置其中一个设备以使用I2C3?

我想配置CS43L22音频DAC和LSM303DLHC MEMS加速度计同时使用。从我在文档中看到的情况来看,似乎这两个设备都连接到I2C1。


是否可以重新配置其中一个设备以使用I2C3?

或者可能在发送控制信息后断开I2C1与音频DAC的连接,以便来自加速度计的信息不会干扰音频信号?

谢谢

STM32F4-CS43L22-lsm303dlhc

以上来自于谷歌翻译


以下为原文




I would like to configure both the CS43L22 Audio DAC and the LSM303DLHC MEMS accelerometer to be used simultaneously. From what I have seen on the documentation, it seems that both of these devices are connected to I2C1.


Is it possible to reconfigure one of these devices to use I2C3?

Or maybe to disconnect I2C1 from the Audio DAC after the control information is sent, so that the information from the accelerometer doesn't interfere with the audio signal?

Thanks
Joe  
#stm32f4-cs43l22-lsm303dlhc

回帖(1)

张鑫

2018-9-28 17:05:37
托德你好,
 
 通常情况下,I2C1上的两个器件都没有问题,并且它们之间没有干扰,但是,如果有可用的引脚来提供其他I2C端口,则可以轻松地将任一器件移动到单个端口(即I2C2)。
 
 请让我知道这可不可以帮你,
 
 蒂亚戈雷斯

以上来自于谷歌翻译


以下为原文







Hello Todd,

Normally there should be no problems with having both devices on I2C1, and no interference between them, but, if you have available pins to reffer to other I2C ports, you can easily move either device to an individual port (I2C2 i.e.).

Please let me know if this helps,

Thiago Reis
举报

更多回帖

发帖
×
20
完善资料,
赚取积分