SPRUII0F May 2019 – June 2024 TMS320F28384D , TMS320F28384D-Q1 , TMS320F28384S , TMS320F28384S-Q1 , TMS320F28386D , TMS320F28386D-Q1 , TMS320F28386S , TMS320F28386S-Q1 , TMS320F28388D , TMS320F28388S
FILE: mcan_ex12_receive_priority.c
This example shows the MCAN Loopback functionality. The internal loopback mode is entered. The sent message should be received by the node. Use the last address of memory for Rx buffer. This example demonstrates the MCAN receive function for High Priority Messages. Messages with Message IDs from the range 0x1 to 0xB are received in Rx FIFO 1, while messages with Message IDs 0x3 and 0x9 are marked as High Priority by the receiving CAN node (frames in itself conform to CAN Protocol, Priority is only marked from the perspective of the receiving CAN Node), following which a separate interrupt is generated and the messages can be read.