STM32MP157x-EV1 - hardware description

Revision as of 15:42, 9 January 2019 by Registered User
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:ToBeReviewedByProductMarketing

Template:ArticleMainWriter Template:ReviewersList Template:ArticleApprovedVersion


1 Article purpose[edit]

The purpose of this article is to briefly describe, for the STM32MP157C-EV1 Evaluation board:

  • How to assemble together the different elements provided in the commercial box
  • What are the different components present on the boards
  • How to connect the boards to external material
  • How to configure the board for boot
  • How to select RS232 UART or ST-Link connectors
  • What are the configurations of the connectors pins


This article is only an introduction to the STM32MP157C-EV1 Evaluation board: further information can be found in the STM32MP157C-EV1 user manual.

2 Board assembly[edit]

STM32MP157C-EV1 - board assembly

3 Board overview[edit]

Position Description
1 MB1262 motherboard
2 MB1263 daughterboard
3 MB1230 DSI 720p display
4 MB1379 daughterboard camera
5 microSD card
File:STM32MP157C-EV1 front side.png
STM32MP157C-EV1 Evaluation board front side
Board name: STM32MP157C-EV1
Position Description
50 (B1) Reset button
51 (LD2) User LED (red)[1]
52 (B2) User button (PA13)
53 (LD3) User LED (green))[1]
54 (B3) User button (PA14)
55 (LD5) User LED (blue))[1]
56 (LD4) User LED (orange))[1]
57 (B4) Wakeup button
58 (LD1) Power LED (green)[2]
59 (CN1) MB1263 power 5V-3A
60 (SW1) Boot mode selection
61 (U3) PMIC (STPMIC1A)
62 (LD6) ST-Link LED (bicolor)[3]
63 (CN4) USB micro-B (ST-Link V2-1)
64 (U4) STM32MP157 18x18
65 (U5) eMMC
66 (U6/U7) 2 x DDR3L 16 bits
67 (µSD) microSD 3.0 card (back side slot)


Position Description Position Description
10 (CN3) Ethernet 11 (CN8) Microphone MEMS daughterboard connector
12 (CN4) Speaker audio output 13 (CN5) Headset audio output
14 (U8) Audio codec (Wolfson WM8994) 15 (CN1) SPDIF RX (input)
16 (CN2) SPDIF TX (output) 17 (U5) SmartCard (back side slot)
18 (LD1) Ethernet LED (green)[4] 19 (CN6) Ethernet daughterboard connector
20 (U10) Trace connector 21 (CN11) LTDC connector
22 (CN12) RS232 (UART4) 23 (CN13) External E2P connector
24 (CN16) USB micro-AB (OTG) 25 (LD2) USB OTG LED (green)[5]
26 (LD3) USB Type-A LED (red)[6] 27 (CN17) MFX header 4 pins
28 (CN14) JTAG connector 29 (CN15) CAN FD
30 (CN18) 2 USB Type-A (host) 31 (CN20) 2 USB Type-A (host)
32 (B2) Reset button 33 (B1) Joystick
34 (CN22) Motor control connector 35 (CN21) GPIO expansion connector
4 (CN7) Camera sensor connector


Details about some LEDs:

  1. 1.01.11.21.3 LD2, LD3, LD4, LD5 (MB1263): some user LEDs are used to reflect the system activity, while the others are left free to be used by the application, as explained in LEDs and buttons on STM32 MPU boards article
  2. LD1 (MB1263): turns green if power connection established
  3. LD6 (MB1263): flashes red if ST-Link connection not established, else green
  4. LD1 (MB1262): flashes green when Ethernet connection established
  5. LD2 (MB1262): turns green when USB OTG connection established
  6. LD3 (MB1262): turns red if USB Type-A connection established

4 Board connection[edit]

The connections shown in the picture below are the ones recommended to start with the STM32MP157C-EV1 Evaluation board. As shown in the board overview, other connectors are available for this board (for example CAN). STM32MP157C-EV1 - board connections

5 Switches and jumpers[edit]

Most of default settings of the switches and jumpers shall be kept as set in the commercial box.

There are 3 main exceptions:

  • the jumpers related to UART4
  • the switches related to boot
  • the jumper JP1 that must be removed

The picture and sections below detail the main boot switches and the UART4 jumpers.

MB1263 zoom on some switches and jumpers

5.1 Boot related switches[edit]

The STM32MP157 Evaluation board can boot from different Flash devices (microSD, eMMC...); using the microSD card is recommended.

