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

Zephyr 3.7.0 · Boards · ST · Nucleo-64

ST Nucleo L073RZ

L0 Nucleo-64의 15개 지원 interface와 analog·PWM pin 공유를 살펴봅니다.

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

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

Part 1

요약·해설

지원표 15행, connector·전체 pin mapping, PA5의 LED/SPI/PWM 충돌 가능성과 OpenOCD workflow를 보존합니다.

MCU

STM32L073RZ

Support

15 interfaces

DAC

PA4

PWM

PA5 shared

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 1D696DC042A081E5AFA34AE5DB932E6F6E181ABF238C9B05077FE9F1C8DE89ED
.. _nucleo_l073rz_board:

ST Nucleo L073RZ
################

Overview
********
The STM32 Nucleo-64 development board with STM32L073RZ MCU, supports Arduino and ST morpho connectivity.

The STM32 Nucleo board provides an affordable, and flexible way for users to try out new concepts,
and build prototypes with the STM32 microcontroller, choosing from the various
combinations of performance, power consumption, and features.

The Arduino* Uno V3 connectivity support and the ST morpho headers allow easy functionality
expansion of the STM32 Nucleo open development platform with a wide choice of
specialized shields.

The STM32 Nucleo board integrates the ST-LINK/V2-1 debugger and programmer.

The STM32 Nucleo board comes with the STM32 comprehensive software HAL library together
with various packaged software examples.

.. image:: ../../../../../../../boards/st/nucleo_l073rz/doc/img/nucleo_l073rz.jpg
   :align: center
   :alt: Nucleo L073RZ

More information about the board can be found at the `Nucleo L073RZ website`_.

Hardware
********
Nucleo L073RZ provides the following hardware components:

- STM32 microcontroller in QFP64 package
- Two types of extension resources:

  - Arduino* Uno V3 connectivity
  - ST morpho extension pin headers for full access to all STM32 I/Os

- ARM* mbed*
- On-board ST-LINK/V2-1 debugger/programmer with SWD connector:

  - Selection-mode switch to use the kit as a standalone ST-LINK/V2-1

- Flexible board power supply:

  - USB VBUS or external source (3.3V, 5V, 7 - 12V)
  - Power management access point

- Three LEDs:

  - USB communication (LD1), user LED (LD2), power LED (LD3)

- Two push-buttons: USER and RESET
- USB re-enumeration capability. Three different interfaces supported on USB:

  - Virtual COM port
  - Mass storage
  - Debug port

- Support of wide choice of Integrated Development Environments (IDEs) including:

  - IAR
  - ARM Keil
  - GCC-based IDEs

More information about STM32L073RZ can be found in the
`STM32L0x3 reference manual`_


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

The Zephyr nucleo_l073rz 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             |
+-----------+------------+-------------------------------------+
| I2C       | on-chip    | i2c controller                      |
+-----------+------------+-------------------------------------+
| SPI       | on-chip    | spi controller                      |
+-----------+------------+-------------------------------------+
| WATCHDOG  | on-chip    | independent watchdog                |
+-----------+------------+-------------------------------------+
| PWM       | on-chip    | pwm                                 |
+-----------+------------+-------------------------------------+
| ADC       | on-chip    | ADC Controller                      |
+-----------+------------+-------------------------------------+
| DAC       | on-chip    | DAC Controller                      |
+-----------+------------+-------------------------------------+
| RNG       | on-chip    | Random Number Generator             |
+-----------+------------+-------------------------------------+
| EEPROM    | on-chip    | eeprom                              |
+-----------+------------+-------------------------------------+
| die-temp  | on-chip    | die temperature sensor              |
+-----------+------------+-------------------------------------+
| RTC       | on-chip    | rtc                                 |
+-----------+------------+-------------------------------------+

Other hardware features are not yet supported in this Zephyr port.

The default configuration can be found in the defconfig file:
:zephyr_file:`boards/st/nucleo_l073rz/nucleo_l073rz_defconfig`

Connections and IOs
===================

Each of the GPIO pins can be configured by software as output (push-pull or open-drain), as
input (with or without pull-up or pull-down), or as peripheral alternate function. Most of the
GPIO pins are shared with digital or analog alternate functions. All GPIOs are high current
capable except for analog inputs.

Board connectors:
-----------------
.. image:: ../../../../../../../boards/st/nucleo_l073rz/doc/img/nucleo_l073rz_connectors.jpg
   :align: center
   :alt: Nucleo L073RZ connectors

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

