boards/silabs/starter_kits/efm32wg_stk3800/doc/index.html · boards/silabs/starter_kits/efm32wg_stk3800/doc/index.rst 공식 원문 ↗

Zephyr 3.7.0 · Boards · Silicon Labs · Starter Kit

EFM32 Wonder Gecko STK3800

Cortex-M4F Wonder Gecko와 NAND flash, segment LCD, energy monitor, onboard J-Link를 갖춘 starter kit입니다.

Official pathboards/silabs/starter_kits/efm32wg_stk3800/doc/index.html
Source fileboards/silabs/starter_kits/efm32wg_stk3800/doc/index.rst
Source versionZephyr 3.7.0
TranslationFull · reviewed

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

Part 1

요약·해설

활성 GPIO port 3개와 pin 7개, STK3800 drive에 zephyr.bin을 복사하는 flashing 절차를 설명합니다.

MCU

EFM32WG

Clock

48MHz

Storage

32MB NAND

Flash method

STK3800 drive

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 959FC9074F4BE64F0862ACEF0DAB2DC1D88B22F065290FA719464821AF557357
.. _efm32wg_stk3800:

EFM32 Wonder Gecko (EFM32WG-STK3800)
####################################

Overview
********

The EFM32 Wonder Gecko Starter Kit EFM32WG-STK3800 contains a MCU from the
EFM32WG family built on ARM® Cortex®-M4F processor with excellent low
power capabilities.

.. figure:: ../../../../../../../../boards/silabs/starter_kits/efm32wg_stk3800/doc/efm32wg_stk3800.jpg
   :align: center
   :alt: EFM32WG-STK3800

   EFM32WG-STK3800 (image courtesy of Silicon Labs)


Hardware
********

- Advanced Energy Monitoring provides real-time information about the energy
  consumption of an application or prototype design.
- 32MByte parallel NAND Flash
- 160 segment Energy Micro LCD
- 2 user buttons, 2 LEDs and a touch slider
- Ambient Light Sensor and Inductive-capacitive metal sensor
- On-board Segger J-Link USB debugger

For more information about the EFM32WG SoC and EFM32WG-STK3800 board:

- `EFM32WG Website`_
- `EFM32WG Datasheet`_
- `EFM32WG Reference Manual`_
- `EFM32WG-STK3800 Website`_
- `EFM32WG-STK3800 User Guide`_
- `EFM32WG-STK3800 Schematics`_

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

The efm32wg_stk3800 board configuration supports the following hardware features:

+-----------+------------+-------------------------------------+
| Interface | Controller | Driver/Component                    |
+===========+============+=====================================+
| MPU       | on-chip    | memory protection unit              |
+-----------+------------+-------------------------------------+
| NVIC      | on-chip    | nested vector interrupt controller  |
+-----------+------------+-------------------------------------+
| SYSTICK   | on-chip    | systick                             |
+-----------+------------+-------------------------------------+
| FLASH     | on-chip    | flash memory                        |
+-----------+------------+-------------------------------------+
| GPIO      | on-chip    | gpio                                |
+-----------+------------+-------------------------------------+
| UART      | on-chip    | serial port-polling;                |
|           |            | serial port-interrupt               |
+-----------+------------+-------------------------------------+

The default configuration can be found in
:zephyr_file:`boards/silabs/starter_kit/efm32wg_stk3800/efm32wg_stk3800_defconfig`

Other hardware features are currently not supported by the port.

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

The EFM32WG SoC has six gpio controllers (PORTA to PORTF), but only three are
currently enabled (PORTB, PORTE and PORTF) for the EFM32WG-STK3800 board.

In the following table, the column Name contains Pin names. For example, PE2
means Pin number 2 on PORTE, as used in the board's datasheets and manuals.

+-------+-------------+-------------------------------------+
| Name  | Function    | Usage                               |
+=======+=============+=====================================+
| PE2   | GPIO        | LED0                                |
+-------+-------------+-------------------------------------+
| PE3   | GPIO        | LED1                                |
+-------+-------------+-------------------------------------+
| PB9   | GPIO        | Push Button PB0                     |
+-------+-------------+-------------------------------------+
| PB10  | GPIO        | Push Button PB1                     |
+-------+-------------+-------------------------------------+
| PF7   | GPIO        | Board Controller Enable             |
|       |             | EFM_BC_EN                           |
+-------+-------------+-------------------------------------+
| PE0   | UART0_TX    | UART Console EFM_BC_TX U0_TX #1     |
+-------+-------------+-------------------------------------+
| PE1   | UART0_RX    | UART Console EFM_BC_RX U0_RX #1     |
+-------+-------------+-------------------------------------+

System Clock
============

The EFM32WG SoC is configured to use the 48 MHz external oscillator on the
board.

Serial Port
===========

The EFM32WG SoC has three USARTs, two UARTs and two Low Energy UARTs (LEUART).
UART0 is connected to the board controller and is used for the console.

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

.. note::
   Before using the kit the first time, you should update the J-Link firmware
   from `J-Link-Downloads`_

Flashing
========

