FlexCAN Module won't exit low power mode.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FlexCAN Module won't exit low power mode.

Jump to solution
767 Views
dane_vs10
Contributor I

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?

0 Kudos
Reply
1 Solution
679 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@dane_vs10

here is my test process, you can see it works on myside.(after init clock, just enable flexcan mode)

Senlent_1-1694402170595.png

 

I guess the root cause is that you are not setting the flexcan module clock correctly,please check the highlighted part registers.

Senlent_0-1694402056524.png

 

BR!

View solution in original post

2 Replies
680 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@dane_vs10

here is my test process, you can see it works on myside.(after init clock, just enable flexcan mode)

Senlent_1-1694402170595.png

 

I guess the root cause is that you are not setting the flexcan module clock correctly,please check the highlighted part registers.

Senlent_0-1694402056524.png

 

BR!

651 Views
dane_vs10
Contributor I
Thank you so much! It looks my issue was that I wasn't enabling the MUX_3_DC_0 divider. I didn't think I would have to enable it since I didn't want to divide the FIRC rate but now that I did it works.
0 Kudos
Reply