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.

AWR1843BOOST: Need to port AWR1642 CAN code to AWR1843BOOST

Part Number: AWR1843BOOST
Other Parts Discussed in Thread: AWR1642, AWR1642BOOST

Hi, 

I am using AWR1843BOOST radar EVM. I have flashed demo binary "xwr18xx_mrr_demo.bin" in radar module and I tried to communicate through CAN, I am not getting any data over CAN. Does this binary supports CAN? 

In "mmwave_automotive_toolbox_3_6_0" folder I found one binary for AWR1642 radar module for CAN. But I think I need to port it for AWR1843BOOST module. To port this I must have AWR1642 complete project, so where can I get this project and is there any document for porting this code?

Thanks,

Manoj

  • Please let us know which version of the Radar Toolbox you are using

    The MRR code should have support to send data through CAN.

    Please make sure that you have enabled CAN peripheral on the BOOST EVM. Please check the AWR1843BOOST EVM User Guide for more information.

    thank you

    Cesar

  • Hi Cesar,

    I am using "mmwave_automotive_toolbox_3_6_0" and AWR1843BOOST having SDK version 3.4.

    Please find the attached image where "S2" is set to "CAN" and "SPO2-SPO0" switches are "001".

    Please let me know if any other settings required.

    Thank you,

    Manoj

  • Thank you

    From HW perspective, nothing else is needed.

    From SW perspective,

    I checked the code and I see the following, this means that the CAN interface is enabled to send the object data.

     // #define USE_LVDS_INTERFACE_FOR_OBJECT_DATA_TX

    Thank you

    Cesar

  • Hi Cesar,

    Could you please share that binary where you found CAN interface is enabled or just let me know the binary name/path from where I can locate it and flash it in radar.

    And if "xwr18xx_mrr_demo.bin" is the correct binary so what else I need to check to communicate over CAN successfully? 

    Thank you

    Manoj

  • Hi,

    The binary you are using should support CAN.

    mmwave_automotive_toolbox_3_6_0\labs\lab0007_medium_range_radar\prebuilt_binaries\xwr18xx_mrr_demo.bin

    I was looking at the source code used to build the binary

    mmwave_automotive_toolbox_3_6_0\labs\lab0007_medium_range_radar\src\mss\mss_main.c

    You should use a oscilloscope to probe the CAN tx output on the EVM to see if it is active.

    Thank you

    Cesar

  • Hi Cesar,

    Please find the attached images of CAN waveforms. I have probed these on CAN_H and CAN_L pins of J3 connector on EVM.

    CAN_H --> Channel 1(Yellow)

    CAN_L  --> Channel 2(Blue)

    Thank you,

    Manoj

  • Hi Cesar,

    Any suggestions on these oscilloscope waveforms?  Please let us know your inputs.

    Thanks,
    Manoj

  • Hi Cesar,

    Your inputs are valuable for this CAN thing. Please let us know your inputs.

    Thanks,
    Manoj

  • Hi,

    Unfortunately our support team does not have additional input.

    We tested the demo at release time using the PCAN CANFD to USB converter and it was working fine.

    This is the environment it was tested with:

    • AWR1843BOOST - SPI/CAN switch set to CAN
    • PCAN USB converter
    • PCAN GUI running on PC

    thank you

    Cesar

  • Hi Cesar,

    We are using USBCAN analyzer(USBCAN I) and can analyzer 3 mini GUI running on PC.

    Will this setup work with radar? or we have to use PCAN USB converter and PCAN GUI?

    Thank You,

    Manoj

  • The CANFD output from Radar is standard. Please see a setup that was used for the release of the "data object over CAN" demo for AWR1642BOOST EVM

    C:\data-nobackup\2023\RadarToolbox\radar_toolbox_1_20_00_11\source\ti\examples\object_data_over_can\docs\Object_Data_Over_CAN_users_guide.html

    Our support team provided available information

    At this point we need to close this thread.

    If there are new questions please start a new thread.

    Thank you

    Cesar