S32K312 flexcan example not running on Power reset

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

S32K312 flexcan example not running on Power reset

跳至解决方案
1,465 次查看
Adrish
Contributor II

We want to send CAN messages periodically. I am using the FlexCAN example for RTD 3.0.0. Additionally, i have configured a PIT timer so that I call the Flexcan_send periodically.

The code is building and running fine, but when I do a power reset on the board, the messages only come for a few seconds and then the code gets hanged.

I am using the S32K312 board with RTD 3.0.0.

Need support. 

Attaching the example code for reference. 

1 解答
1,385 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

just set divider to /2

PetrS_0-1707295917588.png

BR, Petr

在原帖中查看解决方案

6 回复数
1,432 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

setting HSE_clk to 60MHz would work.

PetrS_0-1707226501034.png

BR, Petr

1,403 次查看
Adrish
Contributor II

Hi @PetrS 

Can you please explain how to set this clock at 60 MHz. At present I see it set at 120 MHz. 

I tried to change the frequency using the graphical tool inside the IDE but it showed me an error. 

I'm using s32ds3.5

0 项奖励
回复
1,386 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

just set divider to /2

PetrS_0-1707295917588.png

BR, Petr

1,280 次查看
Adrish
Contributor II

Hi @PetrS . I tried the solution you suggested. It seemed to work initially but again the same issue was faced numerous times. After some investigation we found that the watchdog was enabled by default. Disabling the watchdog seemed to have fixed the issue completely.

Thank you for your support.

0 项奖励
回复
1,426 次查看
Akhil1
Contributor I

Hello @PetrS ,

Thanks...Its worked for me!!!

0 项奖励
回复
1,446 次查看
Akhil1
Contributor I

I am also facing the same issue with 3.0.0 version, but I think it will work for 2.0.3

If you find any solution with 3.0.0 version...let me know.

0 项奖励
回复