Hi Leo,
1. What is the frequency of HSE_CLK? If it is configured to 120MHz, try to decrease it to 60MHz.
https://community.nxp.com/t5/S32K/HSE-provides-RSP-NOT-SUPPORTED-response/m-p/1712323/highlight/true...
2. Try to disable data cache memory. All the data objects used for communication with HSE must be forced to non-cacheable memory.
3. The S32K3 reference manual says:
"Before configuring HSE_CLK, you must wait for the SBAF to enter WFI by reading core status register of HSE CPU (PRTN0_CORE2_STAT)."
So, it’s necessary to wait for WFI bit before running clock initialization.
I found out that current RTD drivers do not check WFI bit. This was a few months time ago and I can see that this should be included in the drivers in RTD version 5.0.0 and higher.
4. What is the content of HSE GPR register at 0x4039_C028? What is the content of FSR and GSR registers in MU_0?
Regards,
Lukas