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.

IWR6843ISK: How to send data using CANFD

Part Number: IWR6843ISK
Other Parts Discussed in Thread: IWR6843, AWR1642

Hello TI,

For my project I would like to send sensor data using CANFD instead of using USB, I would like to know if there are any project or prebuilt binaries available that can help me to get started with it.

Thanks in advance

  • Hi,

    On IWR6843 there is not a prebuilt project which uses CAN to transmit data. In order to make your own, you can either use the CAN driver test code (located in the mmWave SDK under packages/ti/drivers/can/test) or you can reference the Object Data over CAN lab from the mmWave Automotive toolbox, which is designed for an AWR1642 device. You can then use this reference code as a guide on how to configure the CAN driver, and then once the CAN driver is configured it should be relatively straightforward to replace the UART_write calls with corresponding CAN function calls.

    Best Regards,
    Alec

  • Hey Alec,

    Can I directly flash object data over can bin file on IWR6843 just to check if I'm receiving any CAN output?. if not, can I do any changes in Object data over CAN to make it compatible with IWR6843?.

    Also, It will be really helpful if you could attach any relevant questions that were asked regarding the same topic.

  • Divya,

    There is a small chance that you can flash the demo and have it work, but since the demo is for a xWR1642 device, I wouldn't expect it.

    Take a look at this appnote on how to add CANFD to an existing project and let me know if you have further questions.
    https://www.ti.com/lit/an/spracf7/spracf7.pdf

    Best Regards,
    Alec