Why is the SDK code different from the Reference Manual about FLEXCAN_EnterFreezeMode

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

Why is the SDK code different from the Reference Manual about FLEXCAN_EnterFreezeMode

1,905 次查看
香龙朱
Contributor II

My code often dies in "while (((base->MCR & CAN_MCR_FRZACK_MASK) >> CAN_MCR_FRZACK_SHIFT) == 0U) {}" of the FLEXCAN_EnterFreezeMode.

So, I check the S32K-RM-V12.1. in the reference manual, the while() code should do a timeout process.

Why the SDK is different from the RM?

 

 

This is the code of S32K1xx SDK RTM 3.0.2 about FLEXCAN_EnterFreezeMode()

SDK_RTM_3.0.2.png

 

and this is the Reference Manual of S32K-RM-V12.1

S32K-RM-V12.1.png

标签 (1)
0 项奖励
回复
2 回复数

1,882 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

 

the SW reset is simply not implemented in present SDK.

As far as I know should be added in next SDK version (4.0.1).

 

BR, Petr

1,859 次查看
香龙朱
Contributor II

Hi,

Thank you very much.

0 项奖励
回复