1 Reply Latest reply on Sep 11, 2018 12:21 AM by nsha

    Full CAN linked mailboxes example

    rmorenoga_3711011

      Hi,

       

      Looking into how to use linked mailboxes with Full CAN communication I find that the documentation is not very clear and the answers to the questions on the topic are a bit vague.

       

      Could someone please provide a code example on how to use Full CAN linked mailboxes? It would be awesome if the example could include the following cases:

       

      • Using the linked mailboxes as a buffer, that is, checking the linked mailboxes from time to time to retrieve messages even if the buffer is not full (not having to wait for an interrupt in the last linked mailbox to retrieve the messages that have arrived). Is there a way to know, be it by interruption or any other method, how many messages have arrived?
      • Using the linked mailboxes as a FIFO buffer. Does this have to be done manually?