Other Parts Discussed in Thread: HALCOGEN
Context
My Halcogen application has the following requirements:
- Transmit 10 different CAN messages with a period of 250ms.
- Receive 10 different CAN messages with a period of 250ms.
Let's assume we can ignore message priority.
Let's assume we can only use the CAN1 peripheral.
Let's assume the CAN bus has only those messages on it.
Solution
To my understanding, to solve this problem, I could do
- 1 mailbox for receiving with a filter accepting all 10 CAN message's ID
- 1 mailbox for transmitting
I could also do
- 10 mailbox for receiving; each mailbox only 1 message ID
- 10 mailbox for transmitting; each mailbox only 1 message ID
or, of course, an in-between solution.
Questions
How do you select the proper CAN mailbox configurations strategy?
Is there some TI app notes about evaluating those tradeoffs and explaining CAN nodes configuration (SPNA131 is not detailed enough, IMO)?
I would like to better understand:
- How does mailbox handle message collisions?
- What happens if multiple messages arrive at the same time in the same mailbox?
- How does the TI SDK (canMessageNotification) handle multiple interrupts from multiple mailboxes?
- How big is the internal CAN node Queue (when a message will be deleted)?
Regards,
Gabriel