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.

AM2634: CAN Bus Bit Rate Timing Configuration

Part Number: AM2634


I couldn't find the instructions about how to configure CAN bus bit rate timing through the registers from the document "AM263x Technical Reference Manual". The version of the document I have is SPRUJ17 and dated as March 2022. Neither I could find any detail descriptions about any registers. The mcan example code only gives the default bit timing, which is 1Mbps and 5Mbps as nominal and data bit-rate respectively. So which instructions I should follow to change the bit rate timing?

This is the default setting from the example code:

/* MCASP Default Bit timing Parameters */
MCAN_BitTimingParams gMcanBitTimingDefaultParams =
{
.nomRatePrescalar = 0x7U,
.nomTimeSeg1 = 0x5U,
.nomTimeSeg2 = 0x2U,
.nomSynchJumpWidth = 0x0U,
.dataRatePrescalar = 0x1U,
.dataTimeSeg1 = 0x3U,
.dataTimeSeg2 = 0x2U,
.dataSynchJumpWidth = 0x0U,
};

Thanks,

Wenkai