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?
Hi,
Please look at the reference example:
Example MPC5748G Standby mode GHS614
It is identical for MPC5746C.
Peter
Tks, my problem solved, I found that must disable PIT module clock (PIT.MCR.B.MDIS = 1;) before entering STANDY mode.
By the way, before the mode translation, I had disabled the PIT[0] and clear the TIF flag.