K70 does not clocking from externel 12MHz after VLPR mode.

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

K70 does not clocking from externel 12MHz after VLPR mode.

571 次查看
pramodk_g_
Contributor III

HI everyone,

                    I am using TWR K70 , MQX 4.0 and CW 10.5.  Normal case i am running from ext 12Mhz oscr at a core frequency of 24Mhz. If my system is idle above 1 min system will switch to 2Mhz and goes to sleep mode ( low power wait mode). When a button press device will wake up at again should run at 24Mhz. But my issue it is hang at PBE mode when wake up from sleep. Can anybody say why this is happening? . My doubt is wheather 12MHz is deisable after low power wait mode. Please let me know your valuable thoughts.

Thanks,

Pramod.

标记 (4)
0 项奖励
回复
1 回复

416 次查看
RadekS
NXP Employee
NXP Employee

I suppose that this question is related to your previous thread:

https://community.freescale.com/thread/326021

Solution:

Please open function Cpu_SetMCGModePBE function in bsp_cm.c file and replace line MCG_C6 = (uint8_t)0x40U; by line MCG_C6 = (uint8_t)0x48U;    (it is inside case 1U:)

This will fix issue with “cannot change Clock source to 2MHz after 3 times.”

It is known issue and it will be fixed in next MQX release.


Best Regards,
RadekS

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复