Electronic – STM32F303K8T6 custom board

circuit-designmicrocontrollerstm32swd

I try to make a custom board for the STM32F303K8T6 and I am not sure if I do it right. Actually the design is oriented on the STM32F3Discovery. I will not run time critical applications so that I don't need an external oscillator. To flash and debug, I want to use the SWD, but there I am not sure, if I really need the V3.3 pin? Is this PIN not to power the board with the SWD? So when I activate the voltage regulator when I flash, this should be redundant, right?

Schematic:

enter image description here

Best Answer

With SWD or JTAG you don't need to power the device for it to flash. But you do have to power the device somehow while flashing. I use JTAG and SWD and built a board with a jumper to either power it from the ST-link or use the power on the board (I think you might be able to buy these).

Its probably better to not use both to power because the regulators on the board and the flash tool are not going to be exactly the same voltage and you could get power flowing from one to the other. So put an option on the board or flash tool to select use.