CAN message IDX

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

CAN message IDX

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

1,333件の閲覧回数
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