Getting started with STM32F407-VGT6 development board + Arduino IDE + Mac OSX
AndySymons Fri Sep 28, 2018 6:03 pm
I am starting this topic because I think this board — which I will call the “STM32F407VGT6 development board” (see picture) — deserves a specific area on the forum. Clones are sold under several brand names from China — currently at £7.27 on eBay.
Although the STM32F4xxx MCUs are mentioned in plenty of snippets around this forum and other sites, I found it hard as a newcomer to get the overview and put the details in sequence to get started, especially for the Mac OSX environment. I will share here my tested outcomes to help others get started quicker and hope to have further discussions about projects using this board.
Why this processor?
• 168MHz clock (plus an additional 32MHz oscillator for the real-time clock)
• 1 Mbyte of Flash memory
• LCD parallel interface, 8080/6800 modes
• Low-power operation
• 3×12-bit, 2.4 MSPS A/D converters
• 2×12-bit D/A converters
• Up to 17 timers: up to twelve 16-bit and two 32- bit timers up to 168 MHz
• Serial wire debug (SWD) & JTAG interfaces
• Up to 77 I/O ports, all with interrupt capability (on this board)
• Up to 3 × I2C interfaces
• Up to 4 USARTs/2 UARTs (10.5 Mbit/s)
• Up to 3 SPIs (42 Mbits/s)
• 2 × CAN interfaces (2.0B Active)
• SDIO interface
• USB 2.0 full-speed device/host/OTG controller with on-chip PHY
• USB 2.0 high-speed/full-speed device/host/OTG controller
• 10/100 Ethernet MAC with dedicated DMA: supports IEEE 1588v2 hardware, MII/RMII
• True random number generator
In short, it knocks the spec for the Arduino Mega into a cocked hat!
The term “up to” means that these features cannot all be used at the same time due to the sharing of pins, but with a bit of planning most of them can. See the datasheet for details: https://www.st.com/resource/en/datasheet/dm00037051.pdf
Why this board?
I call it a “development board” because it has less on it that other “Discovery” boards, or STM’s own NUCLEO series; so instructions related to those boards are not usually applicable. It has the basics needed to make the processor work, and is in that sense comparable to Arduino boards or the Maple Mini for the STM32F1. It measures just 58mm x 45 mm — so bigger than the maple Mini or Arduino Micro, but still a little smaller than the Arduino Uno or Mega. It is therefore a good candidate for building into projects.
The processor on this board is the STM32F407VGT6 — i.e. the version with camera interface, Ethernet, 1Mb flash memory and LQFP-100 package. Besides the MCU chip, the board provides a micro USB port fully-connected to the on-chip USB interface (PA11, PA12) and can provide the power supply; a 5V to 3.3V regulator; two oscillators; two push-buttons (one ‘reset’, one for the user program); two LEDs (one for ‘power on’, one for the user program), and jumpers for Boot0 and Boot1. The schematic can be downloaded from http://dubstylee.net/v/wp-content/uploa … 07VGT6.png [Thanks to forum user ‘flodejr’ for this link].
In further posts, I will give validated instructions on how to upload a ‘blink’ program to this board from Arduino IDE on Mac OSX.
Watch this space… ![]()
