MKW41Z4 hard fault on wake from VLPS

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

MKW41Z4 hard fault on wake from VLPS

491件の閲覧回数
ericsmith
Contributor I

I'm working on a project with the MKW41Z4 doing 802.15.4 communication, and trying to go to VLPS mode with wake up by LPTMR. I have a simple test program without the 802.15.4 that just does the VLPS and LPTMR, using the sequence:


            SMC_PreEnterStopModes();
            SMC_SetPowerModeVlps(SMC);
            SMC_PostExitStopModes();

to enter sleep mode, and that works fine. However, when I put that in the real application (which was mostly written by someone else), I get a hard fault when it wakes.  Are there any things I should be doing before entering VLPS othter than what is done by those three SMC functions?

0 件の賞賛
返信
1 返信

405件の閲覧回数
gerardo_rodriguez
NXP Employee
NXP Employee

Hello Eric Smith,


The wireless stacks make use of the connectivity framework which has a low power library for managing the low power modes on the KW41Z. Please refer to chapter 3.15.4 Kinetis Wireless Dual Mode (Bluetooth LE and IEEE ®
802.15.4) Microcontrollers Low-power Library Overview on the "Connectivity Framework Reference Manual.pdf" located in <SDK path>\docs\wireless\Common\ for information on the low power library and how to use it.

Which 802.15.4 demo are you using as a base for your application?

Regards,

Gerardo

0 件の賞賛
返信