Registered User mNo edit summary |
Registered User mNo edit summary |
||
(24 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{ApplicableFor | |||
|MPUs list=STM32MP13x, STM32MP15x | |||
|MPUs checklist=STM32MP13x, STM32MP15x | |||
}}</noinclude> | |||
== Introduction == | == Introduction == | ||
The following paragraphs describe the functional mapping of the LEDs and buttons. | |||
== Description == | == Description == | ||
=== LEDs === | |||
{| | {| | ||
! LED color | ! LED color | ||
! Purpose | |||
|- | |||
| <span style="color: green;">Green</span><br /> | |||
| Can be used at runtime for Linux examples | |||
|- | |||
| <span style="color: red;">Red</span><br /> | |||
| Used to show Cortex-A boot information<ref name="boot info">[[How to diagnose a boot failure]]</ref><br /> | |||
|- | |||
| <span style="color: blue;">Blue</span> | |||
| U-Boot entering / exit indication then Linux heartbeat, which blinks as long as Linux<ref>[[STM32 MPU Linux kernel overview]]</ref> is alive<ref name="boot info"/> on the Cortex-A | |||
|- | |||
| <span style="color: orange;">Orange</span> | |||
| Used for STM32Cube<ref>[[STM32CubeMP1 architecture]]</ref> examples verdict, on STM32MP15. Free for user on STM32MP13. | |||
|- | |||
|} | |||
=== Buttons === | |||
{| | |||
! Button label | ! Button label | ||
! Purpose | ! Purpose | ||
|- | |- | ||
| WAKE UP | | WAKE UP | ||
| | | Allows the platform to be woken from any low-power mode<ref>[[Power overview]]</ref> | ||
|- | |- | ||
| USER1<br /> | |||
| USER1<br /> | | Used at boot time by [[U-Boot overview|U-Boot]] to enter USB programming mode with [[STM32CubeProgrammer]]. This avoids manipulation of the [[STM32 MPU ROM code overview#Boot device selection]] when a valid U-Boot image is already present in the board.<br /> | ||
| | Can be used at runtime for Linux examples or STM32Cube examples, on STM32MP15. | ||
|- | |- | ||
| USER2<br /> | |||
| USER2<br /> | | Used at boot time by [[U-Boot overview|U-Boot]] to enter [[STM32MPU distribution for Android|Android]] Fastboot mode.<br /> | ||
| | Used at runtime for Linux, on STM32MP13. | ||
|- | |- | ||
| | | TAMPER | ||
| | | Allows to generate an external tamper event. Only present on STM32MP13 board. | ||
|- | |- | ||
|} | |} | ||
{{Warning| (* | |||
== On {{MicroprocessorDevice | device=13}} == | |||
On STM32MP135F-DK Discovery kit, the GPIO assignment is as follow: | |||
:* The <span style="color: green;">green</span> LED is on the IO expander pin GPB6 | |||
:* The <span style="color: red;">red</span> LED and USER2 button are on the pin PA13 | |||
:* The <span style="color: blue;">blue</span> LED and USER1 button are on the pin PA14 | |||
:* The <span style="color: orange;">orange</span> LED is on the IO expander pin GPB7 | |||
{{Warning| "Blue LED & USER1", "Red LED & USER2" are respectively connected to the same GPIO, with inverted logic for the LED control (so the LED is switched on when the GPIO output is set low).}} | |||
== On {{MicroprocessorDevice | device=15}} == | |||
You can refer to the respective board-hardware descriptions to determine to which GPIO each function is mapped: | |||
* [[STM32MP157x-EV1_-_hardware_description#User_buttons_and_LEDs|STM32MP157x-EV1 - hardware description]] for the Evaluation boards | |||
* [[STM32MP157x-DKx_-_hardware_description#User_buttons_and_LEDs|STM32MP157x-DKx - hardware description]] for the Discovery kits. | |||
{{Warning| "Green LED & USER1", "Red LED & USER2" are respectively connected to the same GPIO, with inverted logic for the LED control (so the LED is switched on when the GPIO output is set low).}} | |||
== References == | == References == | ||
Line 42: | Line 68: | ||
<noinclude> | <noinclude> | ||
{{PublicationRequestId | 8857 | 2018-09-17 | PhilipS}} | {{PublicationRequestId | 8857 | 2018-09-17 | PhilipS}} | ||
[[Category: | [[Category:STM32 MPU boards]] | ||
[[Category:STM32MP15 Evaluation boards]] | [[Category:STM32MP15 Evaluation boards]] | ||
[[Category:STM32MP15 Discovery kits]] | [[Category:STM32MP15 Discovery kits]] | ||
[[Category:STM32MP13 Discovery kits]] | |||
</noinclude> | </noinclude> |
Revision as of 16:06, 13 January 2023
1. Introduction[edit | edit source]
The following paragraphs describe the functional mapping of the LEDs and buttons.
2. Description[edit | edit source]
2.1. LEDs[edit | edit source]
LED color | Purpose |
---|---|
Green |
Can be used at runtime for Linux examples |
Red |
Used to show Cortex-A boot information[1] |
Blue | U-Boot entering / exit indication then Linux heartbeat, which blinks as long as Linux[2] is alive[1] on the Cortex-A |
Orange | Used for STM32Cube[3] examples verdict, on STM32MP15. Free for user on STM32MP13. |
2.2. Buttons[edit | edit source]
Button label | Purpose |
---|---|
WAKE UP | Allows the platform to be woken from any low-power mode[4] |
USER1 |
Used at boot time by U-Boot to enter USB programming mode with STM32CubeProgrammer. This avoids manipulation of the STM32 MPU ROM code overview#Boot device selection when a valid U-Boot image is already present in the board. Can be used at runtime for Linux examples or STM32Cube examples, on STM32MP15. |
USER2 |
Used at boot time by U-Boot to enter Android Fastboot mode. Used at runtime for Linux, on STM32MP13. |
TAMPER | Allows to generate an external tamper event. Only present on STM32MP13 board. |
3. On STM32MP13x lines
[edit | edit source]
On STM32MP135F-DK Discovery kit, the GPIO assignment is as follow:
- The green LED is on the IO expander pin GPB6
- The red LED and USER2 button are on the pin PA13
- The blue LED and USER1 button are on the pin PA14
- The orange LED is on the IO expander pin GPB7
4. On STM32MP15x lines
[edit | edit source]
You can refer to the respective board-hardware descriptions to determine to which GPIO each function is mapped:
- STM32MP157x-EV1 - hardware description for the Evaluation boards
- STM32MP157x-DKx - hardware description for the Discovery kits.
5. References[edit | edit source]