what is the purpose of the mailbox id?

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

what is the purpose of the mailbox id?

Jump to solution
750 Views
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?

Tags (3)
0 Kudos
1 Solution
738 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@buccno

please take a look at the S32K-RM rev13

Senlent_0-1672275885502.png

 

 

 

View solution in original post

0 Kudos
4 Replies
721 Views
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 Kudos
705 Views
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 Kudos
739 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@buccno

please take a look at the S32K-RM rev13

Senlent_0-1672275885502.png

 

 

 

0 Kudos
730 Views
buccno
Contributor III

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

0 Kudos