Feather STM32F405 Express

Overview

The Adafruit Feather STM32F405 is an ARM Development board in the Feather standard layout, sharing peripheral placement with other devices labeled as Feathers or FeatherWings. The board is equipped with a lithium ion battery charger, native USB C connector, 2MB of external flash memory, and SD card socket.

Hardware

  • STM32F405 Cortex M4 with FPU and 1MB Flash, 168MHz speed

  • 192KB RAM total - 128 KB RAM + 64 KB program-only/cache RAM

  • USB C power and data

  • LiPo connector and charger

  • SD socket on the bottom, connected to SDIO port

  • 2 MB SPI Flash chip

  • Built in NeoPixel indicator

  • I2C, UART, GPIO, ADCs, DACs

  • Qwiic/STEMMA-QT connector for fast I2C connectivity

  • SWD SMT mount region on board underside.

Supported Features

The adafruit_feather_stm32f405 board supports the hardware features listed below.

on-chip / on-board
Feature integrated in the SoC / present on the board.
2 / 2
Number of instances that are enabled / disabled.
Click on the label to see the first instance of this feature in the board/SoC DTS files.
vnd,foo
Compatible string for the Devicetree binding matching the feature.
Click on the link to view the binding documentation.
adafruit_feather_stm32f405
/
stm32f405xx

Type

Location

Description

Compatible

CPU

on-chip

ARM Cortex-M4F CPU1

arm,cortex-m4f

ADC

on-chip

STM32F4 ADC1

st,stm32f4-adc

on-chip

STM32 ADC2

st,stm32-adc

CAN

on-chip

STM32 CAN controller2

st,stm32-bxcan

Clock control

on-chip

STM32 RCC (Reset and Clock controller)1

st,stm32-rcc

on-chip

STM32 HSE Clock1

st,stm32-hse-clock

on-chip

Generic fixed-rate clock provider1 2

fixed-clock

on-chip

STM32F4 Main PLL1

st,stm32f4-pll-clock

on-chip

STM32F4 PLL I2S1

st,stm32f4-plli2s-clock

on-chip

STM32 Microcontroller Clock Output (MCO)2

st,stm32-clock-mco

Counter

on-chip

STM32 counters12

st,stm32-counter

DAC

on-chip

STM32 family DAC1

st,stm32-dac

DMA

on-chip

STM32 DMA controller (V1)2

st,stm32-dma-v1

Flash controller

on-chip

STM32 Family flash controller1

st,stm32-flash-controller

GPIO & Headers

on-chip

STM32 GPIO Controller9

st,stm32-gpio

on-board

GPIO pins exposed on Adafruit Feather headers1

adafruit-feather-header

I2C

on-chip

STM32 I2C V1 controller1 2

st,stm32-i2c-v1

I2S

on-chip

STM32 I2S controller2

st,stm32-i2s

Interrupt controller

on-chip

ARMv7-M NVIC (Nested Vectored Interrupt Controller)1

arm,v7m-nvic

on-chip

STM32 External Interrupt Controller1

st,stm32-exti

LED

on-board

Group of GPIO-controlled LEDs1

gpio-leds

Memory controller

on-chip

STM32 Battery Backed RAM1

st,stm32-bbram

MMC

on-chip

STM32 SDMMC Disk Access1

st,stm32-sdmmc

MTD

on-chip

STM32F4 flash memory1

st,stm32f4-nv-flash

on-board

Properties supporting Zephyr spi-nor flash driver (over the Zephyr SPI API) control of serial flash memories using the standard M25P80-based command set1

jedec,spi-nor

PHY

on-chip

This binding is to be used by all the usb transceivers which are built-in with USB IP2

usb-nop-xceiv

Pin control

on-chip

STM32 Pin controller1

st,stm32-pinctrl

PWM

on-chip

STM32 PWM12

st,stm32-pwm

Reset controller

on-chip

STM32 Reset and Clock Control (RCC) Controller1

st,stm32-rcc-rctl

RNG

on-chip

STM32 Random Number Generator1

st,stm32-rng

RTC

on-chip

STM32 RTC1

st,stm32-rtc

Sensors

on-chip

STM32 quadrature decoder6

st,stm32-qdec

on-chip

STM32 family TEMP node for production calibrated sensors with two calibration temperatures1

st,stm32-temp-cal

on-chip

STM32 VREF+1

st,stm32-vref

on-chip

STM32 VBAT1

st,stm32-vbat

Serial controller

on-chip

STM32 USART1 3

st,stm32-usart

on-chip

STM32 UART2

st,stm32-uart

SMbus

on-chip

STM32 SMBus controller3

st,stm32-smbus

SPI

on-chip

STM32 SPI controller2 2

st,stm32-spi

SRAM

on-chip

Generic on-chip SRAM1

mmio-sram

Timer

on-chip

ARMv7-M System Tick1

arm,armv7m-systick

on-chip

STM32 timers14

st,stm32-timers

USB

on-chip

STM32 OTGFS controller1

st,stm32-otgfs

on-chip

STM32 OTGHS controller1

st,stm32-otghs

Watchdog

on-chip

STM32 watchdog1

st,stm32-watchdog

on-chip

STM32 system window watchdog1

st,stm32-window-watchdog

Connections and IOs

The Adafruit Feather STM32F405 Express Learn site [1] has detailed information about the board including pinouts [2] and the schematic [3].

System Clock

The STM32F405 is configured to use the 12MHz HSE Oscillator to produce a 168MHz system clock.

Serial Port

The STM32F405 UART 3 peripheral is available on the TX (PB10) and RX (PB11) pins.

I2C Port

The STM32F405 I2C1 peripheral is available on the SDA (PB7) and SCL (PB6) pins.

SPI Port

The STM32F405 SPI2 peripheral is available on the SCK (PB13), MI (PB14) and MO (PB15) pins.

SPI1 uses SCK (PB3), MI (PB4), MO (PB5) and SS (PA15) pins and is dedicated to the 2 MB SPI Flash chip.

Programming and Debugging

The adafruit_feather_stm32f405 board supports the runners and associated west commands listed below.

flash debug attach debugserver rtt
dfu-util ✅ (default)
jlink ✅ (default)
openocd

DFU-Util programming is supported through Zephyr by default. Set up of the built in DFU-Util bootloader is possible by following the instructions on the Learn website [4].

Flashing

  1. Build the Zephyr kernel and the Blinky sample application:

    west build -b adafruit_feather_stm32f405 samples/basic/blinky
    
  2. On the Adafruit Feather STM32F405, connect the 3.3V pin to the B0 boot pin with a jumper wire.

  3. Flash the image:

    west build -b adafruit_feather_stm32f405 samples/basic/blinky
    west flash
    

    You should see the D13 LED blinking.

References