Hi Dino David,
About the sequential which you need, I still have another sample code, which send the CAN data at first, then receive the data, and send the received data to the console.
That CAN communication baud is 100Kbps, please make sure your ECU have the same CAN baud.
If you want to enable the MSCAN interrupt, you should enable the TX and RX interrupt, and enable the IRQ, then write the interrupt service code in the MSCAN interrupt code.
About the configuration, please refer to CAN_Init function which you can find it from the mscan.c in my attached project.
Wish it helps you!
If you still have question, please contact with me!
Have a great day,
Jingjing
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------