Hi,
I am trying to execute the Compare Selfcheck on TI RM48L952 with the following parameters.
// Make sure that the CPU self-test controller can actually detect a fault inside CPU stcSelfTestConfig.stcClockDiv = 2; // STC Clock divider = 2 stcSelfTestConfig.intervalCount = 1; // One interval only stcSelfTestConfig.restartInterval0 = TRUE; // Start from interval 0 stcSelfTestConfig.timeoutCounter = 0xFFFFFFFFU; // Timeout counter //_SL_HoldNClear_nError(); // Wait, reset the nError pin and ensure it properly goes to 1 SL_SelfTest_STC(STC_COMPARE_SELFCHECK, true, &stcSelfTestConfig); // STC Self check diagnostic then reset.
When the mcu reboots, the result is always sl_stcREG->STCGSTAT == 0x00000003U. (DONE and FAIL bits are set)
Any idea why?
Thanks