Tool/software: Code Composer Studio
Hi good Morning all,
My working environment as follows;
Processor: TM4C129ENCPDT
IDE: CCS
I am facing one issue with my custom design board. My application is to store different parameters(like counter values, date time etc) to internal EEPROM memory of the microcontroller whenever a power failure is detected and retain the data when power gets up.Currently I am successfully able to detect power failure and store small amount of data into internal EEPROM.
But whenever I try to store more amount of data to EEPROM the success rate is very less and I am not able to perform any operations based on that values.
I tried the following things to solve my issue:
1. Added more power supply capacitors to get more backup time
- This made a slight variation in success rate.
2. Added an external online battery backup mechanism so that I will get around 10 minuts of time after main supply gets OFF.
- This solves the issue temporarily. But this requires an external circuitry and it is not recommended by customers also.
When I observed my circuit, I found the following observations,
1. when I switch off the power supply, if I check the "Reset pin" of the micro controller it is immediately changing from 3.3v to 0v even after I added more power supply capacitors to it.
So is this related to any software setting like BOR ? if yes could you please tell me where can I set this BOR parameters?
PS: I searched regarding this issue in the forum and I got some threads discussing about similar situations and all are suggesting like to take any external memory like FRAM to do this operation. But in my case, I cannot do any major modifications within the existing circuitry.
Expecting your valuable suggestions.
Thanks and Regards,
Renil Raju