The S32K144 is configured to 80MHz in RUN mode and initializes the I/O port into the Hard Fault

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

The S32K144 is configured to 80MHz in RUN mode and initializes the I/O port into the Hard Fault

跳至解决方案
902 次查看
JingchunChen
Contributor I

Hi,

 IN S32 Design Studio for S32 Platform 3.4 ,SDK is S32 SDK RTM 4.0.2 for S32K144:M4F;

RUN MODE 80MHzRUN MODE 80MHzExample Initializing the I/O portExample Initializing the I/O port屏幕截图 2023-04-14 100831.png屏幕截图 2023-04-14 101907.png

What's the problem, please

 

0 项奖励
1 解答
874 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@JingchunChen

I have reproduced your problem, please try to install S32SDK_S32K1xx_RTM_4.0.3,I have tested this version without such problems.

在原帖中查看解决方案

0 项奖励
5 回复数
754 次查看
JingchunChen
Contributor I

原因是在4.0.2版本在时钟配置HRUN模式时有错误,但在RUN模式下生成代码没有错误或警告提示,导致编译完成发生错误。将HRUN模式错误消除就可以了。

0 项奖励
891 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@JingchunChen

Can you provide your project, I will help you check it.

0 项奖励
885 次查看
JingchunChen
Contributor I

Thank you very much!

0 项奖励
875 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@JingchunChen

I have reproduced your problem, please try to install S32SDK_S32K1xx_RTM_4.0.3,I have tested this version without such problems.

0 项奖励
284 次查看
zmikeska
Contributor I

I am facing the same issues with SDK ending in "DefaultISR error". I am using S32K144 48pins and S32 DS for 32 platform. Actual SDK is 4.0.1. No SDK 4.0.3 is existing. I have not found any solution of this problem anywhere. Btw. even the example project is not running correctly.

0 项奖励