Part 1
요약·해설
지원표 7행, evaluation hardware 전체, joystick·LED mapping, 48MHz clock과 ST-LINK OpenOCD workflow를 전문 번역했습니다.
STM32F072VBT6
48MHz
128KB / 16KB
CAN · HDMI · USB
Part 2
접을 수 있는 영어 원문 전체
영어 원문 전체 펼치기
178028796F8929CFDDFF580203626CCAB240C0BF7D1EA3450A3FFA6225900145
.. _stm32f072_eval_board:
ST STM32F072 Evaluation
#######################
Overview
********
The STM32F072-EVAL Discovery kit features an ARM Cortex-M0 based STM32F072VBT6 MCU
with a wide range of connectivity support and configurations.
Here are some highlights of the STM32F072-EVAL board:
- Four 5 V power supply options: power jack, ST-LINK/V2 USB connector, user USB connector, or daughter board
- Stereo audio jack, which supports a headset with microphone connected to DAC and ADC of STM32F072VBT6.
- 2G Byte (or more) SPI interface MicroSD card
- I2C compatible serial interface temperature sensor
- RF E2PROM
- RS232 and RS485 communication
- IrDA transceiver
- IR LED and IR receiver
- SWD debug support, ST-LINK/V2 embedded
- 240x320 TFT color LCD connected to SPI interface of STM32F072VBT6
- Joystick with 4-direction control and selector
- Reset and tamper buttons
- Four color user LEDs and two LEDs as MCU low power alarm
- Extension connector for daughter board or wrapping board
- MCU voltage choice: fixed 3.3 V or adjustable from 1.65 V to 3.6 V
- USB full-speed connector
- Touch sensing buttons
- RTC with backup battery
- CAN2.0A/B compliant connector
- Light Dependent Resistor (LDR)
- Potentiometer
- Two HDMI connectors with DDC and CEC
- Smart Card slot
- Motor control connector
.. image:: ../../../../../../../boards/st/stm32f072_eval/doc/img/stm32f072_eval.jpg
:align: center
:alt: STM32F072-EVAL
Hardware
********
STM32F072-EVAL Discovery kit provides the following hardware components:
- STM32F072VBT6 in LQFP100 package
- ARM |reg| 32-bit Cortex |reg| -M0 CPU
- 48 MHz max CPU frequency
- VDD from 2.0 V to 3.6 V
- 128 KB Flash
- 16 KB SRAM with HW parity
- GPIO with external interrupt capability
- one 12-bit ADC with 16 channels
- one 12-bit D/A converters with 2 channels
- RTC
- Advanced-control Timer
- General Purpose Timers (8)
- Watchdog Timers (2)
- USART (4)
- I2C (2)
- SPI (2)
- CAN
- USB 2.0 OTG FS with on-chip PHY
- CRC calculation unit
- DMA Controller
- HDMI CEC Controller
- 24 capacitive sensing channels for touchkey, linear, and rotary touch sensors
- Up to 87 fast I/Os: 68 I/Os with 5V tolerant capability and 19 with independent supply
More information about STM32F072VB can be found here:
- `STM32F072VB on www.st.com`_
- `STM32F072 reference manual`_
Supported Features
==================
The Zephyr stm32f072_eval 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 |
+-----------+------------+-------------------------------------+
| PWM | on-chip | pwm |
+-----------+------------+-------------------------------------+
| CLOCK | on-chip | reset and clock control |
+-----------+------------+-------------------------------------+
| WATCHDOG | on-chip | independent watchdog |
+-----------+------------+-------------------------------------+
Other hardware features are not yet supported on this Zephyr porting.
The default configuration can be found in
:zephyr_file:`boards/st/stm32f072_eval/stm32f072_eval_defconfig`
Pin Mapping
===========
STM32F072-EVAL Discovery kit has 6 GPIO controllers. These controllers are responsible for pin muxing,
input/output, pull-up, etc.
For more details please refer to STM32F072-EVAL board User Manual.
Default Zephyr Peripheral Mapping:
----------------------------------
- UART_2_TX : PD5
- UART_2_RX : PD6
- TAMPER_PB : PC13
- JOYSTICK_RIGHT_PB : PE3
- JOYSTICK_LEFT_PB : PF2
- JOYSTICK_UP_PB : PF9
- JOYSTICK_DOWN_PB : PF10
- JOYSTICK_SEL_PB : PA0
- LD1 : PD8
- LD2 : PD9
- LD3 : PD10
- LD4 : PD11
System Clock
============
STM32F072-EVAL System Clock could be driven by an internal or external oscillator,
as well as the main PLL clock. By default the System clock is driven by the PLL clock at 48MHz,
driven by an 8MHz high speed internal clock.
Serial Port
===========
STM32F072-EVAL Discovery kit has up to 4 UARTs. The Zephyr console output is assigned to UART2.
Default settings are 115200 8N1.
Programming and Debugging
*************************
Applications for the ``stm32f072_eval`` board configuration can be built and
flashed in the usual way (see :ref:`build_an_application` and
:ref:`application_run` for more details).
Flashing
========
STM32F072-EVAL Discovery kit includes an ST-LINK/V2 embedded debug tool interface.
This interface is supported by the openocd version included in Zephyr SDK.
Flashing an application to STM32F072-EVAL
-------------------------------------------
Here is an example for the :zephyr:code-sample:`blinky` application.
.. zephyr-app-commands::
:zephyr-app: samples/basic/blinky
:board: stm32f072_eval
: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: stm32f072_eval
:maybe-skip-config:
:goals: debug
.. _STM32F072VB on www.st.com:
https://www.st.com/en/microcontrollers/stm32f072vb.html
.. _STM32F072 reference manual:
https://www.st.com/resource/en/reference_manual/dm00031936.pdf
Part 3
한국어 전문 번역

