How to inactive Mailbox of FlexCAN?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to inactive Mailbox of FlexCAN?

349件の閲覧回数
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 返信

331件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

you can simply use FLEXCAN_DRV_ConfigTxMb is using SDK driver.

BR, Petr

0 件の賞賛
返信