完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
大家好,
我们用i2c来加速这个配置: *分开VDD和VDDIO(这个连接到CS)。 * SDA和SCL安装有10K的外部上拉电阻。 * SDO / SA0未连接(应该有内部上拉)。 是否有任何上电顺序以确保正确配置/选择i2c模式? VDD和VDDIO之间的任何延迟? 将两条线路上电至3V,VDDIO不是3V,其电压为1.9V或类似。如果我们将CS与VDDIO断开连接。在CS中,我们得到一个'0'和VDDIO 3V。这是正常的吗?并且内部上拉电阻不会将引脚提升到高电平? 有没有关于如何连接accel进行i2c通信的示例?任何关于加电的主题演讲? 附着的是安装的传感器的图像,标记是点,数据矩阵和'T'。 在此先感谢您的帮助。 #lis2dw12#i2c 以上来自于谷歌翻译 以下为原文 Hi to all, We are usin this accel over i2c with this configuration: * Separate VDD and VDDIO (this one is attached to CS). * SDA and SCL are mounted with a external pull up resistor of 10K. * SDO/SA0 is left unconnected (it is supposed to have an internall pull up). Is there any power up sequence to ensure the i2c mode is properly configured/selected? Any delay between VDD and VDDIO? Powering up both lines to 3V, the VDDIO is not 3V, its in 1.9V or similar. If we disconnect CS from VDDIO. In CS we get a '0' and in VDDIO 3V. Is this normal? And the internall pull up resistor does not lift the pin to high? Is there any example of how to connect the accel for i2c communications? any keynote for the power up? Attached is an image of the mounted sensor were the marking is a dot, a datamatrix and a 'T'. Thanks in advance for your help. #lis2dw12 #i2c |
|
相关推荐
7个回答
|
|
|
|
|
|
CS引脚的行为不正常
你能否检查CS引脚是否与GND短路?在我看来它是。 您可以同时为VDD和VDDIO供电。 以上来自于谷歌翻译 以下为原文 The behavior of CS pin is not normal Can you please check that the CS pin is not shorted with GND? It seems to me it is. You can power up both VDD and VDDIO at the same time. |
|
|
|
CS引脚和GND没有短路。
当使用10k电阻将CS连接到VIDEO时,捕获的振动图像是附加的。 粉红色:SDA 蓝色:CS 绿色:SCL 以上来自于谷歌翻译 以下为原文 CS pin and GND are not shorted. When using a 10k resistor to conect CS to VDDIO the captured oscilo image is the attached one. pink: SDA blue: CS green: SCL |
|
|
|
您能否分享您的原理图或自行检查数据表中的原理图,布局和引脚分布。
CS引脚是输入,它不应该破坏信号,因为它在图片中从示波器中描述。 以上来自于谷歌翻译 以下为原文 Can you please share your schematic or check by yourself the schematic, layout, and pinout in datasheet. The CS pin is input it should not destroy the signal as it is depicted in your picture from scope. |
|
|
|
这是accel的sch部分。
SCL和SDA线路有一个外部10k上拉电阻到i2c_pwr。 VDD和VDD_IO是3V电压。 如果有任何错误或有任何需要测试或考虑的事情,请告诉我们。谢谢! 以上来自于谷歌翻译 以下为原文 Here is the sch part for the accel. SCL and SDA lines have an external 10k pull up resistor to i2c_pwr. VDD and VDD_IO are 3V voltages. If there is anything wrong or there is something to test or take into account let us know. thanks! |
|
|
|
原理图是没问题的,但是我把你的原理图,电路板的图像和数据表中的引脚编译好了,我发现它们没有对齐。
我在你的图片中添加了引脚说明,我看到例如CS和SDO引脚连接到你的中断电路。所以大多数引脚都有错误的连接。 您能否仔细检查您的传感器占地面积和电路板布局? 以上来自于谷歌翻译 以下为原文 The schematics is OK, but I compered your schematic, the image of your board and pin out in datasheet, I see they are not aligned. I added the pin description in your picture and I see for example the CS and SDO pins are connect to your interrupt circuit. So most of the pins have wrong connection. Can you please double check your sensor footprint and layout of the boards? |
|
|
|
你是对的,数据表指出从底部看到的引脚排列,我们没有意识到它。
我们已经将组件翻转并正确安装,以检查传感器是否工作正常。 谢谢你的帮助! 以上来自于谷歌翻译 以下为原文 You are right, the datasheet specifies the pinout seen from the bottom and we didnt realize it. We have flipped the component and mounted it properly to check that with right connection the sensor works. Thanks for your help! |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2719 浏览 1 评论
3236 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1807 浏览 1 评论
3645 浏览 6 评论
6033 浏览 21 评论
1334浏览 4评论
208浏览 3评论
196浏览 3评论
对H747I-DISCO写程序时将CN2的st-link复用为usart1,再次烧录时无法检测到stlink怎么解决?
350浏览 2评论
STM32G474RE芯片只是串口发个数据就发烫严重是怎么回事?
441浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-20 14:31 , Processed in 1.004717 second(s), Total 59, Slave 53 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号