Part 1
요약·해설
External flash 종료, EnergyTrace와 LaunchPad 실행 절차를 설명합니다.
Active
Busy-wait 5 s
Idle
2 ms
Standby
3 s
Part 2
접을 수 있는 영어 원문 전체
영어 원문 전체 펼치기
원문 SHA-256
DC6FFC1598762522290BDF762CEE0A50E9D0FE5F586C76016658F2CE7C9312DB
.. _ti-cc13x2_cc26x2-system-off-sample:
cc13x2_cc26x2 System Off demo
#############################
Overview
********
This sample can be used for basic power measurement and as an example of
the various sleep modes on TI CC13x2/CC26x2 platforms. The functional
behavior is:
* Busy-wait for 5 seconds
* Sleep for 2 milliseconds (Idle mode)
* Sleep for 3 seconds (Standby mode)
* Turn the system off after enabling wakeup through a button press
(Shutdown mode)
A power monitor (e.g. `EnergyTrace <http://www.ti.com/tool/ENERGYTRACE>`_)
can be used to distinguish among these states.
Requirements
************
This application uses the CC13x2/CC26x2 LaunchPad for the demo.
Building, Flashing and Running
******************************
.. zephyr-app-commands::
:zephyr-app: samples/boards/ti/cc13x2_cc26x2/system_off
:board: cc1352r1_launchxl
:goals: build flash
:compact:
After flashing the device, run the code:
1. Unplug the USB cable from the LaunchPad and reconnect it to fully
power-cycle it.
2. Open UART terminal.
3. Hit the Reset button on the LaunchPad.
4. Device will turn off the external flash, which is on by default, to
reduce power consumption.
5. Device will demonstrate active, idle and standby modes.
6. Device will explicitly turn itself off by going into shutdown mode.
Press Button 1 to wake the device and restart the application as if
it had been powered back on.
Sample Output
=================
cc1352rl_launchxl output
------------------------
.. code-block:: console
*** Booting Zephyr OS build zephyr-v2.2.0-664-gd774727cc66e ***
cc1352r1_launchxl system off demo
Busy-wait 5 s
Sleep 2000 us (IDLE)
Sleep 3 s (STANDBY)
Entering system off (SHUTDOWN); press BUTTON1 to restart
Part 3
한국어 전문 번역
개요
기본 power measurement와 TI CC13x2/CC26x2 platform의 여러 sleep mode를 보여주는 sample입니다. 동작 순서는 다음과 같습니다.
- 5초 동안 busy-wait합니다.
- 2 milliseconds 동안 sleep합니다(Idle mode).
- 3초 동안 sleep합니다(Standby mode).
- Button press를 통한 wake-up을 활성화한 뒤 system을 끕니다(Shutdown mode).
EnergyTrace 같은 power monitor를 사용하면 이 state를 서로 구분할 수 있습니다.
요구 사항
이 demonstration application은 CC13x2/CC26x2 LaunchPad를 사용합니다.
Build, flash, 실행
west build -b cc1352r1_launchxl samples/boards/ti/cc13x2_cc26x2/system_off
west flash
Device를 flash한 뒤 다음 순서로 code를 실행합니다.
- LaunchPad에서 USB cable을 뽑았다 다시 연결해 완전히 power-cycle합니다.
- UART terminal을 엽니다.
- LaunchPad의 Reset button을 누릅니다.
- Device는 power consumption을 줄이기 위해 기본적으로 켜져 있는 external flash를 끕니다.
- Device가 active, idle, standby mode를 차례로 보여줍니다.
- Device가 명시적으로 shutdown mode에 들어가 스스로 꺼집니다. Button 1을 누르면 device가 깨어나고, 다시 power-on된 것처럼 application을 재시작합니다.
Sample 출력
cc1352rl_launchxl 출력
*** Booting Zephyr OS build zephyr-v2.2.0-664-gd774727cc66e ***
cc1352r1_launchxl system off demo
Busy-wait 5 s
Sleep 2000 us (IDLE)
Sleep 3 s (STANDBY)
Entering system off (SHUTDOWN); press BUTTON1 to restart
Source
출처
영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.