完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我已成功使用STM8S105几个月了,最近,我遇到了UART2的i / o问题。当我最终探测NRST引脚时,我注意到该引脚上有一个锯齿波形,没有其他电路连接到NRST引脚。
有没有人见过这个和/或知道是什么导致这个?我想知道MCU是否正在执行坏代码并导致它重置 - 但为什么是锯齿?!没有启用看门狗。 以上来自于谷歌翻译 以下为原文 I have been using a STM8S105 successfully for a few months and recently, I have been experiencing problems with i/o on UART2. When I eventually probed the NRST pin I noticed that there is a sawtooth waveform on that pin, with no other circuit connected to the NRST pin. Has anyone seen this before and/or has an idea what is causing this? I am wondering if the MCU is executing bad code and which is causing it to reset - but why a sawtooth?! No watchdog is enabled. |
|
相关推荐
2个回答
|
|
也许是非法的操作码?
你可以在中断处理程序中放一会儿(1) 以上来自于谷歌翻译 以下为原文 Maybe an illegal opcode? You can put a while (1) in the interrupt handler |
|
|
|
如果向NRST电路添加积极的上拉电阻,波形是否会改变?
以上来自于谷歌翻译 以下为原文 Does the waveform change if an aggressive pull-up is added to NRST circuit? |
|
|
|
只有小组成员才能发言,加入小组>>
在Linux上安装Atollic TRUEStudio的步骤有哪些呢?
63浏览 3评论使用DMA激活某些外设会以导致外设无法工作的方式生成代码是怎么回事
56浏览 3评论小黑屋| 手机版| Archiver| 电子发烧友 ( 粤ICP备14022951号 )
GMT+8, 2023-7-4 22:10 , Processed in 0.772716 second(s), Total 83, Slave 64 queries .
Powered by 电子发烧友网
© 2015 www.ws-dc.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 深圳华秋电子有限公司
电子发烧友 (电路图) 粤公网安备 44030402000349 号 电信与信息服务业务经营许可证:粤 B2-20160233 工商网监 粤ICP备 14022951 号