Part Number: TMS570LS1227
Hello! I was checking the _c_int00 function generated by HCG. I noticed that the MCU might go inside infinite loops like these:
if(_errata_SSWF021_45_both_plls(PLL_RETRIES) != 0U)
{
handlePLLLockFail();//Infinite wait inside
}if ((esmREG->SR1[2]) != 0U)
{
for(;;)
{
}
}if( pbistIsTestPassed() != TRUE)
{
pbistFail();//Infinite wait inside
}
When MCU goes inside the infinite loop, I need to notify the user, maybe by pulling down the nError pin. How can I do this? esmInit() is called after all the infinite loops in the _c_int00 so does it work if I change the esm config? Or can I pull down the nError pin programatically?