Other Parts Discussed in Thread: TMS570LS3137, HALCOGEN
I'm using microcontroller is TMS570LS3137.
I use HalCoGen generate code "void ccmSelfCheck(void)" in sys_selftest.c.
/* Configure CCM in self-test mode */
CCMKEYR = 0x6U;
/* Wait for CCM self-test to complete */
/*SAFETYMCUSW 28 D MR:NA <APPROVED> "Hardware status bit read check" */
while ((CCMSR & 0x100U) != 0x100U)
{
}/* Wait */
Above the code not out of the loop "while ((CCMSR & 0x100U) != 0x100U)" even wait about 5 minutes.
Do you know why? I want to know how to out of loop.