LVI project

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

cross mob
lock attach
Attachments are accessible only for community members.
AlVa_264671
Level 5
Level 5
25 sign-ins First like given First like received

Hi everyone and again I hope some of you can help me with that:

   

I am trying to save some variables  when  Vdda  and /or Vddd  drop down 2.95 V.

   

I have tried to adapt  the example  "D"  on  AN 54460  for Low voltage interrupt.

   

I have created a small project to test the LVI feature.

   

To verify that the ISR is working  I have set the variable "Led_On" inside the ISR.

   

Later in the main loop,  when Vddd  or Vdda drop below  the threshold,  I should see  the  led connected to  the Pin 1(2)  turn on a some fraction of second .

   

That  not happen,  I do not know  what is missing.

   

 

   

Thank you very much for any help.

0 Likes
4 Replies
AlVa_264671
Level 5
Level 5
25 sign-ins First like given First like received

Sorry about that, I forgot  attach leds  to the pins. Please see atached pdf.

   

Thank you.

0 Likes
AlVa_264671
Level 5
Level 5
25 sign-ins First like given First like received
0 Likes
Anonymous
Not applicable

Hi Alex,

   

Files didn't get successfully attached. Can you attach again please ?

   

Below are the registers you need to write to generate LVI interrupts. 

   

We discussed in this thread, is it related to the same. 

   

http://www.cypress.com/forum/psoc-3-device-programming/lvia-and-lvid-programmed-interrupt-source-ins...

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

Did you -

   

 

   

1) Placed Global Signal Component and choose the LVI configuration ?

   

   

2) Start the attached isr to the Global Signal component

   

3) Enable global interrupts with     CyGlobalIntEnable; /* Enable global interrupts. */

   

4) Written your C interupt and started it correctly -

   

 

   

http://www.cypress.com/documentation/application-notes/an54460-psoc-3-and-psoc-5lp-interrupts     AN54460 - PSoC® 3, PSoC 4, and PSoC 5LP Interrupts

   

 

   

Regards, Dana.

0 Likes