Tool/software:
Hi Experts,
In syscfg we can change the bit rates of CANFD, however the settings are based on the 80MHz clock input. Is it possible to change the clock of MCAN module to 40Mhz?
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.
Tool/software:
Hi Experts,
In syscfg we can change the bit rates of CANFD, however the settings are based on the 80MHz clock input. Is it possible to change the clock of MCAN module to 40Mhz?
Hello Hang,
Yes, this is possible. The MSS_RCM CTRLMMR registers contain MSS_MCANx_CLK_DIV_VAL registers.
The current clocktree for MCAN0 is as follows:
CLK_SRC: DPLL_CORE_HSDIV0_CLKOUT0 (Default Clock Source after Reset) (400MHz)
CLK_DIV: 4 (Div by 5)
MCAN0_CLK = 80MHz
If you change the MSS_MCAN0_CLK_DIV_VAL to 9 (Div by 10)
then your resulting MCAN0_CLK = 40MHz
Best Regards,
Zackary Fleenor