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?

跳至解决方案
947 次查看
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 解答
747 次查看
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 回复
748 次查看
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 项奖励
回复