ST意法半导体
直播中

张斌

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

LPS25H数据表中是否可以通过CTRL REG2禁用I2c接口?

你好。
我想知道是否可以通过CTRL REG2禁用I2c接口?

在数据表中的7.7似乎是可能的,但第3位的规格似乎很奇怪:
[3]I²C使能(0:I2C使能; 1:SPI禁止)

在数据表中是否正确?它不应该是:
[3]I²C使能(0:I2C使能; 1:I2C禁用)?

https://www.st.com/resource/en/datasheet/dm00066332.pdf

(我知道CS-signal用于使用SPI / I2c,但我想知道是否可以完全禁用I2c-part)

对于LSP25HB,它在数据表中看起来与此位不同....

最好的祝福
弗雷德里克

以上来自于谷歌翻译


以下为原文

Hi.
I wonder if it is possible to disable the I2c interface via CTRL REG2?

in 7.7 in the datasheet it seems to be possible, but specification for bit 3 seems strange:
[3] I²C enable (0: I2C enable;1: SPI disable)

Is above this correct in the datasheet? it shouldn't be:
[3] I²C enable (0: I2C enable;1: I2C disable) ?

https://www.st.com/resource/en/datasheet/dm00066332.pdf

(I know CS-signal is used to use SPI/I2c, but I want to know if it is possible to completely disable the I2c-part)

For LSP25HB it looks different in the datasheet for this bit....

Best Regards
Fredrik

回帖(2)

曾玲娟

2019-2-12 12:19:29
是的,这是拼写错误。
您可以通过设置CTRL_REG2寄存器中的位3来禁用I2C。

以上来自于谷歌翻译


以下为原文

Yes, it is typo error.
You can disable the I2C by setting the bit 3 in CTRL_REG2 register.
举报

张斌

2019-2-12 12:26:28
谢谢Miroslav!

以上来自于谷歌翻译


以下为原文

Thank you Miroslav!
举报

更多回帖

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