cancel
Showing results for 
Search instead for 
Did you mean: 

SMT32 L4 - Using pin BOOT0 as digital output

JPehl.1
Associate III

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.

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

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

0693W000001cOS9QAM.png

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

1 REPLY 1
TDK
Guru

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

0693W000001cOS9QAM.png

If you feel a post has answered your question, please click "Accept as Solution".