完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
HI,按数据表(PIC24FJ256GB110)BOR和LVD可以通过启用内部电压调节器来实现。我想知道当Bor旗被设置时有两件事吗?在数据表中说“BORE是在ABORUN OUT重置发生时设置的。注意BOR也是在上电复位之后设置的。如果是这样,那么如何区分发生了哪些重置,另一个是如何实现LVD以防止进入跟踪模式。
以上来自于百度翻译 以下为原文 Hi, As per datasheet(PIC24FJ256GB110) BOR & LVD can be enable by enabling the internal voltage regulator. I want to know two things one is when BOR flag is set? it is said in datasheet that "BOR is set when a Brown-out Reset has occurred. Note that BOR is also set after a Power-on Reset". if this is so then how to differentiate which reset has occurred and another is how to implement LVD to prevent going into tracking mode. |
|
相关推荐
1个回答
|
|
复位后清除BOR位。在下一次重置之后,您将能够区分复位的原因:是电源问题还是复位指令或MCLR逻辑低的软件/硬件复位。BOR电路本身确保PIC不会在电源电压低的情况下工作(如果配置正确,取决于芯片)。HLVD则是另一回事。它允许通知固件关于电源电压阈值达到AM中断。它不会重置UC,它只会调用ISR。使用HLVD,设计者可以将电路置于休眠模式,并且在缺电期间节省功率,然后当电源正常时自动恢复操作。HLVD是相当低的功率,但静止。足够精确的事情在睡眠模式下工作,并观察正常的功率恢复。BOR和HLVD都能为复杂和受限的供电能力建立相当低的功率和灵活的电路。
以上来自于百度翻译 以下为原文 Clear BOR bit after reset. After the next reset you will be able to distinguish the cause of reset: was it the power supply problem or it was software/hardware reset by RESET instruction or MCLR logic low. The BOR circuit itself ensures the PIC will not operate out of supply voltage low specification (if configured properly, depends on the chip). HLVD is a different thing. It allows to inform the firmware about supply voltage threshold reaching by am interruption. It will not reset uC, it just will call an ISR. Using the HLVD a designer can put the circuit in sleep mode and save the power during a lack then restore the operation automatically when the power become normal. HLVD is rather low power but still.precise enough thing to work during the sleep mode and watch for normal power restoration. Both BOR and HLVD allows to build quite low power and flexible circuit for complex and constrained power supply abilities. |
|
|
|
只有小组成员才能发言,加入小组>>
5161 浏览 9 评论
1999 浏览 8 评论
1928 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3171 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2226 浏览 5 评论
731浏览 1评论
613浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
503浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
629浏览 0评论
527浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-22 19:17 , Processed in 1.232214 second(s), Total 79, Slave 62 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号