I found the following regarding the SVS:
MSP430F471xx Demo - SVS, Toggle port 5.1 on Vcc < 2.8V
#include <msp430.h>
int i;
int main(void)
{
WDTCTL = WDTPW + WDTHOLD; // Stop watchdog timer
P5DIR |= BIT1; // P5.1 - Set as output
SVSCTL = VLD3; // SVS enabled @ 2.8V, no POR
while(1)
{
while(SVSCTL&SVSFG)
{
P5OUT ^= BIT1; // Toggle LED
for (i = 0; i < 0x4000; i++); // SW Delay
}
}
}
// MSP430x471xx Demo - SVS, POR @ 2.5V Vcc
#include <msp430.h>
int main(void)
{
WDTCTL = WDTPW + WDTHOLD; // Stop watchdog timer
P5DIR |= BIT1; // Set P1.0 to output direction
SVSCTL = 0x60 + PORON; // SVS POR enabled @ 2.5V
for (;;)
{
volatile unsigned int i;
i = 50000; // Delay
do (i--);
while (i != 0);
P5OUT ^= BIT1; // Toggle P1.0 using exclusive-OR
}
}
SOURCE:
http://www.ti.com/lsds/ti/microcontroller/16-bit_msp430/msp430_software_landing.page
But I need more sample codes regarding the SVS+ read/write flash memory.
Any idea or reference please?