The EFM32WG-STK3800 includes an `J-Link`_ serial and debug adaptor built into the
board. The adaptor provides:

- A USB connection to the host computer, which exposes a Mass Storage and a
  USB Serial Port.
- A Serial Flash device, which implements the USB flash disk file storage.
- A physical UART connection which is relayed over interface USB Serial port.

Flashing an application to EFM32-STK3800
----------------------------------------

The sample application :ref:`hello_world` is used for this example.
Build the Zephyr kernel and application:

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

Connect the EFM32WG-STK3800 to your host computer using the USB port and you
should see a USB connection which exposes a Mass Storage (STK3800) and a
USB Serial Port. Copy the generated zephyr.bin in the STK3800 drive.

Open a serial terminal (minicom, putty, etc.) with the following settings:

- Speed: 115200
- Data: 8 bits
- Parity: None
- Stop bits: 1

Reset the board and you should be able to see on the corresponding Serial Port
the following message:

.. code-block:: console

   Hello World! efm32wg_stk3800


.. _EFM32WG-STK3800 Website:
   http://www.silabs.com/products/development-tools/mcu/32-bit/efm32-wonder-gecko-starter-kit

.. _EFM32WG-STK3800 User Guide:
   http://www.silabs.com/documents/public/user-guides/efm32wg-stk3800-ug.pdf

.. _EFM32WG-STK3800 Schematics:
   http://www.silabs.com/documents/public/schematic-files/BRD2400A_A00.pdf

.. _EFM32WG Website:
   http://www.silabs.com/products/mcu/32-bit/efm32-wonder-gecko

.. _EFM32WG Datasheet:
   http://www.silabs.com/documents/public/data-sheets/EFM32WG990.pdf

.. _EFM32WG Reference Manual:
   http://www.silabs.com/documents/public/reference-manuals/EFM32WG-RM.pdf

.. _J-Link:
   https://www.segger.com/jlink-debug-probes.html

.. _J-Link-Downloads:
   https://www.segger.com/downloads/jlink

Part 3

한국어 전문 번역

개요

EFM32 Wonder Gecko Starter Kit EFM32WG-STK3800에는 저전력 특성이 뛰어난 ARM Cortex-M4F 기반 EFM32WG family MCU가 탑재됩니다.

EFM32WG-STK3800
EFM32WG-STK3800 (이미지 제공: Silicon Labs)

하드웨어

  • Application 또는 prototype의 energy consumption을 실시간 제공하는 Advanced Energy Monitoring
  • 32MByte parallel NAND flash
  • 160-segment Energy Micro LCD
  • 사용자 button 2개, LED 2개, touch slider
  • Ambient light sensor와 inductive-capacitive metal sensor
  • Onboard SEGGER J-Link USB debugger

상세 자료:

지원 기능

efm32wg_stk3800 board configuration은 다음 기능을 지원합니다.

InterfaceControllerDriver/Component
MPUon-chipmemory protection unit
NVICon-chipnested vector interrupt controller
SYSTICKon-chipsystick
FLASHon-chipflash memory
GPIOon-chipgpio
UARTon-chipserial port-polling; serial port-interrupt

공식 원문이 제시하는 기본 설정 경로는 boards/silabs/starter_kit/efm32wg_stk3800/efm32wg_stk3800_defconfig입니다. 그 밖의 hardware 기능은 현재 port에서 지원하지 않습니다.

연결과 I/O

EFM32WG SoC에는 PORTA부터 PORTF까지 GPIO controller 6개가 있지만 EFM32WG-STK3800에서는 PORTB·PORTE·PORTF 세 개만 활성화됩니다. 표의 Name은 pin 이름이며 PE2는 PORTE의 2번 pin을 뜻합니다.

NameFunctionUsage
PE2GPIOLED0
PE3GPIOLED1
PB9GPIOPush Button PB0
PB10GPIOPush Button PB1
PF7GPIOBoard Controller Enable EFM_BC_EN
PE0UART0_TXUART Console EFM_BC_TX U0_TX #1
PE1UART0_RXUART Console EFM_BC_RX U0_RX #1

System clock

EFM32WG SoC는 board의 48MHz external oscillator를 사용합니다.

Serial port

EFM32WG SoC에는 USART 3개, UART 2개, Low Energy UART(LEUART) 2개가 있습니다. UART0는 board controller에 연결되어 console로 사용됩니다.

Programming and debugging

Flashing

Onboard J-Link adapter는 mass storage와 USB serial port를 노출하는 host USB 연결, USB flash-disk storage를 구현하는 serial flash, USB serial로 relay되는 physical UART를 제공합니다.

hello_world를 build합니다.

west build -b efm32wg_stk3800 samples/hello_world

USB로 연결하면 Mass Storage STK3800과 USB serial port가 나타납니다. 생성된 zephyr.bin을 STK3800 drive에 복사합니다. Terminal은 115200 baud, data 8 bit, parity 없음, stop bit 1로 설정합니다. Reset 후 다음 메시지가 표시됩니다.

Hello World! efm32wg_stk3800

Source

출처

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