Part Number: MSP430FR5969
Tool/software: Code Composer Studio
Hello,
I am trying to disable power supply for FRAM, Below is my code. In that code the FRLPMPWR is setting or resetting but when I reset the FRPWR it is not getting 0. Also I would like to know if I turn off the FRAM power supply, the data in FRAM will retain or it will clear.
I am using array variables in FRAM.
#pragma NOINIT(array1)
int array1[50];
void FRAM_ctrl()
{
FRCTL0_H = FRCTLPW >> 8;// ;0xA5
//FRCTL0 |= NWAITS_0;
GCCTL0 &= ~(FRPWR | FRLPMPWR);
GCCTL1 &= ~ACCTEIFG;
FRCTL0_H = 0;
}
The FRPWR is not reset it is always showing as 1.
Kindly help me in this regard.
Thanks & Regards,
Murali.M