完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨,Gents,我面临着一个问题,我的板装有PIC18F24J50,PIC似乎被“某事”切断了,我正在调查MCLR信号灯芯只是通过电阻VDD被拉上,我没有电容器,所以可能有些扰动可以重置PIC。C18扩展微控制器设备在MCLR复位路径上有一个噪声滤波器,它检测和忽略小脉冲。有人能告诉我我能找到关于可以忽略的脉冲大小的信息吗?如果你有任何想法,这个重置会来吗?知道我的电源是安静稳定的,不会产生低电压下降?艾森布鲁诺
以上来自于百度翻译 以下为原文 Hi Gents, I'm facing an issue with my board equiped with a PIC18F24J50, the PIC seems to be switched OFF by ''something'', I'm investigating the MCLR signal wich is only pulled up trough a resistor to VDD, I've no capacitor, so maybe some perturbation can reset the PIC. On the datasheet i can read "PIC18 extended microcontroller devices have a noise filter in the MCLR Reset path, which detects and ignores small pulses." Does anyone can tell were I can find the info about the size of the pulses that can be ignored? also if you have any idea from were this reset could come? knowing that my power supply is quiet stable and does not generate low voltage drops? Thanks Bruno |
|
相关推荐
5个回答
|
|
|
|
|
|
在这些重置事件之一之后,您是否显示/记录了“RCON”寄存器的值?
以上来自于百度翻译 以下为原文 Have you displayed/logged the value of the "RCON" register after one of these reset events ? |
|
|
|
嗨,Gents,我无法做记录,PIC正在驱动电源,当PIC重新启动时,电源被切断,然后PIC断电,所以寄存器的值被重置。我可以强制电源保持开启,但是在这种情况下,我看不出PIC何时重置,知道了G这个重置的主要问题是电源故障。
以上来自于百度翻译 以下为原文 HI Gents, I'm unable to do a record, the PIC is driving a power supply, when the PIC restart, the power supply is switched OFF then the PIC is unpowered, so the values of the registers are reseted. I could force the power supply to stay ON, but in this case I can't see when the PIC do a reset, knowing that the major issue of this reset is the power supply failure. |
|
|
|
建议:“强制”电源保持开启,在代码开头添加一个小功能来检查RCON寄存器,并驱动一些LED显示复位原因,如果有什么原因导致复位,这些应该改变。
以上来自于百度翻译 以下为原文 Suggestion: "force" the power supply to stay ON, add a small function in the beginning of your code to check the RCON register and drive some LEDS to display the reset cause, these should change if anything causes a reset. |
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
5244 浏览 9 评论
2035 浏览 8 评论
1955 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3209 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2260 浏览 5 评论
779浏览 1评论
672浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
598浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
682浏览 0评论
579浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-25 11:57 , Processed in 1.614967 second(s), Total 86, Slave 70 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号