STM32F4-Discovery Board

stm32f4discovery_boardThe STM32F4-DISCOVERY is a inexpensive demo board from ST Microelectronics.  It can be purchased for around $20.

FEATURES

  • STM32F407VGT6 Microcontroller running up to 168MHz featuring 1MB Flash memory and 196KB SRAM.
  • Eight LEDs
  • Two Push Buttons
  • CS43L22 Audio DAC with Class D Amplifier
  • MP45DT02 Omni-Directional Digital Microphone.
  • LIS302D 3-Axis Motion Sensor with Digital Output.
  • Micro-USB with On-The-Go Functionality
  • Dual 50-Pin Expansion Headers
  • On-Board ST-LINK/V2

PERIPHERAL CONNECTIONS

LEDs
MCU PINNAMEVALID STATECOLORPOSITION
PD13LD3HIGHORANGEUP
PD14LD5HIGHREDRIGHT
PD15LD6HIGHBLUEDOWN
PD12LD4HIGHGREENLEFT

Buttons
PINNAMEBUTTON COLORDE-BOUNCEFUNCTION
PA0UserBlueNoTriggers a 'HIGH' on pin PA0
NRSTResetBlackYesResets STM32F407VGT6 Chip

CL43L22
Audio DAC
MCU PINSIGNAL NAMEDIRECTIONVALID STATEFUNCTION
PB6SCLI/O-I2C Serial Control Data
PB9SDAINHIGHI2C Serial Clock
PC7MCLKIN?Master Clock
PC10SCLKI/ORISING EDGEI2S Serial Clock
PC12SDININ-I2S Serial Audio Data
PA4LRCKI/OLOW (Left) / HIGH (Right)I2S Left/Right Clock
PD4RESETINLOWReset

MP45DT02
Omni-Directional Digital Microphone
MCU PINSIGNAL NAMEDIRECTIONVALID STATEFUNCTION
PC3DOUTOUT-PDM Data Output
PB10CLKINRISING EDGEClock Input

LIS302D
3-Axis Motion Sensor
MCU PINSIGNAL NAMEDIRECTIONVALID STATEFUNCTION
PA5SCL / SPCINRISING EDGEI2C / SPI Clock
PA6SDOOUT-SPI Data Out
PA7SDA / SDII/O-I2C Data / SPI Data In
PE3CSINLOWChip Select
PE0INT1OUTHIGHInterrupt 1
PE1INT2OUTHIGHInterrupt 2

USB On-the-Go
MCU PINFUNCTION
PA9Vcc
PA10ID
PA11-Data
PA12+Data
PC0/Power On
PD5/Over Current

DRIVER INSTALLATION

Since the STM32F4-DISCOVERY board comes with a ST-LINK/V2 interface, drivers are required for most versions of Windows in order to effectively communicate with and program the board.

NOTE:  The following instructions are for Windows 7 64-bit and are deemed to be accurate as of July 3, 2015.

  1. Download the ST-LINK USB driver for Windows.  (http://www.st.com/content/st_com/en/products/embedded-software/developboardment-tool-software/stsw-link009.html)stlink_get_software_link
  2. Unpack the newly downloaded “en.stsw-link009” file.
  3. Find and double-click on the file “stlink_winusb_install.bat”.
  4. Connect the ST32F4-DISCOVERY to the computer via the Mini-USB located at the “top” of the board.