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.

AWR6843AOPEVM: CAN transmission using AWR6843AOP EVM board

Part Number: AWR6843AOPEVM
Other Parts Discussed in Thread: AWR6843AOP, AWR1642

Hello TI,

While working with CAN on the AWR6843AOP EVM board with CCS 12.0.3 and Radar toolbox 1.10.00.13, I am trying to modify the Object data over CAN example on the AWR1642 BOOST to make it work with my board (still not the case), for that I have the following questions : 

1- I saw in a thread that there are certain switch positions for CAN, could you inform me of the ones I need in my AWR6843AOP board once the code is flashed ?

2- The board I use has 2 CAN-FD interfaces, how do I select the one I want to use ? is there a default one ?

3- In the example there is a use of a mmWve CAN Visualizer, is this tool still available (I cannot find it) ? Also are my board + my CAN adapter (which is The following) compatible with its use ?

PS : I already found the CAN visualizer in ti\radar_toolbox_1_10_00_13\tools\visualizers\mmwave_can_visualizer, though I'd still like to confirm the compatibility.

4- A last thing, when using CAN, can I use the UART port (Number 1 in image) simultaneously, or do I only use the port 2 for supply needs ?

Thanks and regards,

Lilia.

  • Hey Lilia,

    1 - To enable the CAN signals on the AWR6843AOP EVM, you need to set S2.1 to the ON position. This will pass the TX and RX signals from the CAN controller to the 6843. This can be seen in the schematic for the AWR6843AOP. Note: You will be unable to use SPI while using CAN as enabling CAN overrides the same signal lines as SPI. 

    2 - Selecting between different CAN controllers is done through the CAN driver included in the SDK. The controller ID would have to be specified - either 0 or 1 - when initializing the driver. For more information on the CAN drivers, see C:\ti\mmwave_sdk_03_06_00_00-LTS\packages\ti\drivers\can\docs. Note: Disregard any documentation for DCAN since the 6843 uses a CAN-FD interface.

    3 - It may be easier to start with the 6843 Out-of-Box Demo and go through the code and replace relevant UART functions with CAN functions - though this depends on what you want your end application to be. While its not a certainty, the CAN visualizer likely won't work with your CAN adapter as it was originally written based on the SDK for the PCAN. 

    4 - You should be able to use the emulator USB port while using CAN. 

    Let me know if you have any other questions.

    Regards,

    Kristien