Part 1
요약·해설
지원표 5행, hardware 전체, PWM LED mapping, PCB B/D flash target과 원문의 F411G 오기를 보존했습니다.
STM32F411VE
100MHz
DAC · MEMS mic
B / D
Part 2
접을 수 있는 영어 원문 전체
영어 원문 전체 펼치기
101ADB5B7F41A28AB317DDE5A0A171C995F8FD993DC385B0039E6C4FCFFE8BE1
.. _stm32f411e_disco_board:
ST STM32F411E Discovery
#######################
Overview
********
The STM32F411E Discovery kit features an ARM Cortex-M4 based STM32F411VE MCU
with a wide range of connectivity support and configurations.
Here are some highlights of the STM32F411E-DISCO board:
- STM32F411VET6 microcontroller featuring 512 KB of Flash memory, 128 KB of RAM in an LQFP100 package
- On-board ST-LINK/V2 with selection mode switch to use the kit as a standalone STLINK/V2 (with SWD connector for programming and debugging)
- Board power supply: through USB bus or from an external 5 V supply voltage
- External application power supply: 3 V and 5 V
- L3GD20(rev B) or I3G4250D(rev D): ST MEMS motion sensor, 3-axis digital output gyroscope.
- LSM303DLHC(rev B) or LSM303AGR(rev D): ST MEMS system-in-package featuring a 3D digital linear acceleration sensor and a 3D digital magnetic sensor.
- MP45DT02(rev B) or IMP34DT05(rev D), ST MEMS audio sensor, omnidirectional digital microphone
- CS43L22, audio DAC with integrated class D speaker driver
- Eight LEDs:
- LD1 (red/green) for USB communication
- LD2 (red) for 3.3 V power on
- Four user LEDs:
LD3 (orange), LD4 (green), LD5 (red) and LD6 (blue)
- Two USB OTG LEDs:
LD7 (green) VBus and LD8 (red) over-current
- Two pushbuttons (user and reset)
- USB OTG with micro-AB connector
- Extension header for LQFP100 I/Os for a quick connection to the prototyping board and an easy probing
.. image:: ../../../../../../../boards/st/stm32f411e_disco/doc/img/stm32f411e_disco.jpg
:align: center
:alt: STM32F411E-DISCO
More information about the board can be found at the `32F411EDISCOVERY website`_.
Hardware
********
STM32F411E-DISCO Discovery kit provides the following hardware components:
- STM32F411VET6 in LQFP100 package
- ARM |reg| 32-bit Cortex |reg| -M4 CPU with FPU
- 100 MHz max CPU frequency
- VDD from 1.7 V to 3.6 V
- 512 KB Flash
- 128 KB SRAM
- GPIO with external interrupt capability
- 1x12-bit, 2.4 MSPS ADC with 16 channels
- DMA Controller
- Up to 11 Timers (six 16-bit, two 32-bit, two watchdog timers and a SysTick timer)
- USART/UART (3)
- I2C (3)
- SPI/I2S (5)
- SDIO
- USB 2.0 full-speed device/host/OTG controller with on-chip PHY
- CRC calculation unit
- 96-bit unique ID
- RTC
More information about STM32F411VE can be found here:
- `STM32F411VE website`_
- `STM32F411x reference manual`_
Supported Features
==================
The Zephyr stm32f411e_disco 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 |
+-----------+------------+-------------------------------------+
Other hardware features are not yet supported on Zephyr porting.
The default configuration can be found in
:zephyr_file:`boards/st/stm32f411e_disco/stm32f411e_disco_defconfig`
Pin Mapping
===========
STM32F411E-DISCO Discovery kit has 5 GPIO controllers. These controllers are
responsible for pin muxing, input/output, pull-up, etc.
For more details please refer to `32F411EDISCOVERY board User Manual`_.
Default Zephyr Peripheral Mapping:
----------------------------------
- UART_2_TX : PA2
- UART_2_RX : PA3
- LD3 : PD13 (PWM4 CH2)
- LD4 : PD12 (PWM4 CH1)
- LD5 : PD14 (PWM4 CH3)
- LD6 : PD15 (PWM4 CH4)
System Clock
============
STM32F411E-DISCO 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 100MHz, driven by the internal oscillator.
Serial Port
===========
The STM32F411G Discovery kit has up to 3 UARTs. The Zephyr console output is
assigned to UART2. Default settings are 115200 8N1.
Programming and Debugging
*************************
Applications for the ``stm32f411e_disco`` board configuration can be built and
flashed in the usual way (see :ref:`build_an_application` and
:ref:`application_run` for more details).
Flashing
========
STM32F411E-DISCO 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 STM32F411E-DISCO
-------------------------------------------
Connect the STM32F411E-DISCO Discovery kit to your host computer using the
USB port. Then build and flash an application.
Here is an example for the :zephyr:code-sample:`blinky` application.
.. zephyr-app-commands::
:zephyr-app: samples/basic/blinky
:board: stm32f411e_disco
:goals: build flash
In case you are using PCB revision B, you have to use an
adapted board definition as the default PCB rev here is D:
.. zephyr-app-commands::
:zephyr-app: samples/basic/blinky
:board: stm32f411e_disco@B
:goals: build flash
You should see the orange led (LD3) blinking every second.
Debugging
=========
You can debug applications in the usual way. Here is an example for
the :zephyr:code-sample:`blinky` application.
.. zephyr-app-commands::
:zephyr-app: samples/basic/blinky
:board: stm32f411e_disco
:maybe-skip-config:
:goals: debug
References
**********
.. target-notes::
.. _32F411EDISCOVERY website:
https://www.st.com/en/evaluation-tools/32f411ediscovery.html
.. _32F411EDISCOVERY board User Manual:
https://www.st.com/resource/en/user_manual/dm00148985.pdf
.. _STM32F411VE website:
https://www.st.com/en/microcontrollers/stm32f411ve.html
.. _STM32F411x reference manual:
https://www.st.com/resource/en/reference_manual/dm00119316.pdf
Part 3
한국어 전문 번역

