How to inactive Mailbox of FlexCAN?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to inactive Mailbox of FlexCAN?

488 Views
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 Kudos
Reply
1 Reply

470 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

you can simply use FLEXCAN_DRV_ConfigTxMb is using SDK driver.

BR, Petr

0 Kudos
Reply