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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

867件の閲覧回数
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 返信

712件の閲覧回数
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 件の賞賛
返信