- UART_1 TX/RX : PB6/PB7
- UART_2 TX/RX : PA2/PA3 (ST-Link Virtual Port Com)
- I2C1 SCL/SDA : PB8/PB9 (Arduino I2C)
- SPI1 SCK/MISO/MOSI : PA5/PA6/PA7 (Arduino SPI)
- USER_PB   : PC13
- LD2       : PA5
- DAC       : PA4
- PWM_2_CH1 : PA5 (might conflict with SPI1)

For more details please refer to `STM32 Nucleo-64 board User Manual`_.

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

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

Flashing
========

Nucleo L073RZ board includes an ST-LINK/V2-1 embedded debug tool interface.
This interface is supported by the openocd version included in the Zephyr SDK.

Flashing an application to Nucleo L073RZ
----------------------------------------

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

.. zephyr-app-commands::
   :zephyr-app: samples/basic/blinky
   :board: nucleo_l073rz
   :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
:ref:`hello_world` application.

.. zephyr-app-commands::
   :zephyr-app: samples/hello_world
   :board: nucleo_l073rz
   :maybe-skip-config:
   :goals: debug

References
**********

.. target-notes::

.. _Nucleo L073RZ website:
   https://www.st.com/en/evaluation-tools/nucleo-l073rz.html

.. _STM32L0x3 reference manual:
   https://www.st.com/resource/en/reference_manual/dm00095744.pdf

.. _STM32 Nucleo-64 board User Manual:
   https://www.st.com/resource/en/user_manual/dm00105823.pdf

Part 3

한국어 전문 번역

Nucleo L073RZ

개요

Nucleo L073RZ는 STM32L073RZ를 탑재하고 Arduino Uno V3와 ST morpho 연결을 지원하는 Nucleo-64 개발 보드입니다. 여러 성능·소비 전력·기능 조합으로 개념과 prototype을 시험하며 ST-LINK/V2-1과 STM32 HAL library/example을 내장합니다.

Hardware

  • QFP64 STM32 microcontroller
  • Arduino Uno V3와 모든 STM32 I/O에 접근하는 ST morpho header
  • ARM mbed 지원
  • Standalone ST-LINK/V2-1로 전환 가능한 selection-mode switch와 SWD
  • USB VBUS 또는 외부 3.3V·5V·7~12V 전원, power-management access point
  • LD1 USB communication·LD2 user·LD3 power LED
  • USER·RESET button
  • Virtual COM·mass storage·debug port USB re-enumeration
  • IAR·Arm Keil·GCC 기반 IDE 지원

MCU 상세 정보는 STM32L0x3 reference manual을 참조합니다.

Zephyr 지원 기능

InterfaceControllerDriver/Component
NVICon-chipnested vector interrupt controller
UARTon-chipserial port-polling; serial port-interrupt
PINMUXon-chippinmux
GPIOon-chipgpio
CLOCKon-chipreset and clock control
I2Con-chipi2c controller
SPIon-chipspi controller
WATCHDOGon-chipindependent watchdog
PWMon-chippwm
ADCon-chipADC Controller
DACon-chipDAC Controller
RNGon-chipRandom Number Generator
EEPROMon-chipeeprom
die-tempon-chipdie temperature sensor
RTCon-chiprtc

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

Connection과 I/O

각 GPIO는 push-pull/open-drain output, pull-up/down 유무를 포함한 input 또는 peripheral alternate function으로 설정할 수 있습니다. 대부분 digital/analog alternate function과 공유하며 analog input을 제외한 GPIO는 high-current capable입니다.

Nucleo L073RZ connector 배치
  • UART_1 TX/RX : PB6/PB7
  • UART_2 TX/RX : PA2/PA3 (ST-Link Virtual COM)
  • I2C1 SCL/SDA : PB8/PB9 (Arduino I2C)
  • SPI1 SCK/MISO/MOSI : PA5/PA6/PA7 (Arduino SPI)
  • USER_PB : PC13, LD2 : PA5
  • DAC : PA4
  • PWM_2_CH1 : PA5 (SPI1과 충돌할 수 있음)

Programming and debugging

Onboard ST-LINK/V2-1은 Zephyr SDK에 포함된 OpenOCD가 지원합니다. Blinky를 build·flash하면 LED가 1초마다 깜박입니다.

west build -b nucleo_l073rz samples/basic/blinky
west flash

Debugging

west build -b nucleo_l073rz samples/hello_world
west debug

참고 자료

Source

출처

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