How the S32K144 FlexCAN Message Buffers divide the receiving and sending region

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

How the S32K144 FlexCAN Message Buffers divide the receiving and sending region

跳至解决方案
1,155 次查看
JihongZhang
Contributor II

Hi,

I am developing a FlexCAN driver.For the division of MB receiving and sending region, I have not found a detailed description document. Where can I find it

0 项奖励
回复
1 解答
1,140 次查看
Joey_van_Hummel
Contributor IV
Sending and receiving region is user defined by the CODE field of the message buffer.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,141 次查看
Joey_van_Hummel
Contributor IV
Sending and receiving region is user defined by the CODE field of the message buffer.
0 项奖励
回复
1,145 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

you should get most of the info directly from the device Reference Manual, in FlexCAN chapter.
The FlexCAN module uses a very flexible mailbox system for transmitting and receiving CAN frames. The mailbox system is composed of a set of message buffers (MB) that store configuration and control data, time stamp, message ID, and data/payload (see chapter 55.5.3 Message buffer structure).
S32K144 offers up to 32MBs (assuming 8byte payload) which can be configured individually for TX or RX operation. When CAN FD is enabled, the exact address for each MB depends on the size of its payload. See chapter 55.5.4 and 55.5.5 for FlexCAN memory partition and MBs memory map.
A process of transmission resp. reception is described in chapters 55.3.2-55.3.3 resp. 55.3.4-55.3.5.

BR, Petr

0 项奖励
回复