boards/others/serpente/doc/index.html · boards/others/serpente/doc/index.rst 공식 원문 ↗

Zephyr 3.7.0 · Boards · Others · SAMD21

Arturo182 Serpente

세 가지 USB connector와 4 MiB SPI flash를 갖춘 초소형 ATSAMD21 board입니다.

Official pathboards/others/serpente/doc/index.html
Source fileboards/others/serpente/doc/index.rst
Source versionZephyr 3.7.0
TranslationFull · reviewed

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

Part 1

요약·해설

지원 기능 9종과 BOSSA-compatible UF2 bootloader 진입·flash 순서를 설명합니다.

MCU

ATSAMD21E18A · Cortex-M0+

Storage

256 KiB internal · 4 MiB SPI

Boot

Double-reset · UF2/BOSSA

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 E2A19D24CA8AA232023B4DC6775184D5412F702C131F2B1AA019E6871C5BA0C3
.. _serpente:

Arturo182 Serpente
##################

Overview
********

The Serpente is a very small low-cost development and prototyping
board equipped with 4MiB flash storage, a PWM enabled RGB led and 6 I/O pins.
The board comes with 3 different USB connector options: USB Type-C plug,
USB Type-C socket and USB Type-A plug.

.. image:: ../../../../../../../boards/others/serpente/doc/img/serpente.jpg
     :align: center
     :alt: Serpente Boards

Hardware
********

- ATSAMD21E18A ARM Cortex-M0+ processor at 48 MHz
- 256 KiB flash memory and 32 KiB of RAM
- Extra 4MiB SPI flash memory
- RGB User LED
- Reset button
- Native USB port

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

The Serpente board configuration supports the
following hardware features:

+-----------+------------+------------------------------------------+
| Interface | Controller | Driver/Component                         |
+===========+============+==========================================+
| NVIC      | on-chip    | nested vector interrupt controller       |
+-----------+------------+------------------------------------------+
| Flash     | on-chip    | Can be used with LittleFS to store files |
+-----------+------------+------------------------------------------+
| SYSTICK   | on-chip    | systick                                  |
+-----------+------------+------------------------------------------+
| WDT       | on-chip    | Watchdog                                 |
+-----------+------------+------------------------------------------+
| GPIO      | on-chip    | I/O ports                                |
+-----------+------------+------------------------------------------+
| PWM       | on-chip    | Pulse Width Modulation                   |
+-----------+------------+------------------------------------------+
| USART     | on-chip    | Serial ports                             |
+-----------+------------+------------------------------------------+
| SPI       | on-chip    | Serial Peripheral Interface ports        |
+-----------+------------+------------------------------------------+
| USB       | on-chip    | USB device                               |
+-----------+------------+------------------------------------------+

Other hardware features are not currently supported by Zephyr.

The default configuration can be found in the Kconfig file
:zephyr_file:`boards/others/serpente/serpente_defconfig`.

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

The `Serpente documentation`_ has detailed information about the board
including `pinouts`_ and the `schematic`_.

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

The SAMD21 MCU is configured to use the 8MHz internal oscillator
with the on-chip PLL generating the 48 MHz system clock.

USB Device Port
===============

The SAMD21 MCU has a USB device port that can be used to communicate
with a host PC.  See the :ref:`usb-samples` sample applications for
more, such as the :zephyr:code-sample:`usb-cdc-acm` sample which prints "Hello World!"
to the host PC.

Programming and Debugging
=========================

The Serpente ships the BOSSA compatible UF2 bootloader. The bootloader
can be entered by quickly tapping the reset button twice.

Flashing
========

#. Build the Zephyr kernel and the :zephyr:code-sample:`blinky` sample application:

   .. zephyr-app-commands::
      :zephyr-app: samples/basic/blinky
      :board: serpente
      :goals: build
      :compact:

#. Connect the Serpente to your host computer using USB


#. Tap the reset button twice quickly to enter bootloader mode

#. Flash the image:

   .. zephyr-app-commands::
      :zephyr-app: samples/basic/blinky
      :board: serpente
      :goals: flash
      :compact:

   You should see the User LED blink.

References
**********

.. target-notes::

.. _Serpente documentation:
    https://www.solder.party/docs/serpente/r2/

.. _pinouts:
    https://www.solder.party/docs/serpente/r2/pinout/

.. _schematic:
    https://www.solder.party/docs/serpente/r2/downloads/

Part 3

한국어 전문 번역

개요

Serpente는 4 MiB flash storage, PWM RGB LED, I/O pin 6개를 갖춘 매우 작고 저렴한 development/prototyping board입니다. USB Type-C plug, Type-C socket, Type-A plug의 세 connector version이 있습니다.

Serpente boards
Serpente board variants. Zephyr v3.7.0 공식 문서.

하드웨어

  • 48 MHz ATSAMD21E18A ARM Cortex-M0+
  • 256 KiB flash, 32 KiB RAM
  • 추가 4 MiB SPI flash
  • RGB user LED, reset button, native USB port

지원 기능

인터페이스컨트롤러드라이버/컴포넌트
NVICon-chipnested vector interrupt controller
Flashon-chipCan be used with LittleFS to store files
SYSTICKon-chipsystick
WDTon-chipWatchdog
GPIOon-chipI/O ports
PWMon-chipPulse Width Modulation
USARTon-chipSerial ports
SPIon-chipSerial Peripheral Interface ports
USBon-chipUSB device

다른 하드웨어 기능은 현재 지원하지 않습니다. 기본 구성은 boards/others/serpente/serpente_defconfig에 있습니다.

연결과 clock

공식 Serpente 문서에 pinout과 schematic이 있습니다. SAMD21은 8 MHz internal oscillator와 on-chip PLL로 48 MHz system clock을 생성합니다.

USB device port

Host PC와 통신할 수 있으며 usb-cdc-acm 같은 USB sample은 host에 Hello World!를 출력합니다.

프로그래밍과 flash

Board에는 BOSSA-compatible UF2 bootloader가 탑재됩니다. Reset button을 빠르게 두 번 눌러 bootloader에 진입합니다.

  1. blinky를 build합니다.
# Zephyr 저장소 루트에서
west build -b serpente samples/basic/blinky
  1. USB로 host에 연결합니다.
  2. Reset을 빠르게 두 번 눌러 bootloader mode로 들어갑니다.
  3. Image를 flash합니다.
west flash

User LED가 blink해야 합니다.

참고 자료

Source

출처

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