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.

IWR6843AOPEVM: How to switch from CAN FD to classical CAN Extended in example "CAN Integration"?

Part Number: IWR6843AOPEVM

Tool/software:

Hi TI,

I am using IWR6843AOPEVM to transmit data to STM32F407G-DISC1 by CAN. Because my STM32 doesn't support CAN FD, so I want to use classical CAN to do it. I have followed the instructions in: CAN Integration User Guide but it seems to be not working. I checked the radar and saw it still transmits data normally. 

I hope you will reply to me ASAP. Thank you so much.

BR,

Hy

  • Hi

    Thanks for your query. Please allow us a couple of days to respond

    Regards

  • Hello,

    Thanks for reaching out regarding how to get classic CAN functioning for the CAN Integration example. Just to verify, have you followed the "Working with Classic CAN" subsection? Please verify if you've done the following:

    • Change the global frameType variable (around line 719) from CANFD_MCANFrameType_FD to CANFD_MCANFrameType_CLASSIC to notify the driver to use classic frame transmission and receive validation
    • The fdMode parameter (around line 3617) defined in MCANAppInitParams must be set to 0 to disable flexible data (FD) operation - i.e., CCCR.FDOE = 0

    After these changes, make sure to rebuild the project and use the new binary file. Let me know if you've tested these steps already. If this fails to produce the expected behavior, then perhaps you could provide more details on what you intend to do and where its going wrong.

    Regards,

    Kristien