Difference between revisions of "STM32F429I Discovery"

From PaparazziUAV
Jump to navigation Jump to search
(can be deleted since this board would require removing the lcd/ram to be useable as autopilot)
 
Line 73: Line 73:


[[Category:Autopilots]]
[[Category:Autopilots]]
[[Category:DeleteMe]]

Latest revision as of 03:50, 31 May 2014

Stm32f429i discovery.jpg Stm32f429i discovery rear.jpg

Overview

The LCD and RAM require nearly all of the pins and no one has testet this board / or ported paparazzi to it

  • 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 on SPI5 (currently not supported)
  • 2.4" QVGA TFT LCD with

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

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