MPC5746C: STOP Mode

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

MPC5746C: STOP Mode

436 Views
cholland
Contributor V

Hi,

I have been trying to run the example Low Power Mode in (AN2865: Qorivva Simple Cookbook.pdf). I can't seem to get it to run correctly. The problem is that I believe I am not able to go into STOP mode. It seems to sit in transition mode and never actually go into STOP mode.

I noticed this post and I have questions in regards to the post.

Stop mode migrating between MPC5748G and MPC5746C - NXP Community

In the post, the current mode is RUN0 and not stop mode. I think it should pass the line while(MC_ME.GS.B.S_CURRENT_MODE != 0x0A); then wait at then next line, while(MC_ME.GS.B.S_CURRENT_MODE != 0x07); /* I enter stop mode from RUN mode 3 */

I am able to successfully run the RTC example, so that part is correct.

I see the event flags RTC.RTCS.B.RTCF = 1  and the WKPU.WISR.B.IEF = 1 so I think it should come out of STOP mode, but I don't think it ever went into STOP mode to begin with. (MC_ME.GS.B.S_CURRENT_MODE = 0x7)

 

Registers.png

 Thanks for your help.

0 Kudos
0 Replies