How to inactive Mailbox of FlexCAN?

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

How to inactive Mailbox of FlexCAN?

867 次查看
SONGTAOSI
Contributor I

Hi,

In my project, I want to inactivate MB1(transmission mailbox). According to the 53.5.7.2 of the reference manual, I should update the CODE field to INACTIVE (0b1000) ,and MCR[AEN] = 0.

SONGTAOSI_0-1684913539017.png

What bothers me is that how can I write 0b1000 to Code field? No register can be operation.My device is S32K148,and S32 Design Studio for S32 Platform 3.4. Looking forward to your reply!

 

0 项奖励
回复
1 回复

849 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

you can simply use FLEXCAN_DRV_ConfigTxMb is using SDK driver.

BR, Petr

0 项奖励
回复