Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

dsPIC30F5011 / MPLAB 8.8 / LVD Register doesnt release RESET

Status
Not open for further replies.

Raady Here

Full Member level 5
Full Member level 5
Joined
Jun 8, 2013
Messages
242
Helped
26
Reputation
52
Reaction score
26
Trophy points
28
Location
India
Visit site
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.


prtscr.jpg
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top