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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
898 Views
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 Kudos
Reply
1 Solution
698 Views
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.

View solution in original post

0 Kudos
Reply
1 Reply
699 Views
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 Kudos
Reply