|
1 | 1 | # README for Mbed OS STM32 targets
|
2 | 2 |
|
| 3 | +Table of Contents |
| 4 | +================= |
| 5 | + |
| 6 | +* [README for Mbed OS STM32 targets](#readme-for-mbed-os-stm32-targets) |
| 7 | + * [ST TOOLS](#st-tools) |
| 8 | + * [USB drivers](#usb-drivers) |
| 9 | + * [ST-Link FW](#st-link-fw) |
| 10 | + * [STM32 Cube](#stm32-cube) |
| 11 | + * [STM32CubeMX](#stm32cubemx) |
| 12 | + * [STM32CubeProgrammer](#stm32cubeprogrammer) |
| 13 | + * [STM32 families](#stm32-families) |
| 14 | + * [STM32WB](#stm32wb) |
| 15 | + * [STM32WL](#stm32wl) |
| 16 | + * [STM32H7](#stm32h7) |
| 17 | + * [Custom boards](#custom-boards) |
| 18 | + * [STM32 organisation](#stm32-organisation) |
| 19 | + * [Add a custom board](#add-a-custom-board) |
| 20 | + * [Board specific files (pinmap)](#board-specific-files-pinmap) |
| 21 | + * [Use of custom_targets.json](#use-of-custom_targetsjson) |
| 22 | + * [ST specific implementation](#st-specific-implementation) |
| 23 | + * [Pin configuration](#pin-configuration) |
| 24 | + * [Alternate feature](#alternate-feature) |
| 25 | + * [Conflict pins](#conflict-pins) |
| 26 | + * [Clock selection](#clock-selection) |
| 27 | + * [System clock](#system-clock) |
| 28 | + * [Low power clock](#low-power-clock) |
| 29 | + * [Sleep feature](#sleep-feature) |
| 30 | + * [WiFi configuration](#wifi-configuration) |
| 31 | + * [Ethernet configuration](#ethernet-configuration) |
| 32 | + * [Mbed OS Wiki pages](#mbed-os-wiki-pages) |
| 33 | + |
| 34 | + |
3 | 35 | ## ST TOOLS
|
4 | 36 |
|
5 | 37 | ### USB drivers
|
@@ -377,6 +409,27 @@ You can change this in you local mbed_app.json:
|
377 | 409 | ```
|
378 | 410 |
|
379 | 411 |
|
| 412 | +### Sleep feature |
| 413 | + |
| 414 | +ST MCUs feature several low-power modes, please check Reference Manual of each one for more details. |
| 415 | + |
| 416 | +- MBED sleep mode is usually mapped to ST SLEEP mode: |
| 417 | + - CPU clock is off |
| 418 | + - all peripherals can run and wake up the CPU when an interrupt or an event |
| 419 | +occurs |
| 420 | + |
| 421 | +- MBED deepsleep mode is mapped to ST STOP2 mode: |
| 422 | + - all clocks in the VCORE domain are stopped |
| 423 | + - the PLL, the MSI, the HSI and the HSE are disabled |
| 424 | + - the LSI and the LSE can be kept running |
| 425 | + - RTC can remain active |
| 426 | + |
| 427 | +Detailed sleep Mbed OS description : https://os.mbed.com/docs/mbed-os/latest/apis/power-management-sleep.html |
| 428 | +- debug profile is disabling deepsleep |
| 429 | +- deepsleep can also be disabled by application or drivers using sleep_manager_lock_deep_sleep() |
| 430 | +- deep-sleep-latency value is configured to 4 by default for STM32 |
| 431 | + |
| 432 | + |
380 | 433 | ### WiFi configuration
|
381 | 434 |
|
382 | 435 | https://github.com/ARMmbed/wifi-ism43362
|
|
0 commit comments