STM32F429I Discovery

From PaparazziUAV
Revision as of 12:50, 20 October 2013 by NeoFromMatrix (talk | contribs) (another discovery board :D)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Stm32f429i discovery.jpg

Overview

  • STMicroelectronics STM32F429ZIT6 Cortex M4 MCU, up to 168Mhz with floating point unit (FPU), 256 KB external SDRAM with 64 Mbits, 2048 KB Flash
  • on-board STLinkv2 with SWD header (capable of programming itself or an external MCU)
  • ob-board power regulator for the MCU (3V or 5V input)
  • 1 x user push button
  • 2 x LED (green, red)
  • x x UART
  • x x SPI
  • x x I2C
  • 1 x PPM input
  • x x ADC input, which one is used for bat voltage
  • 119,3 x 66 mm PCB
  • 6 x status LED (USB STLinkV2, STlinkV2 green, power, USB power, USB OTG green, USB OTG red)
  • L3GD20 MEMS 3 axis accelerometer (currently not supported)
  • 2.4" QVGA TFT LCD

Pinout

File:Stm32f429i discovery left bank.png
left pin bank in relation to paparazzi
File:Stm32f429i discovery right bank.png
right pin bank in relation to paparazzi

The Discovery has a male 128 pin (2x32pin on both sides) pinout.

LED

UART

SPI

I2C

ADC

PWM

PPM Input

Spektrum

Jumper

pin jumper

  • JP1 current consumption of the MCU can be measured here
  • CN3 set: STLinkV2 is connected to onboard MCU, unset: STLinkV2 is connected to SWD header to program external MCU

solder jumper

  • SB17 bypass for JP1

close this, if JP1 gets loose due vibrations, the MCU will not be supplied with power and the UAV WILL crash !

Firmware Flashing

FLASH_MODE=DFU is set as default

STM32F429I Discovery can mainly be programmed in two different ways:

DFU

  • with the MCU native (embedded in rom) DFU USB bootloader over the micro USB AB connector
  • required hardware: USB to micro and USB to mini usb cable
  • required software: dfu-util
  • push MCU in DFU mode: connect mini and micro USB to PC, connect pin BOOT0 with 3V, press reset button(LED LD7 should light up now), disconnect BOOT0 to 3V (if this does not work, also connect BOOT1 (PB2) with GND)
  • more information: DFU page

SWD

  • 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