what is the purpose of the mailbox id?

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

what is the purpose of the mailbox id?

跳至解决方案
755 次查看
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 解答
743 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@buccno

please take a look at the S32K-RM rev13

Senlent_0-1672275885502.png

 

 

 

在原帖中查看解决方案

0 项奖励
4 回复数
726 次查看
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 项奖励
710 次查看
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 项奖励
744 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@buccno

please take a look at the S32K-RM rev13

Senlent_0-1672275885502.png

 

 

 

0 项奖励
735 次查看
buccno
Contributor III

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

0 项奖励