개요
STM32F072-EVAL은 Cortex-M0 STM32F072VBT6를 탑재한 connectivity evaluation board입니다.
- Power jack·ST-LINK/V2 USB·user USB·daughterboard의 5V 전원 4가지
- STM32 DAC·ADC에 연결된 microphone headset stereo jack
- SPI 2GB 이상 microSD
- I2C temperature sensor와 RF EEPROM
- RS-232·RS-485, IrDA, IR LED·receiver
- Embedded ST-LINK/V2 SWD
- SPI 240×320 TFT
- 4-direction·selector joystick
- Reset·tamper button
- User color LED 4개와 MCU low-power alarm LED 2개
- Daughterboard/wrapping-board extension
- Fixed 3.3V 또는 adjustable 1.65~3.6V MCU voltage
- USB full-speed, touch button, backup-battery RTC
- CAN 2.0A/B, LDR, potentiometer
- DDC·CEC HDMI connector 2개
- Smart-card slot과 motor-control connector
Hardware
- LQFP100 STM32F072VBT6 Cortex-M0, 최대 48MHz
- VDD 2.0~3.6V
- Flash 128KB, hardware parity SRAM 16KB
- External-interrupt GPIO
- 16-channel 12-bit ADC 1개와 2-channel 12-bit DAC 1개
- RTC, advanced-control timer, general-purpose timer 8개, watchdog 2개
- USART 4개, I2C 2개, SPI 2개, CAN
- On-chip PHY USB 2.0 OTG FS
- CRC, DMA, HDMI CEC
- Touchkey·linear·rotary용 capacitive channel 24개
- Fast I/O 최대 87개: 5V tolerant 68개, independent supply 19개
Zephyr 지원 기능
| 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 |
| PWM | on-chip | pwm |
| CLOCK | on-chip | reset and clock control |
| WATCHDOG | on-chip | independent watchdog |
표 밖 기능은 아직 지원하지 않습니다. 기본 설정은 boards/st/stm32f072_eval/stm32f072_eval_defconfig입니다.
Pin mapping
GPIO controller 6개가 pin muxing, input/output, pull-up 등을 담당합니다.
기본 Zephyr peripheral mapping
UART_2_TX : PD5UART_2_RX : PD6TAMPER_PB : PC13JOYSTICK_RIGHT_PB : PE3JOYSTICK_LEFT_PB : PF2JOYSTICK_UP_PB : PF9JOYSTICK_DOWN_PB : PF10JOYSTICK_SEL_PB : PA0LD1 : PD8LD2 : PD9LD3 : PD10LD4 : PD11
Clock과 serial
기본 system clock은 원문 표현대로 8MHz “high-speed internal clock”이 구동하는 PLL의 48MHz입니다. UART는 최대 4개이며 console은 UART2, 115200 8N1입니다.
Programming and debugging
On-board ST-LINK/V2는 Zephyr SDK의 OpenOCD가 지원합니다. blinky를 flash하면 LED가 1초마다 깜빡입니다.
west build -b stm32f072_eval samples/basic/blinky
west flashDebugging
west build -b stm32f072_eval samples/basic/blinky
west debug
참고 자료
Source
출처
영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.