This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSPM0G3519: MCAN Communication Issue

Part Number: MSPM0G3519

Device: MSPM0G3519  
SDK: MSPM0 SDK (using TI DriverLib examples)  
Examples Used:
- mcan_message_rx
- mcan_single_message_tx

Setup:
I am using two boards(250kbps / 80% sampling bitrate):
- One configured as TX node
- One configured as RX node

Communication between nodes is working correctly:
- RX side receives message successfully
- RX interrupt (RF0N) is triggering and LED toggles

Issue:
On TX side, I am not able to trigger the MCAN Transmission Complete interrupt.

On RX side, sometimes recevied DL_MCAN_INTERRUPT_PEA interrupt.

Details:
- I have enabled interrupts using line 0
- Interrupt mask defined as:

#define MCAN0_INST_MCAN_INTERRUPTS (DL_MCAN_INTERRUPT_BO | \
                                    DL_MCAN_INTERRUPT_EP | \
                                    DL_MCAN_INTERRUPT_EW | \
                                    DL_MCAN_INTERRUPT_PEA | \
                                    DL_MCAN_INTERRUPT_RF0N | \
                                    DL_MCAN_INTERRUPT_TC)

- RX interrupt works fine
- TX message is successfully transmitted (verified on RX node)
- But TX complete interrupt (DL_MCAN_INTERRUPT_TC) is not triggering

Configuration:
- Using default example configurations with minor modifications
- Interrupt line 0 is enabled
- NVIC interrupt also enabled

-Using the extended ID 

What I Checked:
- Communication between nodes verified
- RX FIFO interrupt working
- Interrupt line configured
- No bus errors observed

Expected Behavior:
- DL_MCAN_INTERRUPT_TC should trigger after successful transmission

Actual Behavior:
- No interrupt observed on TX side for transmission complete

Question:
What additional configuration is required to enable MCAN TX complete interrupt?
Is there any specific setting needed for TX buffers or interrupt routing?

In the bus-off state as per guide documents, needs to restart MCAN right (Getting Started with the MCAN (CAN FD) Module on MSPM0 MCUs Application note)

Additional Info:
- Using dedicated TX buffer (not FIFO)

**Attention** This is a public forum