Difference between revisions of "STM32MP157C-EV1 - hardware description"

[quality revision] [quality revision]
m
m
 

This article provides an overview of STM32MP157x-EV1 Evaluation boards.

1 Article purpose[edit]

This article briefly describes:

  • 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/V2-1 connectors
  • What are the configurations of the connectors pins

This article is valid both for the STM32MP157A-EV1 and STM32MP157C-EV1 Evaluation boards: the part numbers are specified in the STM32MP15 microprocessor part numbers article.

Warning.png This article is only an introduction to the STM32MP157x-EV1 Evaluation board. Detailed information can be found in the STM32MP157x-EV1 evaluation board user manual.

2 Board assembly[edit]

The STM32MP157x-EV1 Evaluation boards packages (STM32MP157A-EV1 and STM32MP157C-EV1) include all the items listed below.

Out of the STM32MP157x-EV1 box
STM32MP157A-EV1 shown here (picture is not contractual)
Position Description
1 MB1262 motherboard
2 MB1263 daughterboard
3 MB1230 DSI 720p display
4 MB1379 daughterboard camera
5 microSD card
6 Power supply block (5V, 3A)


The following figures explain how to assemble these different items to get the STM32MP157x-EV1 Evaluation boards.

STM32MP157x-EV1 Evaluation board assembly
STM32MP157A-EV1 shown here (picture is not contractual)
STM32MP157x-EV1 Evaluation board assembled
STM32MP157A-EV1 shown here (picture is not contractual)

3 Board overview[edit]

Position Description
1 MB1262 motherboard
2 MB1263 daughterboard
3 MB1230 DSI 720p display
4 (CN7) MB1379 daughterboard camera
5 microSD card
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)[LEDs 1] 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)[LEDs 2]
26 (LD3) USB Type-A LED (red)[LEDs 3] 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
STM32MP157x-EV1 Evaluation board front side
STM32MP157A-EV1 shown here (picture is not contractual)
Position Description Position Description
50 (B1) Reset button 51 (LD2) User LED (red)[LEDs 4]
52 (B2) User button (PA13) 53 (LD3) User LED (green)[LEDs 4]
54 (B3) User button (PA14) 55 (LD5) User LED (blue)[LEDs 4]
56 (LD4) User LED (orange)[LEDs 4] 57 (B4) Wakeup button
58 (LD1) Power LED (green)[LEDs 5] 59 (CN1) MB1263 power 5V-3A
60 (SW1) Boot mode selection 61 (U3) PMIC (STPMIC1A)
62 (LD6) ST-LINK/V2-1 LED (bicolor)[LEDs 6] 63 (CN4) USB micro-B (ST-LINK/V2-1)
64 (U4) STM32MP157x 18x18 65 (U5) eMMC
66 (U6/U7) 2 x DDR3L 16 bits 67 (µSD) microSD 3.0 card (back side slot)


Details about some LEDs:

  1. LD1 (MB1262): flashes green when Ethernet connection established
  2. LD2 (MB1262): turns green when USB OTG connection established
  3. LD3 (MB1262): turns red if USB Type-A connection established
  4. 4.04.14.24.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
  5. LD1 (MB1263): turns green if power connection established
  6. LD6 (MB1263): flashes red if ST-LINK/V2-1 connection not established, else green

4 Board connection[edit]

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


MB1262 motherboard MB1263 daughterboard: STM32MP157x 18x18  PMIC  DDR3 MB1230 DSI 720p display MB1379 daughterboard camera MicroSD card slot MB1263 power 5V-3A USB micro-B (ST-LINK/V2-1) → PC virtual COM port and debug Display leds Reset button 2 x USB type A (host) → E.g. mouse  keyboard  USB driver... 2 x USB type A (host) → E.g. mouse  Keyboard  USB driver... UART → PC console Ethernet → Network
STM32MP157x-EV1 Evaluation board connections
STM32MP157A-EV1 shown here (picture is not contractual)

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 STM32MP157x-EV1 Evaluation boards 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:

