2019-04-23 04:41 AM
In the manual, it states that it is better to change an input pin to analog to disable the Schmidt trigger input current consumption during STOP mode. How much does this save? Should the pull-up / pull-down be disabled too?
If a GPIO pin is configured as an output, will this use more current than when it is configured as analog?
If a GPIO pin is configured for an Alternative Function (input), does it use more current than when it is configured as analog?
If a GPIO pin is configured for an Alternative Function, but the peripheral is not initialized, does it use more current?
Thanks in advance,
Pieter
Solved! Go to Solution.
2019-04-23 04:51 AM
Hi @Pieter Conradie ,
The AN4899 (STM32 GPIO configuration for hardware settings and low-power consumption) provides a detailed description of the various GPIO modes. You will find there some guidelines for power optimization.
Have a look, you will find answers to some of your questions there.
-AMel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2019-04-23 04:51 AM
Hi @Pieter Conradie ,
The AN4899 (STM32 GPIO configuration for hardware settings and low-power consumption) provides a detailed description of the various GPIO modes. You will find there some guidelines for power optimization.
Have a look, you will find answers to some of your questions there.
-AMel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.