You are here

Controller Area network (CAN) linked mailbox | Cypress Semiconductor

Controller Area network (CAN) linked mailbox

Summary: 2 Replies, Latest post by nandakumar.ganesh_1472691 on 07 Nov 2016 11:16 PM PST
Verified Answers: 0
Last post
Log in to post new comments.

Hi,

I want to know how Linked mailbox for CAN module works for rx frames and how i can process mailbox by polling method ?

 

 

Hars's picture
Cypress Employee
3 posts

Hi Nandakumar,

If you are using Full CAN you will have option of Linking mailboxes in CAN configuration-->Receive Buffer Tab-->Last Column. (See the attached image). Do not check the Linking box in front of last mail box. For eg. if you want to link mailbox # 0 to 4, check the linking box in front of mailbox #0 to 3, but don't check that for mailbox #4.

Also all the linked mailboxes should have same AMR and ACR configuration. In short you need to have same ID configured for all the linked mailboxes.

When you link the mailboxes, you can access any mailbox and the respective mailbox will be empty. Once new message arrives it will go to empty mailbox . If two mailboxes are empty then the new arrived message will be stored in the lowest numbered mailbox.For eg. if mailbox0 and mailbox3 are empty, the new message will be stored in mailbox0.

Please feel free to update if you need any clarification.

Regards

Harshada

Attachments: 

Thank you for the clarification and support.

 

Log in to post new comments.