Hi,
Hi,
I'm using Q_100 eval board for the projects targeted for S32k310/11.
I'm able to enter/exit stand by mode both using RTI and pin WAKE UP. I SAY THAT BECAUSE OF THE CURRENT DROP IN RUN VS STANDBY MODE.
I also have a debug_printf custom made for my project.
ONCE I WAKE UP, THE DEBUGGER (P&E MULTI LINK) CRASHES BUT I COULD USE THE PRINTF TO REPORT THE MC_RGM_ DES/FES:
DEBUG_Printf(Print_buf,"the value is %X %X\r\n", IP_MC_RGM->DES,IP_MC_RGM->FES)
MC-RGM_DES IS 1 AND FES IS 0.
The value of 1 for MC-RGM_DES indicates POWER UP RESET where I was expecting to see 0.
I've also notice that this bit is used in startup code not to clear the RAM location for the RAM retention.
Lastly when I call Power_Ip_GetResetReason(); the device triggers a bus fault which is promoted to Hard Fault:
Clock_Ip_StatusType clockStatus;
/*Initialize the clocks*/
clockStatus=Clock_Ip_Init(&Clock_Ip_aClockConfig[0]);
#if 1
while (clockStatus != CLOCK_IP_SUCCESS)
{
clockStatus = Clock_Ip_Init(&Clock_Ip_aClockConfig[0]);
}
#endif
Power_Ip_Init(&Power_Ip_HwIPsConfigPB);
Power_Ip_GetResetReason();
This code is tightly base on the EXAMPLES PROVIDE BY NXP.
I'm impatiently waiting for your response.
Regards,
Koorosh Hajiani