Wakeup Init Sequence for FlexCAN

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

Wakeup Init Sequence for FlexCAN

542 次查看
arvindupadhyay
Contributor II

Hi Friends,

I am working on kinetics series microcontroller, I want to know about wakeup Initialization sequence for FlexCAN .

Regards,

Arvind

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

406 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

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.

pastedImage_1.png

  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!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励