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: MSPM0G3507

Part Number: MSPM0G3507

Tool/software:

How can I check is a MCAN TX FIFO has free space to write next message? 

 

  • Hi, 

    You can refer to the following steps for quick find.

    1. Import MSPM0G3507 CAN transmission related project in SDK into CCS. Here I choose the "mcan_multi_message_tx" project as an example.

    2. Compile the project.

    3. In the main function, press down ctrl and click on any function starting with "DL_MACN_", here I choose "DL_MCAN_writeMsgRam", and then enter the "dl_mcan.h" file.

    4. Search "DL_MCAN_TxFIFOStatus" in "dl_mcan.h", you can find the following function and the definition of TX FIFO related status. Also you can get more information in MSPM0G3507_TRM 21.4.15.

     

    B.R.

    Peter

  • Thank you for this elaboration!