Switch Power Mode

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
633件の閲覧回数
KhaledG
Contributor I

Hello,
Im trying to switch power mode to stop for i.MX-RT1024 with mqx5. But the cpu stay awak
I used the CCM Low Power Control Register as indicated in the reference manual:

CCM->CLPCR = (CCM->CLPCR & ~CCM_CLPCR_LPM_MASK) | CCM_CLPCR_LPM((uint32_t)2);
Did I do something wrong?
Best Regards.

0 件の賞賛
返信
1 解決策
609件の閲覧回数
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @KhaledG,

The SDK for the RT1024 contains a "power_mode_switch" demo code which exemplifies the usage of this exact application very nicely. I understand that it is not implemented for MQX5, as it implements either FreeRTOS or BM. However, this example code will prove to be a very useful baseline on how to execute power mode switches on the RT1024, which you can then adapt to your MQX5 application. The SDK is available for building and downloading here: SDK Builder | MCUXpresso SDK Builder (nxp.com)

BR,
Edwin.

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
610件の閲覧回数
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @KhaledG,

The SDK for the RT1024 contains a "power_mode_switch" demo code which exemplifies the usage of this exact application very nicely. I understand that it is not implemented for MQX5, as it implements either FreeRTOS or BM. However, this example code will prove to be a very useful baseline on how to execute power mode switches on the RT1024, which you can then adapt to your MQX5 application. The SDK is available for building and downloading here: SDK Builder | MCUXpresso SDK Builder (nxp.com)

BR,
Edwin.

0 件の賞賛
返信
568件の閲覧回数
KhaledG
Contributor I

Thank you,
It helped me.

0 件の賞賛
返信