Intermittent failure during mode transition on MPC5748G

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

Intermittent failure during mode transition on MPC5748G

459 Views
chenhao08
Contributor I

We encounter intermittent failure on mode transition from DRUN to STOP via RUN0 during sleep process.  This also happens on wakeup from STOP0 to DRUN.

My question is how can I tell the reason for the transition failure. I'm afraid it may be due to any pending unprocessed interrupts or some peripherals are not reset properly.  Do we have any status register for this?

0 Kudos
2 Replies

340 Views
martin_kovar
NXP Employee
NXP Employee

Hello,

in Mode Entry module, there is DMTS (Debug Mode Transition Status) register which could help you to identify the root cause of mode transition failure.

Please check this register and see, if any flags are set when mode transition is not completed correctly.

Regards,

Martin

0 Kudos

340 Views
chenhao08
Contributor I

This helps us a lot.

Thx, Martin!

BTW, is it possible to read DMTS register value on transition failure i.e from DRUN to RUN0 or RUN0 to STOP0.

To us, we can't step into the code after calling POWER_SYS_SetMode in power_manager.c 

We are using EAR 0.8.1.

0 Kudos