cancel
Showing results for 
Search instead for 
Did you mean: 

Configuration of unused GPIO pins in STM32F103RBT6

ajishgopalr
Associate
Posted on October 15, 2012 at 08:40

Hello Members,

I am using STM32F103RBT6 microcontroller. I would like to know which is the best configuration for unused GPIO pins inorder to save power.

Waiting for a reply...

Embedded_Geek

6 REPLIES 6
toantq3
Associate II
Posted on October 15, 2012 at 09:30

I think, GPIOs are set Output pull down is best way.

 

From: gopal.ajish

Posted: Monday, October 15, 2012 8:40 AM

Subject: Configuration of unused GPIO pins in STM32F103RBT6

Hello Members,

I am using STM32F103RBT6 microcontroller. I would like to know which is the best configuration for unused GPIO pins inorder to save power.

Waiting for a reply...

Embedded_Geek

emalund
Associate III
Posted on October 15, 2012 at 14:55

if you are concerned with power usage, set them as input

Erik
Posted on October 15, 2012 at 15:38

if you are concerned with power usage, set them as input

 

Second that. Floating input.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on October 16, 2012 at 09:22

>> if you are concerned with power usage, set them as input

> Second that. Floating input.

You surely are joking, gentlemen.

JW

zzdz2
Associate II
Posted on October 16, 2012 at 10:00

> You surely are joking, gentlemen.

Sure they are, digital floating input can drain some power, analog input may be better, pulldown seems best.

leventeyigel52
Associate II
Posted on October 16, 2012 at 10:27

I think u could close the clock signal, which you don't use

RCC_APB2PeriphClockCmd(uint32_t RCC_APB2Periph, FunctionalState NewState)

for ex:

RCC_APB2PeriphClockCmd(GPIOE , DISABLE);