FlexCAN's Mailbox and Message Buffers

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

FlexCAN's Mailbox and Message Buffers

Jump to solution
1,848 Views
symplesky
Contributor II

I am reading the manual, but I am a bit confused about the relationship between Mailbox and Message Buffers. Are they the same thing?

微信图片_20210830124405.png

0 Kudos
Reply
1 Solution
1,823 Views
Senlent
NXP TechSupport
NXP TechSupport

理解的不对,

参考上一个回答图片中的内容,每个MB的大小是可以配置的,所有的MB处于RAM的一段连续空间,当你使用信箱的时候,你需要先选择MB的大小(16,24,40,72),当然这个大小和CAN标准有关(CAN2.0或者CAN FD)。如果配置为FIFO,又有些区别。

View solution in original post

3 Replies
1,837 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@symplesky

S32K-RM 55.5 Functional description:

      The mailbox system is composed of a set of message buffers (MB) that store configuration and control data, time stamp, message ID, and data (see Message buffer structure).

Message Buffer Structure.

    

Senlent_3-1630302439653.png

BR!

     Jim.

 

 

 

 

0 Kudos
Reply
1,834 Views
symplesky
Contributor II

Thank you for your reply, Jim. There are totally 32 Message Buffers in CAN1, when I set the Mailbox number with 16, dose it means every Mailbox have 2 Message Buffers? 

0 Kudos
Reply
1,824 Views
Senlent
NXP TechSupport
NXP TechSupport

理解的不对,

参考上一个回答图片中的内容,每个MB的大小是可以配置的,所有的MB处于RAM的一段连续空间,当你使用信箱的时候,你需要先选择MB的大小(16,24,40,72),当然这个大小和CAN标准有关(CAN2.0或者CAN FD)。如果配置为FIFO,又有些区别。