S32K3xx Config Rx Mailbox

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

S32K3xx Config Rx Mailbox

Jump to solution
522 Views
vinaykl
Contributor III

Hello team,

We are trying to configure Global mask for FlexCAN RX mailbox. But it is going in hardfault condition. 

Kindly need your support in above issue. Is it possible configure Global mask and receive CAN Msg for any CAN Id? 

Currently we are configuring every RX CAN Mailbox ID using configRxMB() api. But configuring RX mailbox ID's there is a limitation of 32 Id only. If it is possible to set Global Mask for RX Mailbox, it would be possible to receive for any CAN Id.

Thanks,

Vinay

Tags (1)
0 Kudos
Reply
1 Solution
494 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @vinaykl,

In order to receive all CAN IDs, you can configure the global mask for "don't care" (0b):

Snag_160b277.png

For example:

FlexCAN_Ip_SetRxMbGlobalMask(INST_FLEXCAN_0, 0U);

Best regards,
Julián

View solution in original post

0 Kudos
Reply
2 Replies
495 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @vinaykl,

In order to receive all CAN IDs, you can configure the global mask for "don't care" (0b):

Snag_160b277.png

For example:

FlexCAN_Ip_SetRxMbGlobalMask(INST_FLEXCAN_0, 0U);

Best regards,
Julián

0 Kudos
Reply
478 Views
vinaykl
Contributor III

Thank you Julián_AragónM.

This solved my issue. 

0 Kudos
Reply