STM32F3 Discovery

From PaparazziUAV
Revision as of 04:43, 3 August 2017 by Openuas (talk | contribs)
Jump to navigation Jump to search

STM32F3Discovery front.jpg


Reading this page does not mean all is finished, wrapped up and done... no, currently Paparazzi enthusiast have spend their own cash on some of the STMF3 boards. So please join us in our quest and help developing and testing.

Current development status see git page

A redux of the pull request in the works as well a validation test with this hardware flying a representative quadcopter and one in a simple fixedwing.


  • STMicroelectronics STM32F303VCT6 Cortex M4 MCU, up to 72Mhz with floating point unit (FPU), 48 KB RAM, 256 KB Flash
  • on-board STLinkv2 with SWD header (capable of programming onboard or external MCU)
  • on-board power regulator for the MCU (3V or 5V Input)
  • 1 x user push button
  • 8 x LED (2x red, 2x blue, 2x green, 2x orange)
  • x x UART
  • x x SPI
  • x x I2C
  • x x ADC inputs (one is used for BAT voltage)
  • 1 x PPM input
  • 1 x Spektrum input (with bind pin)
  • 97 x 66 mm PCB
  • 3 x status LED (USB red, USB green, power)
  • LSM303DLH, MEMS 3 axis accelerometer and 3D axis magnetometer
  • L3GD20 MEMS3 axis gyroscope

I/O overview

STM32F3Discovery pinout.jpg




Firmware Flashing

FLASH_MODE=STLINK is set as default

STM32F3 Discovery can mainly be programmed in two different ways:


  • with onboard STLinkV2 over SWD
  • required hardware: usb to mini USB cable
  • required software: st_flash and st_util from Texane
  • more information: STLink page


  • with the MCU native (embedded in rom) DFU USB bootloader over the mini USB connector
  • required hardware: USB to mini usb cable
  • required external software: dfu-util
  • push MCU in DFU mode: connect user mini (not STLink) USB to PC, connect pin BOOT0 with 3V, press reset button, disconnect BOOT0
  • more information: DFU page


None, yet, but if you have m, add 'm please


There is work done on a modded STMF3Discovery board with main MCu removed and a STMF373 processor (on 48ins) added as replacment. Also various other STM32F3 based boards and complete aircraft are available at devs. The plan is to also support those boards after a succesful testfligts with the Discovery boards