Hello,
I am working with a S32K344 controller and a S32K3x4EVB_Q257 Evalboard. When I load a compiled sample project from the S32K3 RTD package, the controller runs into a hardware error. When I load the same project into RAM, everything is fine.
I did some debugging and there seems to be a problem with the clock tree, specifically the PLL configuration. However, the Clock_Ip_DistributePll() function in the Clock_ip.c file is causing the hardware error (but not in RAM debugging mode).
I used a new workspace and several sample projects from the S32K3 RTD package (v1.0. Code Drop 01).
Does anyone have any idea what can cause this behavior?
thanks!
Hi, I have similar problem.. Not example but my project also using Clock_Ip and first time with Debug Flash everything works fine. Second time I get bus and hard fault. I have to reset board than and again it will work once than hard fault..
Hello,
as @kranthi wrote, I have the same exception in several examples e.g. in UART "LpuartFlexio_Uart_Ip_Example_S32K344". But the Hard Fault Exception only occurs when the project is loaded into the FLASH. Loading the same project into RAM does not generate an exception.