FlexCAN's Mailbox and Message Buffers

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

FlexCAN's Mailbox and Message Buffers

ソリューションへジャンプ
2,167件の閲覧回数
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 件の賞賛
返信
1 解決策
2,142件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

理解的不对,

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

元の投稿で解決策を見る

3 返答(返信)
2,156件の閲覧回数
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 件の賞賛
返信
2,153件の閲覧回数
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 件の賞賛
返信
2,143件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

理解的不对,

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