STM32MP157F-DK2
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:
- STM32MP157F web page is the first resource for documentation on the chip
- STM32MP157F datasheet gives an exhaustive overview on the chip
- STM32MP157 reference manual provides information for driver writing
- stm32mpu wiki has a large amount of documentation for all levels of development
Board documentation:
- STM32MP157F-DK2 web page is again the first resource for board documentation
- STM32MP157 discovery kits data brief is a good quick overview
- STM32MP157 discovery kits user manual has everything you need to know about the board
- stm32mpu wiki Category:STM32MP15 Discovery kits re-iterates some of user manual in wiki format
- stm32mpu wiki STM32MP157x-DK2 Getting started book is a good guide for getting set up
- STM32MP157F-DK2 CAD resources has schematics and PCB files
LCD documentation:
- Screen is FRD397B2509 TFT LCD
- Driver is OTM8009A
- Touch controller is FT6236
Chip documentation:
- STPMIC1 data brief
- STPMIC1 datasheet
- CS42L51 web page
- CS42L51 datasheet
- Sil9022 datasheet
- MT41K256M16 web page
- MT41K256M16 datasheet
- RTL8211F web page
- RTL8211F datasheet ("confidential")
- LBEE5KL1DX web page
- LBEE5KL1DX data sheet
- ST-LINK/V2 web page
- ST-LINK/V2 data brief
- OTM8009A datasheet ("confidential")
- FT6236 datasheet ("confidential")
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.