2018-03-25 09:30 PM
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 #stm32f072c8t62018-03-25 11:27 PM
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.
2018-03-26 05:49 AM
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.
2018-03-26 08:02 AM
Is the resistor necessary or can I just directly connect it to ground?
2018-03-26 08:27 AM
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.
2018-03-26 09:14 AM
If you ground the pin it makes the part very difficult to program/recover in production or field environments. The System Loader provides access via USART, USB, etc depending on the part/family.
If you don't want staff from those departments to come and throttle you for making a product that is hard to build/test/debug/repair you really want to think about what you're doing, and how you're going to provide access to pins to facilitate their work, and keep options open.
2018-03-26 11:14 AM
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.
2018-03-26 01:33 PM
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.
2018-03-26 07:02 PM
I use a 10K on all my boards without issue.
I use the SWD connector, any board can be reprogrammed in the factory.
Bill Gates decided that he cant make the program work first time,
He didn't invent the term UPDATE FIRMWARE, but he took to it like sump oil on a tissue, inseparable
I think it is a very poor effort that a product needs an update.
2018-03-29 02:38 AM
You can connect it to ground directly. The pin is an input pin only (no output) for selecting the boot memory. If you always boot from flash, you can just ground the pin. And of course, you will always use SWD for programming.This is my case for all STM32 designs.