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

cancel
Showing results for 
Search instead for 
Did you mean: 

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

101 Views
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

Labels (1)
0 Kudos
2 Replies

78 Views
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

55 Views
Contributor II

Hi,

Thank you very much.

0 Kudos