About wake-up from VLLS modes and interrupt handling

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

About wake-up from VLLS modes and interrupt handling

ソリューションへジャンプ
737件の閲覧回数
gauravbanyal
Contributor IV

Hello,

 

I am running the "power_mode_switch" example on the FRDM-KL03 board.

When I set the core to VLLS modes (VLLS_0 and VLLS_3) and I use the SW2 to wake up the core I intend to monitor the interrupt handlers LLWU_IRQHandler() and APP_WAKEUP_BUTTON_IRQ_HANDLER().  

 

I have added prints inside LLWU_IRQHandler() and the APP_WAKEUP_BUTTON_IRQ_HANDLER(). When I press SW2 to exit the VLLS state, I see the print from the function LLWU_IRQHandler() but not from the other although these two are configured to react on the same interrupt source.

 

Whats the reason for this? In my application, I need to use the BOARD_SW2_IRQ_HANDLER() handler to do some stuff. But looks like it does not get called. Please explain.

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
510件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

Pls refer to Table 7-2. Module operation in low-power modes in Chapter 7 in RM of KL03, in VLLS mode, the NVIC interrupt module is OFF, but LLWU is in full function state, that is why that the LLWU ISR is entered and VLLSx mode is exitted once you press hardware button on the FRDM-KL03 board.

In conclusion, in theVLLS mode,  LLWU is in full function state, but NVIC is in off state.

Hope it can help you

BR

XiangJun Rong

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
511件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

Pls refer to Table 7-2. Module operation in low-power modes in Chapter 7 in RM of KL03, in VLLS mode, the NVIC interrupt module is OFF, but LLWU is in full function state, that is why that the LLWU ISR is entered and VLLSx mode is exitted once you press hardware button on the FRDM-KL03 board.

In conclusion, in theVLLS mode,  LLWU is in full function state, but NVIC is in off state.

Hope it can help you

BR

XiangJun Rong

0 件の賞賛
返信