Part Number: MSP430FR6043
Tool/software:
Hello,
I have a failsafe mechanism in my code. If there is a failure, I perform a software reset using the code below.
void softwareReset(void)
{
uint16_t delay_loop_inc=0;
for (delay_loop_inc; delay_loop_inc < 1000; delay_loop_inc++);//// adding a delay before reset action;
__disable_interrupt(); // Disable all interrupts
// Force a Software BOR
PMMCTL0 = PMMPW | PMMSWBOR;
while (1);
}
However, after the reset, my code gets stuck in the reference generator (REF_A) module initialization, especially in the while loop. As a result, the entire hardware stops responding after reaching this state.

How to resolve this.
Regards,
Sarwath