boards/others/stm32f030_demo/doc/index.html · boards/others/stm32f030_demo/doc/index.rst 공식 원문 ↗

Zephyr 3.7.0 · Boards · Others · STM32F0

STM32F030 Demo Board

16 KiB flash와 4 KiB RAM의 STM32F030F4P6 최소 구성 board입니다.

Official pathboards/others/stm32f030_demo/doc/index.html
Source fileboards/others/stm32f030_demo/doc/index.rst
Source versionZephyr 3.7.0
TranslationFull · reviewed

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

Part 1

요약·해설

지원 기능 6종, UART/LED pin, power-only USB와 ST-LINKV2 workflow를 설명합니다.

MCU

STM32F030F4P6 · Cortex-M0

Memory

16 KiB flash · 4 KiB RAM

Debug

ST-LINKV2 · SWD

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 1C754DEF1D07881CD9FC22F0520825BD644A4A93C0CA54DFC3D89DEFC916A2E2
.. _stm32f030_demo:

STM32F030 DEMO BOARD
####################

This board has the bare minimum components required to power on
the STM32F030F4P6 MCU. Most of the GPIOs on the STM32 SoC have
been exposed in the external headers with silk screen labels
that match the SoC's pin names.

For practical use, you'll need to add additional components
and circuits using a breadboard, for example.

.. image:: ../../../../../../../boards/others/stm32f030_demo/doc/img/stm32f030_demo.jpg
   :align: center
   :alt: STM32F030 DEMO BOARD

More information about the board can be found at the `stm32-base.org website`_.

More information about STM32F030F4P6 can be found here:

- `STM32F030 reference manual`_
- `STM32F030 data sheet`_

Hardware
********

- STM32F030F4P6 ARM Cortex-M0 processor, frequency up to 48 MHz
- 16 KiB of flash memory and 4 KiB of RAM
- 8 MHz quartz crystal
- 1 user LED
- One reset button
- 2-way jumper (BOOT0)
- Serial (1x4 male dupont (2.54mm))
- SWD (1x4 male dupont (2.54mm))
- USB port (power only)

Supported Features
==================

The Zephyr stm32f030_demo board configuration supports the following
hardware features:

+-----------+------------+-------------------------------------+
| Interface | Controller | Driver/Component                    |
+===========+============+=====================================+
| NVIC      | on-chip    | nested vector interrupt controller  |
+-----------+------------+-------------------------------------+
| UART      | on-chip    | serial port                         |
+-----------+------------+-------------------------------------+
| PINMUX    | on-chip    | pinmux                              |
+-----------+------------+-------------------------------------+
| GPIO      | on-chip    | gpio                                |
+-----------+------------+-------------------------------------+
| WATCHDOG  | on-chip    | independent watchdog                |
+-----------+------------+-------------------------------------+
| die-temp  | on-chip    | die temperature sensor              |
+-----------+------------+-------------------------------------+

Other hardware features are not yet supported on this Zephyr porting.

The default configuration can be found in
:zephyr_file:`boards/others/stm32f030_demo/stm32f030_demo_defconfig`

Pin Mapping
===========

Default Zephyr Peripheral Mapping:
----------------------------------

- UART_1 TX/RX : PA9/PA10
- LED : PA4

Programming and Debugging
*************************

Applications for the ``stm32f030_demo`` board configuration can be built and
flashed in the usual way (see :ref:`build_an_application` and
:ref:`application_run` for more details).

Flashing
========

The board can be flashed by using ST-LINKV2 in-circuit debugger and programmer.
This interface is supported by the openocd version included in the Zephyr SDK.

Flashing an application to STM32F030 DEMO BOARD
-----------------------------------------------

Here is an example for the :zephyr:code-sample:`blinky` application.

.. zephyr-app-commands::
   :zephyr-app: samples/basic/blinky
   :board: stm32f030_demo
   :goals: build flash

You will see the LED blinking every second.

Debugging
=========

You can debug an application in the usual way. Here is an example for the
:zephyr:code-sample:`blinky` application.

.. zephyr-app-commands::
   :zephyr-app: samples/basic/blinky
   :board: stm32f030_demo
   :maybe-skip-config:
   :goals: debug

References
**********

.. target-notes::

.. _stm32-base.org website:
   https://stm32-base.org/boards/STM32F030F4P6-STM32F030-DEMO-BOARD-V1.1

.. _STM32F030 reference manual:
   https://www.st.com/resource/en/reference_manual/dm00091010.pdf

.. _STM32F030 data sheet:
   https://www.st.com/resource/en/datasheet/stm32f030f4.pdf

Part 3

한국어 전문 번역

개요

STM32F030 Demo Board는 STM32F030F4P6을 구동하는 최소 부품만 갖추며 대부분 GPIO를 SoC pin name과 같은 silkscreen label의 external header로 노출합니다. 실제 사용에는 breadboard 등의 추가 회로가 필요합니다.

STM32F030 Demo Board
STM32F030 Demo Board. Zephyr v3.7.0 공식 문서.

하드웨어

  • 최대 48 MHz STM32F030F4P6 Cortex-M0
  • 16 KiB flash, 4 KiB RAM, 8 MHz crystal
  • User LED 1개, reset button, BOOT0 2-way jumper
  • 2.54 mm 1x4 male Dupont serial과 SWD header
  • 전원 전용 USB port

지원 기능

인터페이스컨트롤러드라이버/컴포넌트
NVICon-chipnested vector interrupt controller
UARTon-chipserial port
PINMUXon-chippinmux
GPIOon-chipgpio
WATCHDOGon-chipindependent watchdog
die-tempon-chipdie temperature sensor

표 밖의 기능은 아직 지원되지 않습니다. 기본 구성은 boards/others/stm32f030_demo/stm32f030_demo_defconfig입니다.

핀 배치

  • UART_1 TX/RX: PA9/PA10
  • LED: PA4

Flash와 debug

Zephyr SDK bundled OpenOCD가 지원하는 ST-LINKV2 in-circuit debugger/programmer를 사용합니다.

# Zephyr 저장소 루트에서
west build -b stm32f030_demo samples/basic/blinky
west flash

LED가 1초마다 blink합니다.

# Zephyr 저장소 루트에서
west build -b stm32f030_demo samples/basic/blinky
west debug

참고 자료

Source

출처

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