samples/boards/stm32/power_mgmt/adc/README.html · samples/boards/stm32/power_mgmt/adc/README.rst 공식 원문 ↗

Zephyr 3.7.0 · Boards · STM32 Power

STM32 PM ADC

Sleep-capable LPTIM clock으로 ADC application의 PM 동작을 확인합니다.

Official pathsamples/boards/stm32/power_mgmt/adc/README.html
Source filesamples/boards/stm32/power_mgmt/adc/README.rst
Source versionZephyr 3.7.0
TranslationFull · reviewed

본문 기준: Zephyr 3.7.0 LTS3 · 이후 유지보수 패치는 별도입니다.

Part 1

요약·해설

ADC console 형식과 STM32WB의 25µA·27.5µA 차이를 설명합니다.

ADC

Channel 3 · 932 mV

Clock

LPTIM

Current

25 µA

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 B1FA7B97A0FA2B50613F621EBC1CA287A3C67D7404AD3CAB9F5B58342A9C3134
.. _stm32-pm-adc-sample:

STM32 PM ADC
############

Overview
********

This sample is a minimum application to demonstrate basic power management
behavior in a basic ADC set up in low power context.

.. _stm32-pm-adc-sample-requirements:

Requirements
************

The board should support enabling PM. For a STM32 based target, it means that
it should support a clock source alternative to Cortex Systick that can be used
in core sleep states, as LPTIM (:dtcompatible:`st,stm32-lptim`).

Building and Running
********************

Build and flash as follows, changing ``nucleo_wb55rg`` for your board:

.. zephyr-app-commands::
   :zephyr-app: samples/boards/stm32/power_mgmt/adc
   :board: nucleo_wb55rg
   :goals: build flash
   :compact:

After flashing, the console shows the ADC measurement in the form:
``ADC reading[0]:``
``- adc@50040000, channel 3: 1158 = 932 mV``

PM configurations
*****************

By default, :kconfig:option:`CONFIG_PM_DEVICE` and :kconfig:option:`CONFIG_PM_DEVICE_RUNTIME` are
enabled.
On STM32WB, we can observe a power consumption of about 25µA with both kconfig
enabled, 27.5µA without (each time with :kconfig:option:`CONFIG_PM` enabled).

Part 3

한국어 전문 번역

개요

Low-power context의 기본 ADC 구성에서 기본적인 power-management 동작을 보여주는 최소 application입니다.

요구 사항

Board가 PM 활성화를 지원해야 합니다. STM32 기반 target에서는 core sleep state에서도 사용할 수 있는 Cortex SysTick 대체 clock source를 지원해야 하며, 그 예가 LPTIM(st,stm32-lptim)입니다.

Build와 실행

nucleo_wb55rg를 사용하는 board로 바꿔 다음과 같이 build하고 flash합니다.

west build -b nucleo_wb55rg samples/boards/stm32/power_mgmt/adc
west flash

Flash 뒤 console에는 ADC 측정값이 다음 형태로 표시됩니다.

ADC reading[0]:
- adc@50040000, channel 3: 1158 = 932 mV

PM configuration

기본적으로 CONFIG_PM_DEVICE와 CONFIG_PM_DEVICE_RUNTIME이 활성화됩니다. STM32WB에서는 CONFIG_PM을 활성화한 상태에서 두 Kconfig를 모두 켜면 약 25µA, 끄면 약 27.5µA의 power consumption을 관찰할 수 있습니다.

Source

출처

영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.