Skip to main content
Visitor II
May 17, 2020
Solved

SMT32 L4 - Using pin BOOT0 as digital output

  • May 17, 2020
  • 1 reply
  • 882 views

I am doing a pcb layout with a STM32L432KCU6 and using 100% of its 32 pins in my project. BOOT0 signal is on pin 31 on that MCU and in my schematic I have a digital output on that pin (PH3). There is no pull-down/up on BOOT0 on my design.

Programming will be via SWIO/SWCLK/SWO/RST/VCC/GND and I want it always boot from flash.

Is there any way to program the chip (write some config bits) to disable the use of pin BOOT0? How is that done?

I am new to SMT32 micros.

REgards.

    This topic has been closed for replies.
    Best answer by TDK

    Yes, take a look at the option bytes. Set nBOOT0=1, nSWBOOT0=0 to always boot from flash.

    0693W000001cOS9QAM.png

    1 reply

    TDKAnswer
    Super User
    May 18, 2020

    Yes, take a look at the option bytes. Set nBOOT0=1, nSWBOOT0=0 to always boot from flash.

    0693W000001cOS9QAM.png