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.

TDA4VM: Initialization and use of MCU_MCAN0

Part Number: TDA4VM

I implemented GPIO output level control on CCS12 and achieved single step debugging through XDS110. We currently plan to use MCU_MCAN0, but we do not know how to configure this peripheral and implement bus data transmission and interruption.

Question: In addition to the folder below:

D:\ti-processor-sdk-rtos-j721e-evm-08_04_00_06\pdk_jacinto_08_04_00_21\packages\ti

where else can I find relevant examples??

  • Hello,

    To configure the MCU_MCAN0 peripheral and implement bus data transmission and interruption, you can follow these steps:

    1. Initialize the MCU_MCAN0 peripheral by configuring its registers. This involves configuring the CAN protocol parameters such as bit timing, message IDs, and message filters.

    2. Set up the message objects for transmitting and receiving data. Message objects are used to store and transmit/receive CAN messages. You can configure the message object's ID, data length, and other parameters using the CAN message object registers.

    3. Implement interrupt handlers for the CAN bus events. You can use the interrupt service routines to handle events such as message transmission and reception, error detection, and bus-off conditions.

    4. Write the code to transmit and receive data on the CAN bus. You can use the CAN message object registers to send and receive messages on the bus.

    Regards,

    Gary

  • We know this process, and what I want to ask is:
    On CCS12, it is best to have engineering examples on CCS12 for the specific writing and quick understanding of these programs. I can study them myself.

  • Hello,

    Certainly! Engineering examples on CCS12 can provide a practical and hands-on understanding of the program. By studying real-world applications and projects, you can gain valuable insights into how to effectively utilize CCS12 for engineering purposes. This approach can also help you quickly grasp the key features and functionalities of the program. Good luck with your studies!

    Regards,

    Gary

  • Oh my god, of course I know the meaning and role of the CCS12 project examples, so I need an project examples based on CCS12.
    Question: Where can I find engineering examples based on CCS12, including MCAN, timers, and even better if there are other peripherals available.Could you tell me a link or a e-mail to help me download the examples?

  • Hello,

    We have consulted an American engineer for you. Due to the Thanksgiving holiday, the reply will be delayed. Thank you.

    Regards,

    Gary

  • Hello,

    We have examples of MCU_MCAN0 in mcusw/mcal_drv/mcal/examples/Can/

    You can have a look into mcusw user guide document software-dl.ti.com/.../mcusw_c_ug_top.html

    Regards,

    Gary