Low voltage Warning Interrupt and EEPROM, help needed.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Low voltage Warning Interrupt and EEPROM, help needed.

804 Views
senk
Contributor I

Sirs,

I am working with PT32 MCU and processor expert. I need to store a value in EEPROM when the power is going down. I am using Low voltage Warning Interrupt. and Unable to write to eeprom from the interrupt. But able to write the eeprom everywhere else in code. Things are fine while debugging, but not working in real time. Kindly help to resolve the issue.

 

Thanks and Regards,

Senthil Kumar.K

Labels (1)
0 Kudos
Reply
2 Replies

608 Views
vicentegomez
NXP TechSupport
NXP TechSupport

Hi

Please check if you can write to the EEPROM during other interrupt like a timer interrupt.

Also at what voltage are you setting the low voltage interrupt? if you are setting it at 2.7 volts please change it to an higher voltage.

I hope this will help you.

Regards

Vicente Gomez

608 Views
senk
Contributor I

Dear Sir,

Thank you very much for you reply.

I found that, the LVW is happening, also during the power up, which (erases the values stored during power down)stores the initialization value of the variable.

After controlling that the, things are working fine.

Sorry for the delayed reply...!

Thank you once again for your encouraging tips.

Regards,

Senthil Kumar.K

0 Kudos
Reply