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
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.
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,
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