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.

CCS/IWR1443BOOST: Send target data to CAN port

Expert 1985 points
Part Number: IWR1443BOOST

Tool/software: Code Composer Studio

Hello,

How can I send the range, speed and other information of the targets  that sent to the mmWave_Demo_Visualizer, through CAN port? Is there a project to do this?

Best regards,

Amin

[unlocked 1/19/18]>LE

  • Hello Amin,

    This can be done in software by modifying the code to send data over the CAN interface. Please take a look at the CAN driver under the mmWave SDK installation. Typically at : C:\ti\mmwave_sdk_01_00_00_05\packages\ti\drivers\can\test

    Thank you,
    Vaibhav
  • Hello Vaibhav,

    Thank you for your help. I would appreciate it if you can describe Detailed Read Flow or Detailed Operating Steps?

    Best regards,
    Amin
  • Hello Amin,

    For the CAN configure(PINMUX), CAN Initalization and CAN transmission please refer to the CAN test application "C:\ti\mmwave_sdk_01_00_00_05\packages\ti\drivers\can\test".

    Please refer to below steps on how you can use the CAN to send out the object data :

    1) Create a new semaphore "CAN_Semaphore" and Spawn a new task viz "CANTask()" in your main() .

    2) The CANTask() should be a infinite loop which can wait on  "CAN_Semaphore" which will be signalled when there is object data from other thread.

    3) You can choose to initialize the CAN(PINMUX, RAM initialize, clock setting) in "MmwDemo_mssInitTask()" .

    4) You can signal the "CAN_Semaphore" in  "MmwDemo_transmitProcessedOutput()" indicating to the "CANTask()"  that there is object data available for transmission.

    Please let me know if these details are enough or you need more details.

    BR,

    Raghu

  • Hello Raghu,

    Thank you for your help. I am new to this protocol. I do not know how to use this project"C:\ti\mmwave_sdk_01_00_00_05\packages\ti\drivers\can\test".
    Thank you if you explain more details. My goal is edit the mmw-sdk Demo project for send target information with CAN.

    Best regards,
    Amin
  • unlocked 1/19/18>[LE]