Boot modes
Boot mode Boot 2 Boot 1 Boot 0
Engineering boot 1 0 0
NOR 0 0 1
microSD card 1 0 1
eMMC 0 1 0
NAND 0 1 1
Forced USB boot
for flashing
0 0 0

The boot related switches (SW1 on the board overview picture) must be configured as illustrated by one of the following pictures:

5.2 UART4 related jumpers: RS232 or ST-Link?[edit]

The UART4 is shared exclusively between 2 connectors:

  • RS232, D-type, 9-pin connector (CN12 on the board overview picture), dedicated to communication through RS232,
  • USB micro-B (ST-Link V2-1) (CN4 on the board overview picture), dedicated to the RS232 of ST-Link V2-1 controller

The connection is switched by setting JP4 and JP5 jumpers as shown in following pictures:

File:STM32MP157C-EV1 JP4 JP5 UART4 on DB9 CN12.png
UART4 is connected to the RS232, D-type, 9-pins CN12 connector
File:STM32MP157C-EV1 JP4 JP5 UART4 on ST-Link V2-1 CN4.png
UART4 is connected to the USB micro-B ST-Link V2-1 CN4 connector

6 GPIO mapping[edit]

6.1 Motor control connector[edit]

The pins of the motor control connector (CN22 on the board overview picture) are described in the following table:

Warning white.png Warning
The pin 1 position (upper left) on this figure is the opposite compared to the board (bottom right)
Motor control connector
Description Pin number Pin number Description
Emergency Stop 1 2 GND
MC_UH 3 4 GND
MC_UL 5 6 GND
MC_VH 7 8 GND
MC_VL 9 10 GND
MC_WH 11 12 GND
MC_WL 13 14 Bus Voltage
Current A 15 16 GND
Current B 17 18 GND
Current C 19 20 GND
NTC ByPass relay 21 22 GND
Dissipative Brake 23 24 GND
5V Power 25 26 Heatsink Temperature
PFC Sync 27 28 Vdd_Micro
PFC PWM 29 30 GND
Encoder A 31 32 GND
Encoder B 33 34 Encoder Index

6.2 GPIO expansion connector[edit]

The pins of the GPIO expansion connector (CN21 on the board overview picture) are described in the following table:

Warning white.png Warning
The pin 1 position (upper left) on this figure is the opposite compared to the board (bottom right)
GPIO expansion connector
Description Pin number Pin number Description
3V3 1 2 VIN
I2C5_SDA 3 4 VIN
I2C5_SCL 5 6 GND
MCO1 7 8 USART3_TX
GND 9 10 USART3_RX
USART3_RTS 11 12 SAI2_SCKA
SDMMC3_D3 13 14 GND
SDMMC3_CK 15 16 SDMMC3_CMD
3V3 17 18 SDMMC3_D0
SPI1_MOSI 19 20 GND
SPI1_MISO 21 22 SDMMC3_D1
SPI1_SCK 23 24 SPI1_NSS
GND 25 26 RPI_GPIO7
ID_SD 27 28 ID_SC
MCO2 29 30 GND
TIM2_CH4 31 32 TIM12_CH1
TIM8_CH4 33 34 GND
SAI2_FSA 35 36 USART3_CTS
SDMMC3_D2 37 38 SAI2_SDA
GND 39 40 SAI2_SDB

6.3 JTAG connector[edit]

The pins of the JTAG connector (CN14 on the board overview picture) are described in the following table:

JTAG connector
Description Pin number Pin number Description
VDD 1 2 VDD
TRST 3 4 GND
TDI 5 6 GND
TMS 7 8 GND
TCLK 9 10 GND
------ 11 12 GND
TDO 13 14 GND
RESET 15 16 GND
------ 17 18 GND
------ 19 20 GND

6.4 User buttons and LEDs[edit]

The GPIO assignments for the user buttons and LEDs are described in the following table. Refer to LEDs and buttons on STM32 MPU boards article to get information on the functional mapping for each one.

GPIO for user buttons and LEDs
LED color and label Button label GPIO
Green LD3 (*) USER1 (*) PA14
Red LD2 (*) USER2 (*) PA13
Orange LD4 - PD8
Template:Blue LD5 - PD9
Warning white.png Warning
(*) Both a LED and a button are connected to the same GPIO, with inverted logic for the LED control (so the LED is switched on when the GPIO output is set to low).