STM32MP157F-DK2

From JookWiki

The STM32MP157F-DK2 is a development board starring the STM32MP157F system on a chip and a ton of peripherals.

This board is a newer revision of the STM32MP157C-DK2 and as far as I can tell all STM32MP157C-DK2 hardware documentation applies to the STM32MP157F-DK2.

Almost all you need to know about this board and its chips is available without signing any kind of NDA or jumping through hoops. Very very convenient.

Specifications[edit | edit source]

Core details:

  • 32-bit Dual Core Cortex-A7 800MHz main processor
  • 32-bit Cortex-M4 coprocessor
  • 512MiB DDR3 RAM
  • 5V 3A power supplied over Type-C
  • ST-LINK/V2-1 debugging
  • $109 USD from Mouser (as of 2022-01-29)

Storage:

  • microSD card slot

Networking:

  • Wi-Fi 802.11b/g/n
  • Bluetooth Low Energy
  • 10/100/1000 Gigabit Ethernet

USB:

  • 4 USB 2.0 host type-A ports
  • Dual-role USB 2.0 host or device type-C port

Video:

  • 4 inch 480x800 LCD touch screen
  • HDMI

Audio:

  • Stereo headset jack with microphone input

Other IO:

  • Raspberry Pi 40-pin compatible header
  • Arduino Uno V3 compatible headers (3.3v only)
  • 4 user LEDs
  • 2 user buttons

Documentation[edit | edit source]

System on chip documentation:

Board documentation:

LCD documentation:

  • Screen is FRD397B2509 TFT LCD
  • Driver is OTM8009A
  • Touch controller is FT6236

Chip documentation:

Software[edit | edit source]

ST's provides STM32CubeMP1 as this board's support package. It contains:

Most of this is open source and the forks are being mainlined to the parent projects.

ST-Link can be used by the following software:

  • GNU Screen or any terminal emulator for serial connections
  • OpenOCD for JTAG

Bugs[edit | edit source]

Bugs we've found when porting the board to Buildroot:

  • You need to probe the snd_soc_cs42l51_i2c module manually to get audio running
  • The Wi-Fi uses a Broadcom chipset which can be a little buggy sometimes

Pinouts[edit | edit source]

See the STM32MP157F-DK2/40 pin pinout page for a textual description of the Pi header.