Hi Friends,
I am working on kinetics series microcontroller, I want to know about wakeup Initialization sequence for FlexCAN .
Regards,
Arvind
Hi Arvind Upadhyay,
About the wake up sequence for the FlexCAN, please refer to the according kinetis reference manual, chapter 49.4.10.3 Stop mode.
So, if you want to wake up the flexcan in stop mode, please enable the SELFWAK, WAKINIT, WAKMSK bit, the code is:
FLEXCAN0_MCR |= FLEXCAN_MCR_SLF_WAK | FLEXCAN_MCR_WAK_MSK
| FLEXCAN_MCR_WAK_SRC // enable wakeup filter
;
Wish it helps you!
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------