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.

MSPM0G3507: CAN frame repeated on early samples

Part Number: MSPM0G3507

Hello,

I am using the mscan single frame example on an early sample

I send the frame every second based on a timer

I made one IO toggle, timer is correct, and can functions are called every second

In the program in modified the CAN setting to CAN not FD

One time there is one frame sent, at next period 3 frames are sent

This is cyclic

Is there anything I shall do to correct those 3 frames?

/* Frame transmitted in CAN FD format. */
       txMsg.fdf = 0U;//1U;

 /* Write Tx Message to the Message RAM. */
 DL_MCAN_writeMsgRam(MCAN0_INST, DL_MCAN_MEM_TYPE_BUF, 0U, &txMsg);
 /* Add request for transmission. */
DL_MCAN_TXBufAddReq(MCAN0_INST, 0U);
 //DL_GPIO_togglePins(GPIO_PORT, GPIO_TEST_PIN);

Thanks