MPC5746C STANDBY mode transition blocked

cancel
Showing results for 
Search instead for 
Did you mean: 

MPC5746C STANDBY mode transition blocked

488 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

145 Views
petervlna
NXP Employee
NXP Employee

Hi,

Please look at the reference example:

Example MPC5748G Standby mode GHS614 

It is identical for MPC5746C.

Peter

0 Kudos

145 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

145 Views
hangxie
Contributor III

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

0 Kudos