S32K344 Sampleprojects run into a hardware fault

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S32K344 Sampleprojects run into a hardware fault

1,422 次查看
JoDo
Contributor III

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!

0 项奖励
回复
4 回复数

1,352 次查看
st_ra
Contributor II

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..

0 项奖励
回复

1,391 次查看
kranthi
Contributor I

Hi, 

For me also getting same issue for I2C, CAN and UART example programs. It is going to HardFault_Handler. Did anyone know the issue?

Thank you

Kranthi

 

0 项奖励
回复

1,403 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

 

it is some particular example or all of them? I got some issue with ADC example - the example ends in exception. But other examples works okay. 

 

Jiri 

0 项奖励
回复

1,362 次查看
JoDo
Contributor III

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.

0 项奖励
回复