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.

AWR1843: CAN-FD transmit

Part Number: AWR1843

Tool/software:

“Hi, I use the AWR1843 to transfer data via CAN-FD. In this case, I’ve observed data loss in lower-priority messages based on PCAN Log analysis.

Does CANFD_transmitData check the node’s idle state and wa it before transmitting?

(id 400, Transfer period :100ms 

  • Hi,

    Could you provide some more information:

    • Are you using the Medium Range Radar demo in the Radar Toolbox, or a custom demo? Is this on a TI EVM or custom board?
    • To confirm, the behavior you are seeing is that the CAN messages with ID=400 are losing data? Are you seeing any data? 
    • Are you seeing any values in the MCAN_ECR register? 
    • What is the periodicity of the CAN-FD message?

    Regarding your question, yes the CANFD checks that the bus is free before attempting to transmit again. Lower priority messages that lose arbitration should continue retransmitting when the bus is free, unless configured not to. 

    Thank you,

    Jin

  • I checked the retransmission configuration in the MRR demo

    mcanCfgParams.darEnable                             = 0x1U;

    thank you best regards

  • Hi Geuntae, 

    Automatic retransmission is currently disabled. Could you try setting darEnable = 0? 

    From canfd.h:

    /*! Disable Automatic Retransmission
         *   0 = Automatic retransmission of messages not transmitted successfully
         *       enabled
         *   1 = Automatic retransmission disabled
    */
     
    Could you also provide some more information on the other questions above?
    Thank you,
    Jin
  • setting darEnable = 0. It fixed the problem.

    ------------------------------------------------------------------------------------------

    I used Toolbox MRR Demo on Custom Board.

    Track data of 3 Radars are received at 200, 300, and 400 respectively.

    CAN FD bit rate: 5M bps

    -------------------------------------------------------------------------------------------

    Thank you

  • Hi Geuntae,

    Glad to hear the problem was fixed! I'll close this thread. 

    Please submit another post if you run into any further issues.

    Thank you,

    Jin