Should I set all other GPIO to input mode before going to VLLS0?

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

Should I set all other GPIO to input mode before going to VLLS0?

ソリューションへジャンプ
923件の閲覧回数
markosiponen
Contributor III

My application is going to use VLLS0 and wake up on a falling edge on PTD4/LLWU_P14.

Should I set all other GPIO to input mode before going to VLLS0?

AN4503 says the following:

Reduce pin loading of the MCU. When the MCU sources current through the output pins, the power is being

sourced through MCU_VDD. This is most evident when you output high frequency signals to an output pin as

you might with the FlexBus clock and address/data pins.

0 件の賞賛
返信
1 解決策
723件の閲覧回数
eduardo_viramon
NXP Employee
NXP Employee

markosiponen,

There is no need to modify GPIO settings. Remember that Kinetis devices have a pin mux that controls the pin functions, and they are not configured as GPIO by default. Any unused pin should simply not be configured and that'll be the least drain. In the case of hardware, best to keep it unconnected.

The note in the app note refers to pins that are already connected as outputs. What it is recommending is that to save power, those used pins should be configured to the state that drains least current, this state is different from circuit to circuit.

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
724件の閲覧回数
eduardo_viramon
NXP Employee
NXP Employee

markosiponen,

There is no need to modify GPIO settings. Remember that Kinetis devices have a pin mux that controls the pin functions, and they are not configured as GPIO by default. Any unused pin should simply not be configured and that'll be the least drain. In the case of hardware, best to keep it unconnected.

The note in the app note refers to pins that are already connected as outputs. What it is recommending is that to save power, those used pins should be configured to the state that drains least current, this state is different from circuit to circuit.

0 件の賞賛
返信