deleted>Frq08988 mNo edit summary |
imported>Frq08988 mNo edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{ToBeReviewedByProductMarketing}} | {{ToBeReviewedByProductMarketing}} | ||
{{ArticleMainWriter | Jean-ChristopheT}} | {{ArticleMainWriter | Jean-ChristopheT}} | ||
{{ReviewersList | NathalieS, BernardP, GeraldB, LaurentB}} | {{ReviewersList | NathalieS, BernardP, GeraldB, LaurentB}} | ||
{{ArticleApprovedVersion | Jean-ChristopheT |BernardP, GeraldB | | {{ArticleApprovedVersion | Jean-ChristopheT |BernardP, GeraldB | Jean-ChristopheT - 9Aug'18 | AnneJ - 09Aug'18 - 8429 | 01Feb'19}} | ||
[[Category:STM32MP15 Discovery kits|02]] | [[Category:STM32MP15 Discovery kits|02]] | ||
[[Category:STM32MP15]] | [[Category:STM32MP15]] | ||
Line 12: | Line 10: | ||
==Article purpose== | ==Article purpose== | ||
This article provides an overview of | This article provides an overview of STM32MP157x-DKx Discovery kits. It briefly describes: | ||
* how to assemble the different elements provided in the commercial box | * how to assemble the different elements provided in the commercial box | ||
* what are the different components present on the board | * what are the different components present on the board | ||
Line 19: | Line 17: | ||
* what are the configurations of the connector pins | * what are the configurations of the connector pins | ||
{{ | {{Warning|This article is only an introduction to the STM32MP157x-DKx Discovery kits. Detailed information can be found in the [[STM32MP15 resources#STM32MP157x-DKx user manual|'''STM32MP157x-DKx discovery board user manual''']].}} | ||
This article is only an introduction to the | |||
==Board assembly== | ==Board assembly== | ||
Line 54: | Line 51: | ||
| 13 (<span id{{=}}"MB1272-CN9">'''CN9'''</span>) || HDMI connector | | 13 (<span id{{=}}"MB1272-CN9">'''CN9'''</span>) || HDMI connector | ||
|- | |- | ||
| 14 (<span id{{=}}"MB1272-LD4">'''LD4'''</span>) || ST- | | 14 (<span id{{=}}"MB1272-LD4">'''LD4'''</span>) || ST-LINK/V2-1 LED (bicolor)<ref>LD4: flashes red if ST-LINK/V2-1 connection not established, else green</ref> | ||
|- | |- | ||
| 15 (<span id{{=}}"MB1272-CN11">'''CN11'''</span>) || USB micro-B (ST- | | 15 (<span id{{=}}"MB1272-CN11">'''CN11'''</span>) || USB micro-B (ST-LINK/V2-1) | ||
|- | |- | ||
| 16 (<span id{{=}}"MB1272-LD8">'''LD8'''</span>) || User LED (blue)<ref name="User LEDs">LD5, LD6, LD7, LD8: 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> | | 16 (<span id{{=}}"MB1272-LD8">'''LD8'''</span>) || User LED (blue)<ref name="User LEDs">LD5, LD6, LD7, LD8: 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> | ||
Line 166: | Line 163: | ||
{| style="text-align:center;" | {| style="text-align:center;" | ||
|+ GPIO expansion connector | |+ GPIO expansion connector | ||
! | ! Function !! STM32 pin !! Pin !! Pin !! STM32 pin !! Function | ||
|- | |- | ||
| 3V3 || 1 || 2 || | | 3V3 || - || 1 || 2 || - || 5V | ||
|- | |- | ||
| I2C5_SDA || 3 || 4 || | | GPIO2 / I2C5_SDA || PA12 || 3 || 4 || - || 5V | ||
|- | |- | ||
| I2C5_SCL || 5 || 6 || GND | | GPIO3 / I2C5_SCL || PA11 || 5 || 6 || - || GND | ||
|- | |- | ||
| MCO1 || 7 || 8 || <span id{{=}}"USART3_TX">USART3_TX</span> | | GPIO4 / MCO1 || PA8 || 7 || 8 || PB10 || GPIO14 / <span id{{=}}"USART3_TX">USART3_TX</span> | ||
|- | |- | ||
| GND || 9 || 10 || USART3_RX | | GND || - || 9 || 10 || PB12 || GPIO15 / USART3_RX | ||
|- | |- | ||
| USART3_RTS || 11 || 12 || SAI2_SCKA | | GPIO17 / USART3_RTS || PG8 || 11 || 12 || PI5 || GPIO18 / SAI2_SCKA<sup>{{Highlight|(1)}}</sup> | ||
|- | |- | ||
| SDMMC3_D3 || 13 || 14 || GND | | GPIO27 / SDMMC3_D3 || PD7 || 13 || 14 || - || GND | ||
|- | |- | ||
| SDMMC3_CK || 15 || 16 || SDMMC3_CMD | | GPIO22 / SDMMC3_CK || PG15 || 15 || 16 || PF1 || GPIO23 / SDMMC3_CMD | ||
|- | |- | ||
| 3V3 || 17 || 18 || SDMMC3_D0 | | 3V3 || - || 17 || 18 || PF0 || GPIO24 / SDMMC3_D0 | ||
|- | |- | ||
| SPI5_MOSI || 19 || 20 || GND | | GPIO10 / SPI5_MOSI || PF9 || 19 || 20 || - || GND | ||
|- | |- | ||
| SPI5_MISO || 21 || 22 || SDMMC3_D1 | | GPIO9 / SPI5_MISO || PF8 || 21 || 22 || PF4 || GPIO25 / SDMMC3_D1 | ||
|- | |- | ||
| SPI5_SCK || 23 || 24 || SPI5_NSS | | GPIO11 / SPI5_SCK || PF7 || 23 || 24 || PF6 || GPIO8 / SPI5_NSS | ||
|- | |- | ||
| GND || 25 || 26 || | | GND || - || 25 || 26 || PF3 || GPIO7 | ||
|- | |- | ||
| | | I2C1_SDA<sup>{{Highlight|(2)}}</sup> || PF15 || 27 || 28 || PD12 || I2C1_SCL<sup>{{Highlight|(2)}}</sup> | ||
|- | |- | ||
| MCO2 || 29 || 30 || GND | | GPIO5 / MCO2 || PG2 || 29 || 30 || - || GND | ||
|- | |- | ||
| TIM5_CH2 || 31 || 32 || TIM4_CH2 | | GPIO6 / TIM5_CH2 || PH11 || 31 || 32 || PD13 || GPIO12 / TIM4_CH2 | ||
|- | |- | ||
| TIM3_CH2 || 33 || 34 || GND | | GPIO13 / TIM3_CH2 || PC7 || 33 || 34 || - || GND | ||
|- | |- | ||
| SAI2_FSA || 35 || 36 || USART3_CTS | | GPIO19 / SAI2_FSA<sup>{{Highlight|(1)}}</sup> || PI7 || 35 || 36 || PB13 || GPIO16 / USART3_CTS | ||
|- | |- | ||
| SDMMC3_D2 || 37 || 38 || SAI2_SDA | | GPIO26 / SDMMC3_D2 || PF5 || 37 || 38 || PI6 || GPIO20 / SAI2_SDA<sup>{{Highlight|(1)}}</sup> | ||
|- | |- | ||
| GND || 39 || 40 || SAI2_SDB | | GND || - || 39 || 40 || PF11 || GPIO21 / SAI2_SDB<sup>{{Highlight|(1)}}</sup> | ||
|} | |} | ||
<sup>{{Highlight|(1)}}</sup> 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 Bridge SB13, SB14, SB15, and SB16: more details in the [[STM32MP15 resources#STM32MP157x-DKx user manual|STM32MP157x-DKx discovery board user manual]].<br> | |||
<sup>{{Highlight|(2)}}</sup> Warning: the I2C1 is used to communicate with several on-board peripherals, but is also available on the GPIO expansion connector. So, it is important to ensure that new components added on the I2C1 connection will not disturb the bus behavior. | |||
===Arduino Uno connector=== | ===Arduino Uno connector=== | ||
Line 213: | Line 212: | ||
{| class="wikitable" | {| class="wikitable" | ||
! colspan=" | ! colspan="2" | Arduino Uno connector | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
| | | | ||
{| style="text-align:center;" | {| style="text-align:center;" | ||
|+ Socket 10x1 ([[#MB1272-CN2|CN13]]) | |+ Socket 10x1 ([[#MB1272-CN2|CN13]]) | ||
! | ! Pin names !! Signal name !! STM32 pin !! Comment | ||
|- | |- | ||
| | | 1 || ARD_D8 || PG3 || IO | ||
|- | |- | ||
| | | 2 || ARD_D9 || PH6 || TIM12_CH1 | ||
|- | |- | ||
| | | 3 || ARD_D10 || PE11 || SPI4_NSS and TIM1_CH2 | ||
|- | |- | ||
| | | 4 || ARD_D11 || PE14 || SPI4_MOSI and TIM1_CH4 | ||
|- | |- | ||
| | | 5 || ARD_D12 || PE13 || SPI4_MISO | ||
|- | |- | ||
| | | 6 || ARD_D13 || PE12 || SPI4_SCK | ||
|- | |- | ||
| | | 7 || GND || - || GND | ||
|- | |- | ||
| | | 8 || VREFP || - || VREF+ | ||
|- | |- | ||
| | | 9 || ARD_D14 || PA12 || I2C5_SDA | ||
|- | |- | ||
| | | 10 || ARD_D15 || PA11 || I2C5_SCL | ||
|} | |} | ||
|| | || | ||
{| style="text-align:center;" | {| style="text-align:center;" | ||
|+ Socket 8x1 ([[#MB1272-CN2|CN14]]) | |+ Socket 8x1 ([[#MB1272-CN2|CN14]]) | ||
! | ! Pin names !! Signal name !! STM32 pin !! Comment | ||
|- | |- | ||
| | | 1 || ARD_D0 || PE7 || USART7_RX | ||
|- | |- | ||
| | | 2 || ARD_D1 || PE8 || USART7_TX | ||
|- | |- | ||
| | | 3 || ARD_D2 || PE1 || IO | ||
|- | |- | ||
| | | 4 || ARD_D3 || PD14 || TIM4_CH3 | ||
|- | |- | ||
| | | 5 || ARD_D4 || PE10 || IO | ||
|- | |- | ||
| | | 6 || ARD_D5 || PD15 || TIM4_CH4 | ||
|- | |- | ||
| | | 7 || ARD_D6 || PE9 || TIM1_CH1 | ||
|- | |- | ||
| | | 8 || ARD_D7 || PD1 || IO | ||
|} | |} | ||
|| | |- style="vertical-align:top;" | ||
| | |||
{| style="text-align:center;" | {| style="text-align:center;" | ||
|+ socket 8x1 ([[#MB1272-CN2|CN16]]) | |+ socket 8x1 ([[#MB1272-CN2|CN16]]) | ||
|- | |- | ||
! | ! Pin names !! Signal name !! STM32 pin !! Comment | ||
|- | |- | ||
| | | 1 || NC || - || NC (reserved for test) | ||
|- | |- | ||
| 3V3 || IOREF | | 2 || 3V3 || - || IOREF 3V3 | ||
|- | |- | ||
| | | 3 || NRST || NRST || NRST | ||
|- | |- | ||
| 3V3 || 3V3 | | 4 || 3V3 || - || 3V3 | ||
|- | |- | ||
| 5V || 5V | | 5 || 5V || - || 5V | ||
|- | |- | ||
| GND || GND | | 6 || GND || - || GND | ||
|- | |- | ||
| GND || GND | | 7 || GND || - || GND | ||
|- | |- | ||
| | | 8 || VIN || - || Not connected | ||
|} | |} | ||
|| | || | ||
{| style="text-align:center;" | {| style="text-align:center;" | ||
|+ Socket 6x1 ([[#MB1272-CN2|CN17]]) | |+ Socket 6x1 ([[#MB1272-CN2|CN17]]) | ||
! | ! Pin names !! Signal name !! STM32 pin !! Comment | ||
|- | |- | ||
| | | 1 || A0 || PF14 || ADC1_IN0 | ||
|- | |- | ||
| | | 2 || A1 || PF13 || ADC1_IN1 | ||
|- | |- | ||
| | | 3 || A2 || ANA0 || ADC1_IN6 | ||
|- | |- | ||
| | | 4 || A3 || ANA1 || ADC1_IN2 | ||
|- | |- | ||
| | | 5 || A4 || PC3 / PA12 || ADC1_IN13 | ||
|- | |- | ||
| | | 6 || A5 || PF12 / PA11 || | ||
|} | |} | ||
|} | |} |
Revision as of 16:30, 4 February 2019
Template:ToBeReviewedByProductMarketing Template:ArticleMainWriter Template:ReviewersList Template:ArticleApprovedVersion
1. Article purpose[edit | edit source]
This article provides an overview of STM32MP157x-DKx Discovery kits. It briefly describes:
- how to assemble the different elements provided in the commercial box
- what are the different components present on the board
- how to connect the board to external material
- how to configure the board for boot
- what are the configurations of the connector pins
2. Board assembly[edit | edit source]
The STM32MP15 Discovery kit packages (STM32MP157X-DKX) include the items listed below.
Please note that;
- the STM32MP157X-DK1 Discovery kit neither includes the "WLAN + Bluetooth" component (muRata LBEE5KL1DX), nor the MB1407 daughterboard DSI display
- the STM32MP157X-DK2 Discovery kit includes the "WLAN + Bluetooth" component (muRata LBEE5KL1DX), and the MB1407 daughterboard DSI display
The different variants corresponding to STM32MP157X-DK1/2 are explained by the part number codification.
Position | Description |
---|---|
1 | MB1272 motherboard ("WLAN + Bluetooth" component included only for the STM32MP157X-DK2 Discovery kit) |
2 | MB1407 daughterboard DSI display (480x800 pixels): only for the STM32MP157X-DK2 Discovery kit |
3 | microSD card |
4 | DSI ribbon cable: only for the STM32MP157X-DK2 Discovery kit |
5 | Spacer for DSI display daughterboard: only for the STM32MP157X-DK2 Discovery kit |
6 | USB Type-C (power 5V-3A) |
The following figures explain how to assemble the various items to obtain the STM32MP15 Discovery kit.
For STM32MP157X-DK1 kits, the assembly only consists in inserting the microSD card into the dedicated slot (step C in the below figures).
Board name: STM32MP157X-DK2
Board name: STM32MP157X-DK2 (for the STM32MP157X-DK1, the elements 2, 4 and 5 are not present)
3. Board overview[edit | edit source]
Position | Description |
---|---|
1 | MB1272 motherboard |
2 | MB1407 daughterboard DSI display (480x800 pixels): only for the STM32MP157X-DK2 Discovery kit |
3 | microSD card |
4 | DSI ribbon cable: only for the STM32MP157X-DK2 Discovery kit |
5 | Spacer for DSI display daughterboard: only for the STM32MP157X-DK2 Discovery kit |
Board name: STM32MP157X-DK2
Position | Description |
---|---|
10 (CN1) | 2 USB Type-A (host) |
11 (CN5) | 2 USB Type-A (host) |
12 (CN7) | USB Type-C (DRP) |
13 (CN9) | HDMI connector |
14 (LD4) | ST-LINK/V2-1 LED (bicolor)[1] |
15 (CN11) | USB micro-B (ST-LINK/V2-1) |
16 (LD8) | User LED (blue)[2] |
17 (LD7) | User LED (orange)[2] |
18 (B4) | User button (USER2) |
19 (U13) | STM32MP157X 12x12 |
20 (LD6) | User LED (red))[2] |
21 (B3) | User button (USER1) |
22 (LD5) | User LED (green)[2] |
23 (B2) | Reset button |
24 (U20) | Audio codec (Cirrus CS42L51) |
25 (CN10) | Audio headset |
26 (B1) | Power-on button |
27 (CN8) | Ethernet |
Board name: STM32MP157X-DK2
Position | Description |
---|---|
10 (CN1) | 2 USB Type-A (host) |
26 (CN8) | Ethernet |
30 (LD3) | Ethernet LED (green)[3] |
31 (CN6) | USB Type-C (power 5V-3A) |
32 (LD2) | Power LED (green)[4] |
33 (U8) | WLAN + Bluetooth (muRata LBEE5KL1DX): only for STM32MP157X-DK2 Discovery kit |
34 (CN4) | DSI LCD connector |
35 (LD1) | USB Type-A LED (red)[5] |
36 (CN2) | GPIO expansion |
Board name: STM32MP157X-DK2
Position | Description |
---|---|
40 (CN13) | Arduino Uno connector (socket 10x1) |
41 (CN14) | Arduino Uno connector (socket 8x1) |
42 (LD9) | Arduino LED (green) |
43 (CN15) | microSD 3.0 card |
44 (SW1) | Boot mode selection |
45 (CN16) | Arduino Uno connector (socket 8x1) |
46 (CN17) | Arduino Uno connector (socket 6x1) |
Details about some LEDs:
- ↑ LD4: flashes red if ST-LINK/V2-1 connection not established, else green
- ↑ Jump up to: 2.0 2.1 2.2 2.3 LD5, LD6, LD7, LD8: 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
- ↑ LD3: flashes green when Ethernet connection established
- ↑ LD2: turns green if power connection established
- ↑ LD1: turns red if USB Type-A connection established
4. Board connection[edit | edit source]
The connections shown in the picture below are the ones recommended to start with the STM32MP157X_DKX Discovery kits. As shown in the board overview, other connectors are available for these boards (for example HDMI).
[edit | edit source]
The following table defines the different combination of the boot mode selection switches: Template:Info
Boot mode | Boot 0 | Boot 1 | Boot 2 |
---|---|---|---|
Forced USB boot for flashing |
0 | 0 | 0 |
Not supported | 1 | 0 | 0 |
Engineering boot | 0 | 0 | 1 |
microSD card | 1 | 0 | 1 |
Below the corresponding configurations of the boot related switches (SW1 on the board overview picture):
File:STM32MP157X-DKX boot switches forced USB.png Forced USB boot for flashing |
File:STM32MP157X-DKX boot switches engineering mode.png Engineering boot |
File:STM32MP157X-DKX boot switches microSD card.png Boot from microSD card |
6. GPIO mapping[edit | edit source]
6.1. GPIO expansion connector[edit | edit source]
The pins of the GPIO expansion connector (CN2 on the board overview picture) are described in the following table:
Function | STM32 pin | Pin | Pin | STM32 pin | Function |
---|---|---|---|---|---|
3V3 | - | 1 | 2 | - | 5V |
GPIO2 / I2C5_SDA | PA12 | 3 | 4 | - | 5V |
GPIO3 / I2C5_SCL | PA11 | 5 | 6 | - | GND |
GPIO4 / MCO1 | PA8 | 7 | 8 | PB10 | GPIO14 / USART3_TX |
GND | - | 9 | 10 | PB12 | GPIO15 / USART3_RX |
GPIO17 / USART3_RTS | PG8 | 11 | 12 | PI5 | GPIO18 / SAI2_SCKA(1) |
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 / SPI5_MOSI | PF9 | 19 | 20 | - | GND |
GPIO9 / SPI5_MISO | PF8 | 21 | 22 | PF4 | GPIO25 / SDMMC3_D1 |
GPIO11 / SPI5_SCK | PF7 | 23 | 24 | PF6 | GPIO8 / SPI5_NSS |
GND | - | 25 | 26 | PF3 | GPIO7 |
I2C1_SDA(2) | PF15 | 27 | 28 | PD12 | I2C1_SCL(2) |
GPIO5 / MCO2 | PG2 | 29 | 30 | - | GND |
GPIO6 / TIM5_CH2 | PH11 | 31 | 32 | PD13 | GPIO12 / TIM4_CH2 |
GPIO13 / TIM3_CH2 | PC7 | 33 | 34 | - | GND |
GPIO19 / SAI2_FSA(1) | PI7 | 35 | 36 | PB13 | GPIO16 / USART3_CTS |
GPIO26 / SDMMC3_D2 | PF5 | 37 | 38 | PI6 | GPIO20 / SAI2_SDA(1) |
GND | - | 39 | 40 | PF11 | GPIO21 / SAI2_SDB(1) |
(1) 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 Bridge SB13, SB14, SB15, and SB16: more details in the STM32MP157x-DKx discovery board user manual.
(2) Warning: the I2C1 is used to communicate with several on-board peripherals, but is also available on the GPIO expansion connector. So, it is important to ensure that new components added on the I2C1 connection will not disturb the bus behavior.
6.2. Arduino Uno connector[edit | edit source]
The pins of the Arduino Uno connector are described in the following table:
Arduino Uno connector | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
6.3. User buttons and LEDs[edit | edit source]
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.
LED color and label | Button label | GPIO |
---|---|---|
Template:Green LD5 (*) | USER1 (*) | PA14 |
Template:Red LD6 (*) | USER2 (*) | PA13 |
Template:Orange LD7 | - | PH7 |
Template:Blue LD8 | - | PD11 |