CAN message IDX

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

CAN message IDX

586 Views
Milado
Contributor II

Hello,

I use the S32K148EVB to send CAN. 

It works correctly but I don't know what "uint8_t mb_idx" is.

I did not find any information in the S32K-RM.

Is it related to the CAN functionality? Or the S32k CAN driver? Is there an explanation? 

Thank you.

0 Kudos
Reply
1 Reply

578 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

mb_idx specifies index of used message buffer (MB). On S32K148 each FlexCAN module includes 32 MBs (assuming 8 byte payload), indexed from 0 to 31, and each MB can be configured to transmit or receive CAN message.
More info can be found in FlexCAN chapter of the device Reference Manual.

BR, Petr