ST意法半导体
直播中

徐静

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

LIS2DH12的威廉希尔官方网站 设计CS是否应该连接到Vdd

我正在使用LIS2DH12设计威廉希尔官方网站 。我想使用I2c,所以我将Cs连接到高电平,SA0连接到GND。我不确定CS是否应该连接到Vdd或Vdd_IO。据我了解,Cs应该连接到Vdd_IO。但我不确定,所以我问这个问题,我需要帮助。

以上来自于谷歌翻译


以下为原文

I am designing circuit using LIS2DH12. I want to use the I2c, so I connect Cs to high level, and SA0 to GND. I am not sure if CS should be connected to Vdd, or Vdd_IO. As I understand it, Cs should be connected to Vdd_IO. But I am not sure, so I ask this question, and I need help.

回帖(1)

袁伟

2018-11-22 10:49:22
通常所有数字引脚都连接到VDDIO,内部模拟前端部分使用VDD。
如果需要测试芯片组,请确保在VDDIO上有外部上拉电阻。
你需要简单的测试,使用
https://community.st.com/0D50X00009XkW1mSAF
 第一个测试是正确检查从机地址确认。
然后测试读回WHO_AM_I寄存器
并记得读或写多个字节,必须设置子地址位7 ...
祝你好运!
 
 注意:原始帖子包含大量线程对话,只能迁移到第9级

以上来自于谷歌翻译


以下为原文




Usually all digital pins are going to VDDIO and the internal analog front end portion uses the VDD.
If you need to test the chipset, make sure you have external pull-up resistors on VDDIO.
Shall you need simple test, use
https://community.st.com/0D50X00009XkW1mSAF
First test is to check the Slave address acknowledge properly.
Then test reading back the WHO_AM_I register
And remember to read or write multiple bytes, the sub address bit 7 must be set...
Good luck!

Note: the original post contained a large number of threaded conversations and was only able to be migrated to the 9th level
举报

更多回帖

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