Wake Up from external pins

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

Wake Up from external pins

ソリューションへジャンプ
596件の閲覧回数
pietrodicastri
Senior Contributor II

Good morning

I wander if the LLWUP unit has to be gated to work. I do  not find a bit field to do so. Confirm it does not need.

For activating the interrupt of the LLWUP unit from external pin, It is necessary to:

1) enable the interrupt of the pins itself: -> PORT_HAL_SetPinIntMode(BOARD_SW_LLWU_BASE, BOARD_SW_LLWU_PIN, kPortIntFallingEdge);

2) enable the interrupt of the pin in the LLWUP unit -> LLWU_HAL_SetExternalInputPinMode(LLWU_BASE,kLlwuExternalPinDisabled, (llwu_wakeup_pin_t)BOARD_SW_LLWU_EXT_PIN);

Are all the previous actions necessary and sufficient???

Will the interrupt of the pin change requested or simply ignored in such initialization???

Thank You...

Pietro

ラベル(1)
タグ(4)
1 解決策
375件の閲覧回数
mjbcswitzerland
Specialist V

Pietro

See http://www.utasker.com/kinetis/FRDM-K64F.html

and

http://www.utasker.com/kinetis/LLWU.html

The LLWU has not clock gating. The unit's operation is activated when the processor enters the LLS mode.

You just need to enable the LLWU pin (or LLWU module) plus its interrupt to the NVIC.

Regards

Mark

Kinetis: µTasker Kinetis support

K64: µTasker Kinetis FRDM-K64F support / µTasker Kinetis TWR-K64F120M support

For the complete "out-of-the-box" Kinetis experience and faster time to market

元の投稿で解決策を見る

1 返信
376件の閲覧回数
mjbcswitzerland
Specialist V

Pietro

See http://www.utasker.com/kinetis/FRDM-K64F.html

and

http://www.utasker.com/kinetis/LLWU.html

The LLWU has not clock gating. The unit's operation is activated when the processor enters the LLS mode.

You just need to enable the LLWU pin (or LLWU module) plus its interrupt to the NVIC.

Regards

Mark

Kinetis: µTasker Kinetis support

K64: µTasker Kinetis FRDM-K64F support / µTasker Kinetis TWR-K64F120M support

For the complete "out-of-the-box" Kinetis experience and faster time to market