Other Parts Discussed in Thread: AWR1642
I need to modify the nominal rate and data bit rate of mcan driver.
I look into the mcan driver source mcan.c in MMWAVE_L_SDK_05_01_00_04.
I found the MCAN_initSetBitTimeParams configure default 1Mbps and 5Mbps as nominal and data bit-rate
respectively as follows:
/* Initialize bit timings */
bitTimes->nomRatePrescalar = 0x7U;
bitTimes->nomTimeSeg1 = 0x5U;
bitTimes->nomTimeSeg2 = 0x2U;
bitTimes->nomSynchJumpWidth = 0x1U;
bitTimes->dataRatePrescalar = 0x1U;
bitTimes->dataTimeSeg1 = 0x3U;
bitTimes->dataTimeSeg2 = 0x2U;
bitTimes->dataSynchJumpWidth = 0x1U;
However, this configuration is out of my knowledge in SDK 3.5.0.0 for AWR1642.
Could someone explain to me why the above configuration set mcan to 1Mbps and 5Mbps as nominal and data bit-rate?