Part Number: MSPM0G3519
Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
hi, Could you please help to understand the CAN API's; the following is form the mcan_multi_message_tx project
/* Write Tx Message to the Message RAM. */
DL_MCAN_writeMsgRam(MCAN0_INST, DL_MCAN_MEM_TYPE_BUF, 0, &txMsg0);
/* Write Tx Message to the Message RAM. */
DL_MCAN_writeMsgRam(MCAN0_INST, DL_MCAN_MEM_TYPE_BUF, 1, &txMsg1);
/* Add request for transmission. */
DL_MCAN_TXBufAddReq(MCAN0_INST, 0);
/* Add request for transmission. */
DL_MCAN_TXBufAddReq(MCAN0_INST, 1);
My customer needs to use the FIFO; so they change the DL_MCAN_MEM_TYPE_BUF to DL_MCAN_MEM_TYPE_FIFO
DL_MCAN_writeMsgRam(MCAN0_INST, DL_MCAN_MEM_TYPE_FIFO, 0, &txMsg0);
But when they change to DL_MCAN_MEM_TYPE_FIFO, the code does not work.
Please let us know how to use the API's for FIFO.
regards,
Frangline.

