Hello,
I am encountering a hard fault when using the predefined structure Power_Ip_aModeConfigPB[1] (declared in Power_Ip_PBcfg.c) to enter standby mode with the Power_Ip_SetMode() function. However, when I copy the structure and assign it a different name, Power_Ip_aModeConfigPB_1[0], it works as expected.
I am using the S32K324 controller for this setup.
Screenshots of the original structure

Screenshots of the modified structure

Screenshots of the function call

Could anyone help me understand why this is happening and how I can resolve this issue?
Thank you in advance!