boards/st/stm32c0116_dk/doc/index.html · boards/st/stm32c0116_dk/doc/index.rst 공식 원문 ↗

Zephyr 3.7.0 · Boards · ST · STM32C0

ST STM32C0116-DK Discovery Kit

32KB STM32C0 kit의 DIL20 module, 5-way ADC joystick와 Zephyr peripheral을 살펴봅니다.

Official pathboards/st/stm32c0116_dk/doc/index.html
Source fileboards/st/stm32c0116_dk/doc/index.rst
Source versionZephyr 3.7.0
TranslationFull · reviewed

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

Part 1

요약·해설

지원표 13행, 모든 connector와 pin mapping, ST-LINK flash·serial 출력 및 공식 reference path를 보존했습니다.

MCU

STM32C011F6

Memory

32KB / 6KB

Module

UFQFPN20 → DIL20

Input

5-way ADC joystick

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 E09B2FD1227C032554D9FFEA3264DE5571DC4E3E1DAA0EE4C47C5D72C5005234
.. _stm32c0116_dk_board:

ST STM32C0116-DK Discovery Kit
##############################

Overview
********

The STM32C0116-DK Discovery kit helps to discover features of the STM32C0 Series
microcontroller in a UFQFPN20 package. This Discovery kit features one UFQFPN20
to DIL20 module designed with the STM32C011F6 microcontroller and allows the user to develop
and share applications. It includes an on-board ST-LINK/V2-1 to debug and program the embedded
STM32 microcontroller. Important board features include:

.. image:: ../../../../../../../boards/st/stm32c0116_dk/doc/img/stm32c0116_dk.jpg
     :align: center
     :alt: STM32C0116-DK

More information about the board can be found at the `STM32C0116-DK website`_.

Hardware
********

The STM32C0116-DK Discovery kit provides the following hardware components:

- STM32C011F6 microcontroller with 32 Kbytes of Flash memory and 6 Kbytes of RAM, in a UFQFPN20 package
- On-board ST-LINK/V2-1 debugger/programmer with USB re-enumeration capability: mass storage and debug port
- User LED
- Reset push-button
- 5 way joystick using a single ADC input pin
- Individual STM32 UFQFPN20 to DIL20 module
- Board connectors:

  - USB Micro-B
  - DIL20 socket
  - Dedicated LCD footprint
  - Grove (UART)
  - 2 x 10 pin headers for MCU daughterboard
  - Extension connectors

More information about STM32C011F6 can be found here:

- `STM32C011F6 on www.st.com`_
- `STM32C0x1 reference manual`_

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

The Zephyr stm32c0116_dk board configuration supports the following hardware features:

+-----------+------------+-------------------------------------+
| Interface | Controller | Driver/Component                    |
+===========+============+=====================================+
| NVIC      | on-chip    | nested vector interrupt controller  |
+-----------+------------+-------------------------------------+
| UART      | on-chip    | serial port-polling;                |
|           |            | serial port-interrupt               |
+-----------+------------+-------------------------------------+
| PINMUX    | on-chip    | pinmux                              |
+-----------+------------+-------------------------------------+
| GPIO      | on-chip    | gpio                                |
+-----------+------------+-------------------------------------+
| CLOCK     | on-chip    | reset and clock control             |
+-----------+------------+-------------------------------------+
| RTC       | on-chip    | counter                             |
+-----------+------------+-------------------------------------+
| IWDG      | on-chip    | independent watchdog                |
+-----------+------------+-------------------------------------+
| WWDG      | on-chip    | window watchdog                     |
+-----------+------------+-------------------------------------+
| PWM       | on-chip    | pwm                                 |
+-----------+------------+-------------------------------------+
| ADC       | on-chip    | ADC Controller                      |
+-----------+------------+-------------------------------------+
| die-temp  | on-chip    | die temperature sensor              |
+-----------+------------+-------------------------------------+
| I2C       | on-chip    | i2c                                 |
+-----------+------------+-------------------------------------+
| DMA       | on-chip    | Direct Memory Access                |
+-----------+------------+-------------------------------------+

Other hardware features are not yet supported on Zephyr porting.

The default configuration can be found in
:zephyr_file:`boards/st/stm32c0116_dk/stm32c0116_dk_defconfig`

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

