Hello everyone !
I’m using the MR-CANHUBK344 board to develop a VCU solution and I’m finding problems with the BIST self-test, I’m using RTD 4.0.0 and SPD 1.0.5 as recommended , and I’m using the NXP SPD_Demo example as support.
When I initialize the board and read the reset reason, I can read the flag value in Mcu_GetResetReason() == MCU_POWER_ON_RESET, then I call Bist_Run(BIST_SAFETYBOOT_CFG); and the micro reset again, and the expected behavior is the flag now marking Mcu_GetResetReason() == MCU_ST_DONE_RESET, but returns as MCU_POWER_ON_RESET, then calls the Bist_Run again , according to the example of nxp the flow is this:
if (MCU_POWER_ON_RESET == resetReason)
{
#if (BIST_MODULE_ENABLED == 1U)
Bist_Run(BIST_SAFETYBOOT_CFG);
}
else if(MCU_ST_DONE_RESET == resetReason)
{
bistStatus = Bist_GetExecStatus(BIST_SAFETYBOOT_CFG);
....... etc
}
I don’t know if I need to set up something else in the RTD, SPD or MCAL, or do something on some interruption that I’m not looking at.
Following print of what I enabled in the RTD and the SPD:


Thank you!