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

954件の閲覧回数
香龙朱
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 返答(返信)

931件の閲覧回数
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

908件の閲覧回数
香龙朱
Contributor II

Hi,

Thank you very much.

0 件の賞賛