Skip to main content
Justin K.
Associate II
March 26, 2018
Question

Pulling BOOT0 Pin Down

  • March 26, 2018
  • 3 replies
  • 12075 views
Posted on March 26, 2018 at 06:30

Hello,

I was wondering if the resistor to pull down the BOOT0 pin is necessary for normal operation, assuming you want to boot from flash memory. I was trying to find on the datasheet (STM32F0 series) to try and find more about the pin information but all I could find was the maximum allowed voltage on the pin.

Thank you for your help.

#stm32f0 #boot0 #stm32f072c8t6
This topic has been closed for replies.

3 replies

AvaTar
Senior III
March 26, 2018
Posted on March 26, 2018 at 08:27

I was wondering if the resistor to pull down the BOOT0 pin is necessary for normal operation, assuming you want to boot from flash memory.

I would say yes.

See the Reference Manual for your part, which should be RM0091

http://www.st.com/resource/en/reference_manual/dm00031936.pdf

, section Boot configuration (page 52).

I was trying to find on the datasheet (STM32F0 series) to try and find more about the pin information but all I could find was the maximum allowed voltage on the pin.

ST uses to separate electrical data in the Datasheet, and 'logical' data (behavior of core & peripherals) into the Reference Manual.

Other vendors put all in one document.

Justin K.
Justin K.Author
Associate II
March 26, 2018
Posted on March 26, 2018 at 15:02

Is the resistor necessary or can I just directly connect it to ground?

AvaTar
Senior III
March 26, 2018
Posted on March 26, 2018 at 15:27

As Clive suggested, you probably want an external pull-down, to get reliable startup behavior.

And a value large enough to easily override it if you need to start into the System Bootloader mode (e.g. to do a mass-erase).

A direct connection to GND might make this troublesome.

Tesla DeLorean
Guru
March 26, 2018
Posted on March 26, 2018 at 14:49

You really want an external pull down so it doesn't float and have threshold conditions if the supply ramps slowly. Seen a bunch of posters with issues when they failed to do this.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
andrewandrew91
Associate II
March 26, 2018
Posted on March 26, 2018 at 20:14

To ensure stability on a finished product, yes, always add the pull-down resistor to the boot0 pin. 

If you are simply looking for a practical resistor value I suggest using a 100 K pull-down resistor.  This is the standard value I use with all of our designs and have never had an issue reported across a significant number of units.  Your mileage may vary.

Tesla DeLorean
Guru
March 26, 2018
Posted on March 26, 2018 at 20:33

I'd be a bit more aggressive than that, the weak poly-silicon resistors in the design are ~40K, and you're not looking for large RC constants on pins sampled at reset. You're looking for a pretty definitive state.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..