what is the purpose of the mailbox id?

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

what is the purpose of the mailbox id?

ソリューションへジャンプ
761件の閲覧回数
buccno
Contributor III

If the mailbox ID's purpose, for example 

buccno_0-1672245068195.png

set the nth mailbox,  When I increase the ID value, for example, if I double it, does the mailbox covers double?

タグ(3)
0 件の賞賛
1 解決策
749件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@buccno

please take a look at the S32K-RM rev13

Senlent_0-1672275885502.png

 

 

 

元の投稿で解決策を見る

0 件の賞賛
4 返答(返信)
732件の閲覧回数
buccno
Contributor III

For example, I define a macro in my code, #define TX_MAILBOX_IDX 1 -> that means selected address offset?

buccno_0-1672301564282.png

If that is true, my address offset is 0090? or 0090 - 0080? 
so, 

buccno_2-1672302316163.png

 

I ask this because, in my code sample, I was changing the message buffer index value(RX or TX, RX and TX) anything changed. I use an 8-byte payload.

0 件の賞賛
716件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@buccno

I didn't understand your question. If you have questions about the details of FlexCAN, you can read our data sheet, and we also have a complete demo for customer reference,

for example:

https://community.nxp.com/t5/S32K-Knowledge-Base/S32K1xx-FlexCAN-Mask-Setting-Demo/ta-p/1519753 

 

https://community.nxp.com/t5/S32K-Knowledge-Base/S32K-Examples/ta-p/1108990 

0 件の賞賛
750件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@buccno

please take a look at the S32K-RM rev13

Senlent_0-1672275885502.png

 

 

 

0 件の賞賛
741件の閲覧回数
buccno
Contributor III

Actually, I cannot understand, If I increase the mailbox index, does my message buffer's memory area increase?

0 件の賞賛