I'm working with the S32K344 in S32DS and trying to test the BIST functionality. I want to simulate a failure to observe how the system reacts, but I’m not sure how to get BIST to actually fail.
So far, I’ve tried changing the LBIST clock frequency in the clock configuration, but I still get Bist_GetExecStatus as BIST_OK.
Is there a recommended way to force a BIST failure for testing purposes?
I am using the example code from the demo for my testing:
We cannot inject a fault into MBIST itself to make it report a failure. MBIST is a hardware self-test mechanism built into the silicon. It runs a deterministic test pattern to detect structural faults.
Just to confirm, if I intentionally misconfigure the watchdog, and it triggers during BIST execution, does that mean BIST is considered incomplete, or the system just resets before BIST can finish?
Also, is the watchdog timer mentioned in the manual referring to BIST_STCU_SAF_WDG_VAL? If that expires, would the reset reason be something other than MCU_ST_DONE_RESET?
As I mentioned earlier, I’m using the demo example provided with the SAF module. In that context, would you recommend modifying the reset check from just MCU_ST_DONE_RESET to account for other reset types?