Hello, supporters of NXP. I have configured a set of code using S32K312 based on LLD. Now I want to integrate the WKUP function, but I have encountered some problems. If I do not add the following code in the code:
Power_Ip_Init(&Power_Ip_HwIPsConfigPB);
Power_Ip_GetResetReason();
Power_Ip_SetMode(&Power_Ip_aModeConfigPB[0]);
the program will enter the standby mode, but after waking up, it will run abnormally. If I add the following code:
Power_Ip_Init(&Power_Ip_HwIPsConfigPB);
Power_Ip_GetResetReason();
Power_Ip_SetMode(&Power_Ip_aModeConfigPB[0]);
it will enter a hardware error when I call other peripheral interfaces such as ADC, PWM to obtain data.such as Adc_Sar_Ip_GetConvData,Emios_Icu_Ip_StartSignalMeasurement
If I do not call the peripheral interfaces, the program can normally enter the Standby mode and wake up. What is the reason for this? What is the direction for troubleshooting?I'm sorry that my code cannot be shared.I look forward to your reply.