LVD :low voltage detect

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable
        how to enable the LVD interruput?and how to revise the LVD ISR   
0 Likes
3 Replies
pushekm_21
Employee
Employee
10 likes received 5 likes given First like received
        For enabling the LVD interrupts you have to set the LVD level either from the device editor or from VLT_CR register. For enabling the interrupt you have to set the LSB of INT_MSK0 register. This bit is responsible for enabling the interrupts for LVD.   
   
For revising the LVD ISR, you have to place a jump or a call instruction to the self defined ISR placed in assembly or C language. For placing the LJMP or CALL instruction you should modify the boot.tpl. Modifying the contents in boot.tpl will preserve the contents even when the project code is regenerated.   
Anonymous
Not applicable

 This is great!  Thank you for your answer.  It was just what I was looking for.

   

I have a battery operated application.  I plan on using the LVD to flag weak or dead batteries.

   

 

   

Best Regards,

   

 

   

Bill Grimm

   

Avorex Design

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

This might be useful as well, also has LVD info -

   

 

   

www.cypress.com/    AN32200

   

 

   

Regards, Dana.

0 Likes