谢谢ricky,还有一个问题。
如果我使用一个器件作为SPI,那么另一个器件应该是I2C。
由于SCL和SDA信号与SPI和I2C共用,我担心I2C器件有可能被激活。
(LSM9DS0具有I2C从器件功能,从器件的事务通过START信号启动.I2C的START条件定义为SDA从高电平到低电平的转换,而SCL保持高电平.START信号从主器件发送到从器件。)
如果SPI和I2C同时处于活动状态,哪个接口占主导地位?
而且,如何解决这个问题?
我应该通过控制SCLK和SDI的阶段来避免冲突吗?
以上来自于谷歌翻译
以下为原文
Thanks ricky and there is one more question.
If I use one device as SPI, then the other device should be I2C.
Because the SCL and SDA signal share with the SPI and I2C, I concern about that the I2C device has a possibility of activation.
(LSM9DS0 has I2C slave functionality and the transaction of slave is started through a START signal. The START condition of I2C is defined as a HIGH to LOW transition on SDA while the SCL is held HIGH. The START signal transmitted from master to slave.)
If the SPI and I2C are active on the same time, Which Interface is dominant?
And, How to solve this problem?
Should I avoid the confliction by controlling the SCLK and SDI's phase?
谢谢ricky,还有一个问题。
如果我使用一个器件作为SPI,那么另一个器件应该是I2C。
由于SCL和SDA信号与SPI和I2C共用,我担心I2C器件有可能被激活。
(LSM9DS0具有I2C从器件功能,从器件的事务通过START信号启动.I2C的START条件定义为SDA从高电平到低电平的转换,而SCL保持高电平.START信号从主器件发送到从器件。)
如果SPI和I2C同时处于活动状态,哪个接口占主导地位?
而且,如何解决这个问题?
我应该通过控制SCLK和SDI的阶段来避免冲突吗?
以上来自于谷歌翻译
以下为原文
Thanks ricky and there is one more question.
If I use one device as SPI, then the other device should be I2C.
Because the SCL and SDA signal share with the SPI and I2C, I concern about that the I2C device has a possibility of activation.
(LSM9DS0 has I2C slave functionality and the transaction of slave is started through a START signal. The START condition of I2C is defined as a HIGH to LOW transition on SDA while the SCL is held HIGH. The START signal transmitted from master to slave.)
If the SPI and I2C are active on the same time, Which Interface is dominant?
And, How to solve this problem?
Should I avoid the confliction by controlling the SCLK and SDI's phase?
举报