STM32C0116-DK Discovery kit has 4 GPIO controllers. These controllers are responsible for pin muxing,
input/output, pull-up, etc.

For more details please refer to `STM32C0116-DK board User Manual`_.

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

The STM32C0116 Discovery board is configured as follows:

- UART_2 TX/RX : PA2/PA3
- UART_1 TX/RX : PA9/PA10 (ST-Link Virtual Port Com)
- PWM_1_CH3 : PB6
- ADC1_CH8 : PA8
- LD3 : PB6

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

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

Flashing
========

STM32C0116-DK Discovery kit includes an ST-LINK/V2 embedded debug tool interface.

Flashing an application to STM32C0116-DK
-------------------------------------------

First, connect the STM32C0116 Discovery kit to your host computer using
the USB port to prepare it for flashing. Then build and flash your application.

Here is an example for the :ref:`hello_world` application.

.. zephyr-app-commands::
   :zephyr-app: samples/hello_world
   :board: stm32c0116_dk
   :goals: build flash

Run a serial host program to connect with your board:

.. code-block:: console

   $ minicom -D /dev/ttyACM0

You should see the following message on the console:

.. code-block:: console

   Hello World! arm


.. _STM32C0116-DK website:
   https://www.st.com/en/evaluation-tools/stm32c0116-dk.html

.. _STM32C0116-DK board User Manual:
   https://www.st.com/resource/en/user_manual/um2970-discovery-kit-with-stm32c011f6-mcu-stmicroelectronics.pdf

.. _STM32C011F6 on www.st.com:
   https://www.st.com/resource/en/datasheet/stm32c011f6.pdf

.. _STM32C0x1 reference manual:
   https://www.st.com/resource/en/reference_manual/rm0490-stm32c0x1-advanced-armbased-64bit-mcus-stmicroelectronics.pdf

Part 3

한국어 전문 번역

STM32C0116-DK

개요

STM32C0116-DK는 UFQFPN20 STM32C0 기능을 탐색하는 Discovery kit입니다. STM32C011F6으로 만든 UFQFPN20-to-DIL20 module과 on-board ST-LINK/V2-1을 제공해 application 개발·공유와 MCU debug·programming을 지원합니다.

Hardware

  • UFQFPN20 STM32C011F6: flash 32KB, RAM 6KB
  • Mass-storage·debug-port USB re-enumeration이 가능한 ST-LINK/V2-1
  • User LED와 reset button
  • ADC input 1개를 사용하는 5-way joystick
  • 독립형 UFQFPN20-to-DIL20 module
  • Connector
    • USB Micro-B
    • DIL20 socket
    • Dedicated LCD footprint
    • Grove UART
    • MCU daughterboard용 2×10 pin header
    • Extension connector

Zephyr 지원 기능

InterfaceControllerDriver/Component
NVICon-chipnested vector interrupt controller
UARTon-chipserial port-polling; serial port-interrupt
PINMUXon-chippinmux
GPIOon-chipgpio
CLOCKon-chipreset and clock control
RTCon-chipcounter
IWDGon-chipindependent watchdog
WWDGon-chipwindow watchdog
PWMon-chippwm
ADCon-chipADC Controller
die-tempon-chipdie temperature sensor
I2Con-chipi2c
DMAon-chipDirect Memory Access

표 밖 기능은 아직 지원하지 않습니다. 기본 설정은 boards/st/stm32c0116_dk/stm32c0116_dk_defconfig입니다.

Pin mapping

GPIO controller 4개가 pin muxing, input/output, pull-up 등을 담당합니다.

기본 Zephyr peripheral mapping

  • UART_2 TX/RX : PA2/PA3
  • UART_1 TX/RX : PA9/PA10 (ST-Link Virtual Port Com)
  • PWM_1_CH3 : PB6
  • ADC1_CH8 : PA8
  • LD3 : PB6

Programming and debugging

USB로 board를 연결한 뒤 on-board ST-LINK/V2를 사용해 hello_world를 build·flash합니다.

west build -b stm32c0116_dk samples/hello_world
west flash
$ minicom -D /dev/ttyACM0
Hello World! arm

참고 자료

Source

출처

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