Skip to content

Creating a FlyingF4 from scratch

Murilo Pontes edited this page Jun 1, 2015 · 22 revisions

Step by step

  1. Buy an STM32F4Discovery
  2. Buy a shield with MPU6050, HMC5883, MS5611: GY-86 is a good canidate
  3. Wiring
  4. Flash the bootloader
  5. Flash the firmware
  6. See lilvinz setup

You now have a fully functional FlyingF4. Enjoy!

Diagnostics

Blink codes for the red LED

  • 1 pulse - flash chip
  • 2 pulses - MPU6050
  • 3 pulses - HMC5883
  • 4 pulses - MS5611
  • 5 pulses - gyro I2C bus locked
  • 6 pulses - mag/baro I2C bus locked

Notes about current release

Currently UART4, UART5 and ADC is not implemented.

External SPI flash is disabled in default build.

SBUS input in UART1 is not working.

UART1 is RX only

Pinout

Flying F4 pinout

Clone this wiki locally