개요
STM32F411E Discovery kit는 ARM Cortex-M4 기반 STM32F411VE MCU와 다양한 연결 구성을 제공합니다.
- LQFP100 STM32F411VET6: Flash 512KB, RAM 128KB
- mode switch로 standalone ST-LINK/V2로도 쓸 수 있는 on-board ST-LINK/V2와 SWD connector
- USB bus 또는 외부 5V board power
- 외부 application용 3V·5V power
- PCB B의 L3GD20 또는 PCB D의 I3G4250D 3-axis gyroscope
- PCB B의 LSM303DLHC 또는 PCB D의 LSM303AGR 3D acceleration·magnetic sensor
- PCB B의 MP45DT02 또는 PCB D의 IMP34DT05 omnidirectional digital microphone
- class-D speaker driver가 통합된 CS43L22 audio DAC
- LED 8개
- USB communication LD1(red/green)
- 3.3V power LD2(red)
- user LD3 orange·LD4 green·LD5 red·LD6 blue
- USB OTG VBus LD7 green·over-current LD8 red
- USER·RESET pushbutton
- Micro-AB USB OTG
- LQFP100 I/O extension header
Hardware
- STM32F411VET6, LQFP100
- FPU를 갖춘 ARM 32-bit Cortex-M4 CPU
- 최대 CPU 100MHz
- VDD 1.7~3.6V
- Flash 512KB
- SRAM 128KB
- external interrupt GPIO
- 16-channel 12-bit 2.4MSPS ADC 1개
- DMA controller
- timer 최대 11개: 16-bit 6개, 32-bit 2개, watchdog 2개, SysTick
- USART/UART 3개
- I2C 3개
- SPI/I2S 5개
- SDIO
- on-chip PHY가 있는 USB 2.0 full-speed device/host/OTG controller
- CRC unit
- 96-bit unique ID
- RTC
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 |
표 밖 기능은 아직 지원하지 않습니다. 기본 설정은 boards/st/stm32f411e_disco/stm32f411e_disco_defconfig입니다.
Pin mapping
GPIO controller 5개가 pin muxing, input/output, pull-up 등을 담당합니다.
기본 Zephyr peripheral mapping
UART_2_TX : PA2UART_2_RX : PA3LD3 : PD13 (PWM4 CH2)LD4 : PD12 (PWM4 CH1)LD5 : PD14 (PWM4 CH3)LD6 : PD15 (PWM4 CH4)
System clock
내부·외부 oscillator와 main PLL을 사용할 수 있으며, 기본 system clock은 internal oscillator로 구동하는 PLL 100MHz입니다.
Serial port
UART는 최대 3개이고 Zephyr console은 UART2, 기본 통신은 115200 8N1입니다.
Programming and debugging
Zephyr SDK의 OpenOCD가 지원하는 embedded ST-LINK/V2를 사용합니다. 기본 board revision은 D이며, PCB B는 revision을 명시합니다.
기본 PCB D
west build -b stm32f411e_disco samples/basic/blinky
west flashPCB B
west build -b stm32f411e_disco@B samples/basic/blinky
west flash성공하면 orange LED LD3가 1초마다 깜박입니다.
Debug
west build -b stm32f411e_disco samples/basic/blinky
west debug
참고 자료
Source
출처
영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.