Raady Here
Full Member level 5
- Joined
- Jun 8, 2013
- Messages
- 242
- Helped
- 26
- Reputation
- 52
- Reaction score
- 26
- Trophy points
- 28
- Location
- India
- Activity points
- 1,571
Hi ,
I am trying to check what kind of reset is being done. Reference manual said "when voltage falls below certain thershold it triggers LVD interrupt".
So I programmed as it counts how many times it got reset and prints what kind of reset had happened ?(code below)
On press on external reset(MCLR) it should display what kind of reset had happened so far. ( In attachment).
1) My count for "LVD", increasing continuously until the voltage is raised back high above the threshold value, though I expect it to be raising once only.
2) I placed BOR to happen at 2.7v , i dropped voltage below , so it incremented once. and again on power on BOR incremented once .
But _LVDInterrupt shouldn't be raised on power on. What should I modify for that to happen or does it happen every time I power on.
3) When the current falls below the range, LVD triggers flag and even after clearing it is continuously resetting , and even switching off my LCD display until I press EXTR.
How can I modify ? Every thing is working fine with out LVDInterrupt .
Regards,
Raady.
I am trying to check what kind of reset is being done. Reference manual said "when voltage falls below certain thershold it triggers LVD interrupt".
So I programmed as it counts how many times it got reset and prints what kind of reset had happened ?(code below)
On press on external reset(MCLR) it should display what kind of reset had happened so far. ( In attachment).
1) My count for "LVD", increasing continuously until the voltage is raised back high above the threshold value, though I expect it to be raising once only.
2) I placed BOR to happen at 2.7v , i dropped voltage below , so it incremented once. and again on power on BOR incremented once .
But _LVDInterrupt shouldn't be raised on power on. What should I modify for that to happen or does it happen every time I power on.
3) When the current falls below the range, LVD triggers flag and even after clearing it is continuously resetting , and even switching off my LCD display until I press EXTR.
How can I modify ? Every thing is working fine with out LVDInterrupt .
Regards,
Raady.