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()
and this is the Reference Manual of S32K-RM-V12.1
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
Hi,
Thank you very much.