Engineering boot
Boot from NOR
Boot from microSD card
Boot from eMMC
Boot from NAND
Forced USB boot for flashing

5.2 UART4 related jumpers: RS232 or ST-LINK/V2-1?[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:

UART4 is connected to the RS232, D-type, 9-pins CN12 connector
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.
Due to the sharing of some IOs by multiple peripherals, the motor control interface is not enabled by default, and the motor control cannot be operated simultaneously with the camera, audio codec, CAN and GPIO expansion (GPIO6, 7 and 12): more details (e.g. enabling the motor control interface) in the STM32MP157x-EV1 evaluation board user manual.

Warning.png The pin 1 position (upper left) on this figure is the opposite compared to the board (bottom right)
Motor control connector
Description Function STM32 pin Pin Pin STM32 pin Function Description
Emergency Stop TIM8_BKIN PA6 1 2 - - GND
MC_UH TIM8_CH1 PI5 3 4 - - GND
MC_UL TIM8_CH1N PH13 5 6 - - GND
MC_VH TIM8_CH2 PI6 7 8 - - GND
MC_VL TIM8_CH2N PH14 9 10 - - GND
MC_WH TIM8_CH3 PI7 11 12 - - GND
MC_WL TIM8_CH3N PH15 13 14 PA3 ADC_1_IN15 Bus Voltage
PhaseA current ADC_1_IN6 PF12 15 16 - - GND
PhaseB current ADC_1_IN0 ANA0 17 18 - - GND
PhaseC current ADC_2_IN1 ANA1 19 20 - - GND
NTC ByPass GPIO PF3 21 22 - - GND
Dissipative Brake TIM12_CH1 PH6 23 24 - - GND
5V - - 25 26 PF11 ADC_1_IN2 Heatsink Temperature
PFC Sync TIM4_ETR PE0 27 28 - - 3V3
PFC PWM TIM4_CH3 PB8 29 30 - - GND
Encoder A TIM5_CH1 PH10 31 32 - - GND
Encoder B TIM5_CH2 PH11 33 34 PH12 TIM5_CH3 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.png The pin 1 position (upper left) on this figure is the opposite compared to the board (bottom right)
GPIO expansion connector
Function STM32 pin Pin Pin STM32 pin Function
3V3 - 1 2 - 5V
GPIO2 / I2C5_SDA[EX 1] PA12 3 4 - 5V
GPIO3 / I2C5_SCL[EX 1] PA11 5 6 - GND
GPIO4 / MCO1 PI11 7 8 PB10 GPIO14 / USART3_TX
GND - 9 10 PB12 GPIO15 / USART3_RX
GPIO17 / USART3_RTS PG8 11 12 PI5 GPIO18 / SAI2_SCKA [EX 2]
GPIO27 / SDMMC3_D3 PD7 13 14 - GND
GPIO22 / SDMMC3_CK PG15 15 16 PF1 GPIO23 / SDMMC3_CMD
3V3 - 17 18 PF0 GPIO24 / SDMMC3_D0
GPIO10 / SPI1_MOSI PZ2 19 20 - GND
GPIO9 / SPI1_MISO PZ1 21 22 PF4 GPIO25 / SDMMC3_D1
GPIO11 / SPI1_SCK PZ0 23 24 PZ3 GPIO8 / SPI1_NSS
GND - 25 26 - GPIO7 / RPI_GPIO7
ID_SD / I2C2_SDA PH5 27 28 PH4 ID_SC / I2C2_SCL
GPIO5 / MCO2 PG2 29 30 - GND
GPIO6 / TIM2_CH4 PA3 31 32 PH6 GPIO12 / TIM12_CH1
GPIO13 / TIM8_CH4 PI2 33 34 - GND
GPIO19 / SAI2_FSA[EX 2] PI7 35 36 PI10 GPIO16 / USART3_CTS
GPIO26 / SDMMC3_D2 PF5 37 38 PI6 GPIO20 / SAI2_SDA[EX 2]
GND - 39 40 PF11 GPIO21 / SAI2_SDB[EX 2]
  1. 1.01.1 The I2C5 is shared between the I2C EXT connector and the GPIO expansion connector. By default, the I2C5 is connected to the I2C EXT connector thanks to Solder Bridges: more details in the STM32MP157x-EV1 evaluation board user manual.
  2. 2.02.12.22.3 The SAI2 is shared between the audio codec and the GPIO expansion connector. By default, the SAI2 is connected to the audio codec thanks to Solder Bridges: more details in the STM32MP157x-EV1 evaluation board user manual.

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
Function Pin Pin Function
Power 1 2 Power
NJTRST 3 4 GND
JTDI 5 6 GND
JTMS / SWDIO 7 8 GND
JTCK / SWCLK 9 10 GND
Pull down 11 12 GND
JTDO / SWO 13 14 GND
NRST 15 16 GND
Pull down 17 18 GND
pull down 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
Blue LD5 - PD9
Warning.png (*) 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).



