完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
嗨,我正在使用带有STM32F205的HTS221。通信通道是SPI。我发现当我重新启动处理器而没有重启电源时,一旦处理器重新启动并运行,它就无法写入任何HTS221的控制寄存器,因此我无法将其置于活动模式。我在~1MHz运行SPI总线。
任何建议/想法将不胜感激! 谢谢, 道格 #hts221 以上来自于谷歌翻译 以下为原文 Hi, I'm using the HTS221 with an STM32F205. The communication channel is SPI. I'm finding that when I reboot my processor without cycling power, once the processor is back up and running it is unable to write to any of the HTS221's control registers so I am unable to put it in active mode. I am running the SPI bus at ~1MHz. Any advice/ideas would be greatly appreciated! Thanks, Doug #hts221 |
|
相关推荐
1个回答
|
|
|
你好道格,
从你提供的信息中,我唯一能想到的是这个原因 您描述的行为是重新启动落在SPI tran的中间 saction,让事务挂起,传感器接口状态机wai 完成之前开始的交易。 一般来说,我建议每次都采取措施重置传感器 你重新启动micro。如果您在传感器复位后仍然遇到同样的问题让我 知道。 问候, 阿达尔韦托 以上来自于谷歌翻译 以下为原文 Hello Doug, from the information you provided, the only thing I can think of as a cause of the behavior that you describe is the reboot falling right in the middle of an SPI tran saction, leaving the transaction pending and the sensor interface state machine wai ting for completion of the previously started transaction. In general what I would recommend to take actions to reset the sensor every time you reboot the micro. If you stilll have the same problem after sensor reset let me know. Regards, Adalberto |
|
|
|
|
只有小组成员才能发言,加入小组>>
stm32mp157的异核通信的rpmsg_sdb的m4固件和a7驱动该如何编写?
1453 浏览 0 评论
stm32f103用freertos对一个采样率为1kHz的传感器,进行采样,数据出差
1502 浏览 0 评论
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
3649 浏览 1 评论
3842 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
2461 浏览 1 评论
STM32H7打开DCache后,出现了串口接收信息为空的现象,是哪里出了问题?
727浏览 5评论
用NANO STM32F103RBT6的开发板烧录不了是哪里出了问题?
661浏览 5评论
710浏览 5评论
外部中断触发类型为双边沿触发,进入中断回调后有什么办法判断该边沿是上升沿还是下降沿?
941浏览 5评论
STM32L071CBT6低温环境下无法正常工作是什么原因引起的?
745浏览 5评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 00:43 , Processed in 0.690663 second(s), Total 72, Slave 55 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
2486