完善资料让更多小伙伴认识你,还能领取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? |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2906 浏览 1 评论
3290 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1868 浏览 1 评论
3724 浏览 6 评论
6132 浏览 21 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-3-9 08:50 , Processed in 0.629368 second(s), Total 79, Slave 63 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191