This article provides an overview of STM32MP157x-EV1 Evaluation boards.

==Article purpose==
This article briefly describes:
* 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/V2-1 connectors
* What are the configurations of the connectors pins

This article is valid both for the STM32MP157A-EV1 and STM32MP157C-EV1 Evaluation boards: the part numbers are specified in the [[STM32MP15 microprocessor#Part number codification|STM32MP15 microprocessor part numbers]] article.
{{Warning|This article is only an introduction to the STM32MP157x-EV1 Evaluation board. Detailed information can be found in the [[STM32MP15 resources#UM2535resources#STM32MP157x-EV1 user manual|'''STM32MP157x-EV1 evaluation board user manual''']].}}

==Board assembly==
{{:STM32MP157C-EV1 - board assembly}}

==Board overview==
{| class="st-table"
|+ 
! Position !! Description                                               
|-
| 1  || [[MB1262]] motherboard
|-
| 2  || [[MB1263]] daughterboard
|-
| 3  || [[MB1230]] DSI 720p display
|-
| 4 (<span id{{=}}"MB1262-CN7">'''CN7'''</span>) || [[MB1379]] daughterboard camera
|-
| 5  || microSD card
|}

{| class="st-table"
|+ 
! Position !! Description !! Position !! Description
|-
| 10 (<span id{{=}}"MB1262-CN3">'''CN3'''</span>) || Ethernet
|| 11 (<span id{{=}}"MB1262-CN8">'''CN8'''</span>) || Microphone MEMS daughterboard connector
|-
| 12 (<span id{{=}}"MB1262-CN4">'''CN4'''</span>) || Speaker audio output
|| 13 (<span id{{=}}"MB1262-CN5">'''CN5'''</span>) || Headset audio output
|-
| 14 (<span id{{=}}"MB1262-CN1">'''U8'''</span>) || Audio codec (Wolfson WM8994)
|| 15 (<span id{{=}}"MB1262-CN1">'''CN1'''</span>) || SPDIF RX (input)
|-
| 16 (<span id{{=}}"MB1262-CN2">'''CN2'''</span>) || SPDIF TX (output)
|| 17 (<span id{{=}}"MB1262-U5">'''U5'''</span>) || SmartCard (back side slot)
|-
| 18 (<span id{{=}}"MB1262-LD1">'''LD1'''</span>) || Ethernet LED (green)<ref group="LEDs">LD1 (MB1262): flashes green when Ethernet connection established</ref>

|| 19 (<span id{{=}}"MB1262-CN6">'''CN6'''</span>) || Ethernet daughterboard connector
|-
| 20 (<span id{{=}}"MB1262-U10">'''U10'''</span>) || Trace connector
|| 21 (<span id{{=}}"MB1262-CN11">'''CN11'''</span>) || LTDC connector
|-
| 22 (<span id{{=}}"MB1262-CN12">'''[[#UART4 related jumpers: RS232 or ST-LINK/V2-1?|CN12]]'''</span>) || RS232 (UART4)
|| 23 (<span id{{=}}"MB1262-CN13">'''CN13'''</span>) || External E2P connector
|-
| 24 (<span id{{=}}"MB1262-CN16">'''CN16'''</span>) || USB micro-AB (OTG)
|| 25 (<span id{{=}}"MB1262-LD2">'''LD2'''</span>) || USB OTG LED (green)<ref group="LEDs">LD2 (MB1262): turns green when USB OTG connection established</ref>

|-
| 26 (<span id{{=}}"MB1262-LD2">'''LD3'''</span>) || USB Type-A LED (red)<ref group="LEDs">LD3 (MB1262): turns red if USB Type-A connection established</ref>

|| 27 (<span id{{=}}"MB1262-CN17">'''CN17'''</span>) || MFX header 4 pins
|-
| 28 (<span id{{=}}"MB1262-CN14">'''[[#JTAG connector|CN14]]'''</span>) || JTAG connector
|| 29 (<span id{{=}}"MB1262-CN15">'''CN15'''</span>) || CAN FD
|-
| 30 (<span id{{=}}"MB1262-CN18">'''CN18'''</span>) || 2 USB Type-A (host)
|| 31 (<span id{{=}}"MB1262-CN20">'''CN20'''</span>) || 2 USB Type-A (host)
|-
| 32 (<span id{{=}}"MB1262-B2">'''B2'''</span>) || Reset button
|| 33 (<span id{{=}}"MB1262-B1">'''B1'''</span>) || Joystick
|-
| 34 (<span id{{=}}"MB1262-CN22">'''[[#Motor control connector|CN22]]'''</span>) || Motor control connector
|| 35 (<span id{{=}}"MB1262-CN21">'''[[#GPIO expansion connector|CN21]]'''</span>) || GPIO expansion connector
|}

[[File: STM32MP157x-EV1_front_side.jpg | thumb | 800px | left | link= | STM32MP157x-EV1 Evaluation board front side <br> '''STM32MP157A-EV1''' shown here (picture is not contractual)]]

{| class="st-table"
|+ 
! Position !! Description !! Position !! Description
|-
| 50 (<span id{{=}}"MB1263-B1">'''B1'''</span>) || Reset button
|| 51 (<span id{{=}}"MB1263-LD2">'''LD2'''</span>) || User LED (red)<ref group="LEDs" name="User LEDs">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</ref>

|-
| 52 (<span id{{=}}"MB1263-B2">'''B2'''</span>) || User button (PA13)
|| 53 (<span id{{=}}"MB1263-LD3">'''LD3'''</span>) || User LED (green)<ref group="LEDs" name="User LEDs"/>

|-
| 54 (<span id{{=}}"MB1263-B3">'''B3'''</span>) || User button (PA14)
|| 55 (<span id{{=}}"MB1263-LD5">'''LD5'''</span>) || User LED (blue)<ref group="LEDs" name="User LEDs"/>

|-
| 56 (<span id{{=}}"MB1263-LD4">'''LD4'''</span>) || User LED (orange)<ref group="LEDs" name="User LEDs"/>

|| 57 (<span id{{=}}"MB1263-B4">'''B4'''</span>) || Wakeup button
|-
| 58 (<span id{{=}}"MB1263-LD1">'''LD1'''</span>) || Power LED (green)<ref group="LEDs">LD1 (MB1263): turns green if power connection established</ref>

|| 59 (<span id{{=}}"MB1263-CN1">'''CN1'''</span>) || MB1263 power 5V-3A
|-
| 60 (<span id{{=}}"MB1263-SW1">'''[[#Boot related switches|SW1]]'''</span>) || Boot mode selection
|| 61 (<span id{{=}}"MB1263-U3">'''U3'''</span>) || PMIC (STPMIC1A)
|-
| 62 (<span id{{=}}"MB1263-LD6">'''LD6'''</span>) || ST-LINK/V2-1 LED (bicolor)<ref group="LEDs">LD6 (MB1263): flashes red if ST-LINK/V2-1 connection not established, else green</ref> 

|| 63 (<span id{{=}}"MB1263-CN4">'''CN4'''</span>) || USB micro-B (ST-LINK/V2-1)
|-
| 64 (<span id{{=}}"MB1263-U4">'''U4'''</span>) || STM32MP157x 18x18
|| 65 (<span id{{=}}"MB1263-U5">'''U5'''</span>) || eMMC
|-
| 66 (<span id{{=}}"MB1263-U6U7">'''U6/U7'''</span>) || 2 x DDR3L 16 bits
|| 67 (<span id{{=}}"MB1263- µSD">'''µSD'''</span>) || microSD 3.0 card (back side slot)
|}<br clear=all>

Details about some LEDs:<references group="LEDs"/>


==Board connection==
The connections shown in the picture below are the ones recommended to start with the STM32MP157x-EV1 Evaluation boards. As shown in the [[#Board overview|board overview]], other connectors are available for this board (for example CAN).
{{:STM32MP157C-EV1 - board connections}}

==Switches and jumpers==
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.
[[File:MB1263_switches_jumpers.png|thumb|upright=4|center|link=|MB1263 zoom on some switches and jumpers]]

===Boot related switches===
The STM32MP157x-EV1 Evaluation boards can boot from different Flash devices (microSD, eMMC...); using the microSD card is recommended.
{| class="st-table"
|+ 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<br>for flashing || 0 || 0 || 0
|}

The boot related switches ([[#MB1263-SW1|SW1]] on the board overview picture) must be configured as illustrated by one of the following pictures:
{| class="st-table"
| [[File:STM32MP157x-EV1_boot_switches_engineering_mode.png|thumb|center|link=|Engineering boot]] || [[File:STM32MP157x-EV1_boot_switches_NOR.png|thumb|center|link=|Boot from NOR]]
|-
| [[File:STM32MP157x-EV1_boot_switches_microSD_card.png|thumb|center|link=|Boot from microSD card]] || [[File:STM32MP157x-EV1_boot_switches_eMMC.png|thumb|center|link=|Boot from eMMC]]
|-
| [[File:STM32MP157x-EV1_boot_switches_NAND.png|thumb|center|link=|Boot from NAND]] || [[File:STM32MP157x-EV1_boot_switches_forced_USB.png|thumb|center|link=|Forced USB boot for flashing]]
|}

===UART4 related jumpers: RS232 or ST-LINK/V2-1?===
The UART4 is shared exclusively between 2 connectors:
* RS232, D-type, 9-pin connector ([[#MB1262-CN12|CN12]] on the board overview picture),  dedicated to communication through RS232, 
* USB micro-B (ST-LINK/V2-1) ([[#MB1263-CN4|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:
{| class="st-table"
| [[File:STM32MP157x-EV1_JP4_JP5_UART4_on_DB9_CN12.png|thumb|center|link=|UART4 is connected to the RS232, D-type, 9-pins [[#MB1262-CN12|CN12]] connector]] || [[File:STM32MP157x-EV1_JP4_JP5_UART4_on_ST-Link_V2-1_CN4.png|thumb|center|link=|UART4 is connected to the USB micro-B ST-LINK/V2-1 [[#MB1263-CN4|CN4]] connector]]
|}

==GPIO mapping==

===Motor control connector===
The pins of the motor control connector ([[#MB1262-CN22|CN22]] on the board overview picture) are described in the following table.<br>

Due to the sharing of some IOs by multiple peripherals, '''the motor control interface is not enabled by default''', and the motor control cannot be operated simultaneously with the camera, audio codec, CAN and GPIO expansion (GPIO6, 7 and 12): more details (e.g. enabling the motor control interface) in the [[STM32MP15 resources#UM2535resources#STM32MP157x-EV1 user manual|'''STM32MP157x-EV1 evaluation board user manual''']].

{{Warning | The pin 1 position (upper left) on this figure is the opposite compared to the board (bottom right)}}

{| class="st-table" style="text-align:center;"
|+ Motor control connector
! Description !! Function !! STM32 pin !! Pin !! Pin !! STM32 pin !! Function !! Description
|-
| Emergency Stop || TIM8_BKIN || PA6 || 1 || 2 || - || - || GND
|-
| MC_UH	|| TIM8_CH1 || PI5 || 3 || 4 || - || - || GND
|-
| MC_UL	|| TIM8_CH1N || PH13 || 5 || 6 || - || - || GND
|-
| MC_VH	|| TIM8_CH2 || PI6 || 7 || 8 || - || - || GND
|-
| MC_VL	|| TIM8_CH2N || PH14 || 9 || 10 || - || - || GND
|-
| MC_WH	|| TIM8_CH3 || PI7 || 11 || 12 || - || - || GND
|-
| MC_WL	|| TIM8_CH3N || PH15 || 13 || 14 || PA3 || ADC_1_IN15 || Bus Voltage
|-
| PhaseA current || ADC_1_IN6 || PF12 || 15 || 16 || - || - || GND
|-
| PhaseB current || ADC_1_IN0 || ANA0 || 17 || 18 || - || - || GND
|-
| PhaseC current || ADC_2_IN1 || ANA1 || 19 || 20 || - || - || GND
|-
| NTC ByPass || GPIO || PF3 || 21 || 22 || - || - || GND
|-
| Dissipative Brake || TIM12_CH1 || PH6 || 23 || 24 || - || - || GND
|-
| 5V || - || - || 25 || 26 || PF11 || ADC_1_IN2 || Heatsink Temperature
|-
| PFC Sync || TIM4_ETR ||PE0 || 27 || 28 || - || - || 3V3
|-
| PFC PWM || TIM4_CH3 || PB8 || 29 || 30 || - || - || GND
|-
| Encoder A || TIM5_CH1 || PH10 || 31 || 32 || - || - || GND
|-
| Encoder B || TIM5_CH2 || PH11 || 33 || 34 || PH12 || TIM5_CH3|| Encoder Index
|}

===GPIO expansion connector===
The pins of the GPIO expansion connector ([[#MB1262-CN21|CN21]] on the board overview picture) are described in the following table:
{{Warning | The pin 1 position (upper left) on this figure is the opposite compared to the board (bottom right)}}
{| class="st-table" style="text-align:center;"
|+ GPIO expansion connector
! Function !! STM32 pin !! Pin !! Pin !! STM32 pin !! Function
|-
| 3V3 || - || 1 || 2 || - || 5V
|-
| GPIO2 / I2C5_SDA<ref group="EX" name="I2C5">The I2C5 is shared between the I2C EXT connector and the GPIO expansion connector. By default, the I2C5 is connected to the I2C EXT connector thanks to Solder Bridges: more details in the [[STM32MP15 resources#UM2535resources#STM32MP157x-EV1 user manual|STM32MP157x-EV1 evaluation board user manual]].</ref> || PA12 || 3 || 4 || - || 5V
|-
| GPIO3 / I2C5_SCL<ref group="EX" name="I2C5"/> || PA11 || 5 || 6 || - || GND
|-
| GPIO4 / MCO1 || PI11 || 7 || 8 || PB10 || GPIO14 / USART3_TX
|-
| GND || - || 9 || 10 || PB12 || GPIO15 / USART3_RX
|-
| GPIO17 / USART3_RTS || PG8 || 11 || 12 || PI5 || GPIO18 / SAI2_SCKA <ref group="EX" name="SAI2 ">The SAI2 is shared between the audio codec and the GPIO expansion connector. By default, the SAI2 is connected to the audio codec thanks to Solder Bridges: more details in the [[STM32MP15 resources#UM2535resources#STM32MP157x-EV1 user manual|STM32MP157x-EV1 evaluation board user manual]].</ref>

|-
| GPIO27 / SDMMC3_D3 || PD7 || 13 || 14 || - || GND
|-
| GPIO22 / SDMMC3_CK || PG15 ||15 || 16 || PF1 || GPIO23 / SDMMC3_CMD
|-
| 3V3 || - || 17 || 18 || PF0 || GPIO24 / SDMMC3_D0
|-
| GPIO10 / SPI1_MOSI || PZ2 || 19 || 20 || - || GND
|-
| GPIO9 / SPI1_MISO || PZ1 || 21 || 22 || PF4 || GPIO25 / SDMMC3_D1
|-
| GPIO11 / SPI1_SCK || PZ0 || 23 || 24 || PZ3 || GPIO8 / SPI1_NSS
|-
| GND || - || 25 || 26 || - || GPIO7 / RPI_GPIO7
|-
| ID_SD / I2C2_SDA || PH5 || 27 || 28 || PH4 || ID_SC / I2C2_SCL
|-
| GPIO5 / MCO2 || PG2 || 29 || 30 || - || GND
|-
| GPIO6 / TIM2_CH4 || PA3 || 31 || 32 || PH6 || GPIO12 / TIM12_CH1
|-
| GPIO13 / TIM8_CH4 || PI2 || 33 || 34 || - || GND
|-
| GPIO19 / SAI2_FSA<ref group="EX" name="SAI2 "/> || PI7 || 35 || 36 || PI10 || GPIO16 / USART3_CTS
|-
| GPIO26 / SDMMC3_D2 || PF5 || 37 || 38 || PI6 || GPIO20 / SAI2_SDA<ref group="EX" name="SAI2 "/>

|-
| GND || - || 39 || 40 || PF11 || GPIO21 / SAI2_SDB<ref group="EX" name="SAI2 "/>

|}<references group="EX"/>


===JTAG connector===
The pins of the JTAG connector ([[#MB1262-CN14|CN14]] on the board overview picture) are described in the following table:

{| class="st-table" style="text-align:center;"
|+ JTAG connector
! Function !! Pin !! Pin !! Function
|-
| Power || 1 || 2 || Power
|-
| NJTRST || 3 || 4 || GND
|-
| JTDI || 5 || 6 || GND
|-
| JTMS / SWDIO || 7 || 8 || GND
|-
| JTCK / SWCLK || 9 || 10 || GND
|-
| Pull down || 11 || 12 || GND
|-
| JTDO / SWO || 13 || 14 || GND
|-
| NRST || 15 || 16 || GND
|-
| Pull down || 17 || 18 || GND
|-
| pull down || 19 || 20 || GND
|}

===User buttons and LEDs===
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.

{| class="st-table" style="text-align:center;"
|+ GPIO for user buttons and LEDs
! LED color and label
! Button label
! GPIO
|-
| <span style="color: green;">Green</span> LD3 (*)
| USER1 (*)
| PA14
|-
| <span style="color: red;">Red</span> LD2 (*)
| USER2 (*)
| PA13
|-
| <span style="color: orange;">Orange</span> LD4
| -
| PD8
|-
| <span style="color: blue;">Blue</span> LD5
| -
| PD9
|}

{{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).}}
<noinclude>

{{ReviewsComments|File to be reviewed by the marketing communication team}}
{{PublicationRequestId | 7663 | 2018-06-19 | AlainF}}
[[Category:STM32MP15 Evaluation boards|02]]
[[Category:STM32MP15]]
[[Category:ST boards]]</noinclude>
Line 11: Line 11:
   
 
This article is valid both for the STM32MP157A-EV1 and STM32MP157C-EV1 Evaluation boards: the part numbers are specified in the [[STM32MP15 microprocessor#Part number codification|STM32MP15 microprocessor part numbers]] article.
 
This article is valid both for the STM32MP157A-EV1 and STM32MP157C-EV1 Evaluation boards: the part numbers are specified in the [[STM32MP15 microprocessor#Part number codification|STM32MP15 microprocessor part numbers]] article.
{{Warning|This article is only an introduction to the STM32MP157x-EV1 Evaluation board. Detailed information can be found in the [[STM32MP15 resources#STM32MP157x-EV1 user manual|'''STM32MP157x-EV1 evaluation board user manual''']].}}
+
{{Warning|This article is only an introduction to the STM32MP157x-EV1 Evaluation board. Detailed information can be found in the [[STM32MP15 resources#UM2535|'''STM32MP157x-EV1 evaluation board user manual''']].}}
   
 
==Board assembly==
 
==Board assembly==
Line 170: Line 170:
 
===Motor control connector===
 
===Motor control connector===
 
The pins of the motor control connector ([[#MB1262-CN22|CN22]] on the board overview picture) are described in the following table.<br>
 
The pins of the motor control connector ([[#MB1262-CN22|CN22]] on the board overview picture) are described in the following table.<br>
Due to the sharing of some IOs by multiple peripherals, '''the motor control interface is not enabled by default''', and the motor control cannot be operated simultaneously with the camera, audio codec, CAN and GPIO expansion (GPIO6, 7 and 12): more details (e.g. enabling the motor control interface) in the [[STM32MP15 resources#STM32MP157x-EV1 user manual|'''STM32MP157x-EV1 evaluation board user manual''']].
+
Due to the sharing of some IOs by multiple peripherals, '''the motor control interface is not enabled by default''', and the motor control cannot be operated simultaneously with the camera, audio codec, CAN and GPIO expansion (GPIO6, 7 and 12): more details (e.g. enabling the motor control interface) in the [[STM32MP15 resources#UM2535|'''STM32MP157x-EV1 evaluation board user manual''']].
   
 
{{Warning | The pin 1 position (upper left) on this figure is the opposite compared to the board (bottom right)}}
 
{{Warning | The pin 1 position (upper left) on this figure is the opposite compared to the board (bottom right)}}
Line 222: Line 222:
 
| 3V3 || - || 1 || 2 || - || 5V
 
| 3V3 || - || 1 || 2 || - || 5V
 
|-
 
|-
| GPIO2 / I2C5_SDA<ref group="EX" name="I2C5">The I2C5 is shared between the I2C EXT connector and the GPIO expansion connector. By default, the I2C5 is connected to the I2C EXT connector thanks to Solder Bridges: more details in the [[STM32MP15 resources#STM32MP157x-EV1 user manual|STM32MP157x-EV1 evaluation board user manual]].</ref> || PA12 || 3 || 4 || - || 5V
+
| GPIO2 / I2C5_SDA<ref group="EX" name="I2C5">The I2C5 is shared between the I2C EXT connector and the GPIO expansion connector. By default, the I2C5 is connected to the I2C EXT connector thanks to Solder Bridges: more details in the [[STM32MP15 resources#UM2535|STM32MP157x-EV1 evaluation board user manual]].</ref> || PA12 || 3 || 4 || - || 5V
 
|-
 
|-
 
| GPIO3 / I2C5_SCL<ref group="EX" name="I2C5"/> || PA11 || 5 || 6 || - || GND
 
| GPIO3 / I2C5_SCL<ref group="EX" name="I2C5"/> || PA11 || 5 || 6 || - || GND
Line 230: Line 230:
 
| GND || - || 9 || 10 || PB12 || GPIO15 / USART3_RX
 
| GND || - || 9 || 10 || PB12 || GPIO15 / USART3_RX
 
|-
 
|-
| GPIO17 / USART3_RTS || PG8 || 11 || 12 || PI5 || GPIO18 / SAI2_SCKA <ref group="EX" name="SAI2 ">The SAI2 is shared between the audio codec and the GPIO expansion connector. By default, the SAI2 is connected to the audio codec thanks to Solder Bridges: more details in the [[STM32MP15 resources#STM32MP157x-EV1 user manual|STM32MP157x-EV1 evaluation board user manual]].</ref>
+
| GPIO17 / USART3_RTS || PG8 || 11 || 12 || PI5 || GPIO18 / SAI2_SCKA <ref group="EX" name="SAI2 ">The SAI2 is shared between the audio codec and the GPIO expansion connector. By default, the SAI2 is connected to the audio codec thanks to Solder Bridges: more details in the [[STM32MP15 resources#UM2535|STM32MP157x-EV1 evaluation board user manual]].</ref>
 
|-
 
|-
 
| GPIO27 / SDMMC3_D3 || PD7 || 13 || 14 || - || GND
 
| GPIO27 / SDMMC3_D3 || PD7 || 13 || 14 || - || GND

Attachments

Discussions