MPC5746C STANDBY mode transition blocked

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MPC5746C STANDBY mode transition blocked

1,256 次查看
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 项奖励
回复
3 回复数

913 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hi,

Please look at the reference example:

Example MPC5748G Standby mode GHS614 

It is identical for MPC5746C.

Peter

0 项奖励
回复

913 次查看
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 项奖励
回复

913 次查看
hangxie
Contributor III

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

0 项奖励
回复