Part 1
요약·해설
VBAT jumper, backup_sram DT node와 retention 출력을 설명합니다.
Supply
VBAT
Storage
Backup SRAM
Test
Power cycle
Part 2
접을 수 있는 영어 원문 전체
영어 원문 전체 펼치기
원문 SHA-256
D9D5AED840326E4BE2DC8205B33B4BA6AE2DC61B4AE18EE5760C6B5AA9963AE2
.. _stm32_backup_sram:
STM32 Backup SRAM
#################
Overview
********
Multiple STM32 microcontrollers have a small backup SRAM that can be used as a
NVM when VBAT pin is supplied with a voltage source, e.g. a coin button cell.
This example shows how to define a variable on the Backup SRAM. Each time the
application runs the current value is displayed and then incremented by one. If
VBAT is preserved, the incremented value will be shown on the next power-cycle.
.. note::
On most boards VBAT is typically connected to VDD thanks to a jumper.
To exercise this sample with an independent VBAT source, you will need to
remove the jumper.
Building and Running
********************
In order to run this sample, make sure to enable ``backup_sram`` node in your
board DT file.
.. zephyr-app-commands::
:zephyr-app: samples/boards/stm32/backup_sram
:board: nucleo_h743zi
:goals: build
:compact:
Sample Output
=============
.. code-block:: console
Current value in backup SRAM: 11
Next reported value should be: 12
Keep VBAT power source and reset the board now!
Part 3
한국어 전문 번역
개요
여러 STM32 microcontroller에는 작은 backup SRAM이 있습니다. VBAT pin에 coin button cell 같은 voltage source를 공급하면 이 memory를 NVM처럼 사용할 수 있습니다.
이 예제는 Backup SRAM에 variable을 정의하는 방법을 보여줍니다. Application이 실행될 때마다 현재 값을 표시한 뒤 1 증가시킵니다. VBAT 전원이 유지되면 다음 power-cycle 때 증가한 값이 표시됩니다.
Build와 실행
Sample을 실행하려면 board DT file에서 backup_sram node를 활성화해야 합니다.
west build -b nucleo_h743zi samples/boards/stm32/backup_sram
Sample 출력
Current value in backup SRAM: 11
Next reported value should be: 12
Keep VBAT power source and reset the board now!
Source
출처
영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.