Hello, I am attempting to setup the FlexCAN_0 module on a S32K344 development board. I cannot get the CAN module to exit low power mode.
I have setup the external CAN pins and started the peripheral clock (Using FIRC, confirmed that it and BLOCK65 are on via FIRC.Status_Register and MC_ME.PRTN1_COFB2_STAT respectively.)
Then I set FlexCAN_0 MCR.MDIS to 0 which should enable the CAN module and turn off the Low Power Mode Enable bit (MCR bit 20). But the bit is never cleared. Is there something else I need to do before enabling the CAN module?
Solved! Go to Solution.
here is my test process, you can see it works on myside.(after init clock, just enable flexcan mode)
I guess the root cause is that you are not setting the flexcan module clock correctly,please check the highlighted part registers.
BR!
here is my test process, you can see it works on myside.(after init clock, just enable flexcan mode)
I guess the root cause is that you are not setting the flexcan module clock correctly,please check the highlighted part registers.
BR!