MPC5746C STANDBY mode transition blocked

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

MPC5746C STANDBY mode transition blocked

1,046 Views
hangxie
Contributor III

In my board, just config the system clock to 160Mhz PLL with 20Mhz XOSC, config PIT[0] to 1ms period, and running freeRTOS with 3 tasks, in one task I want to make the device to STANDBY mode, but the mode transition is blocked at waiting for S_MTRANS to clear.

here are the IMTS and DMTS reg values. Is that any idea to find why the transition is blocked?

Block.png

0 Kudos
3 Replies

703 Views
petervlna
NXP TechSupport
NXP TechSupport

Hi,

Please look at the reference example:

Example MPC5748G Standby mode GHS614 

It is identical for MPC5746C.

Peter

0 Kudos

703 Views
hangxie
Contributor III

Tks, my problem solved, I found that must disable PIT module clock (PIT.MCR.B.MDIS = 1;) before entering STANDY mode. 

0 Kudos

703 Views
hangxie
Contributor III

By the way, before the mode translation, I had disabled the PIT[0] and clear the TIF flag.

0 Kudos