Hi, We have tried SVS detection using AVCC and SVSIN pins. Once we detect a Power Failure the device start saving data into the MSP430 Flash.
Case 1: Using AVCC
Using AVCC pin for SVS was somewhat successful. This was tried out by keeping a RC circuit to generate a time constant delay on the 3.3 volt supply to DVCC. Using this circuit the DVCC pin receive 2.4 Volt due to resistor voltage drop across the RC circuit. This circuit works sometimes and sometimes it doesn't. This not a 100 % correct solution to our requirement.
Case 2 : Using SVS
Using SVSIN pin detects a below 1.25 volt. A Raw 9 Volt supply cut down to 1.8 Volt using a potential divider circuit was made. On power failure 1.8 Volt drops faster than 3.3V supply to DVCC and the device starts storing data in Flash but never finishes the operation. This causes 0xFF to be written to the .mydata Flash area. This causes all other stored parameters to be erased too.
If you could suggest a full proof circuit for SVS it would be great. Once power failure is detected the controller should remain on for a longer period of time for it to store data in the Flash. Hope to receive a reply soon. This is a urgent requirement from our side.
Regards Atul Bhakay