CAN message IDX

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

CAN message IDX

587 次查看
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 项奖励
回复
1 回复

579 次查看
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