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: How to set the correct bitrate timing parameters for CAN-Classic?

Expert 2050 points
Part Number: AWR1843BOOST


I am trying to buid a CAN_Metaimage_Flasher.exe for CAN_Classic.

In the CAN_Metaimage_Flasher.cpp, I use TPCANBaudrate instead of TPCANBitrateFD

TPCANBaudrate bitRate = PCAN_BAUD_1M;

Can you please tell how to set bit timing parameters in can_sbl18xx_mss/transport.c for CAN-Classic? I find below settings, but it seems the parameters for CAN-FD.

    /* Configure the bit timing parameters. */
    mcanBitTimingParams.nomBrp = 0x2U;
    mcanBitTimingParams.nomPropSeg = 0x8U;
    mcanBitTimingParams.nomPseg1 = 0x6U;
    mcanBitTimingParams.nomPseg2 = 0x5U;
    mcanBitTimingParams.nomSjw = 0x1U;
    
    mcanBitTimingParams.dataBrp = 0x1U;
    mcanBitTimingParams.dataPropSeg = 0x2U;
    mcanBitTimingParams.dataPseg1 = 0x2U;
    mcanBitTimingParams.dataPseg2 = 0x3U;
    mcanBitTimingParams.dataSjw = 0x1U;