boards/nxp/lpcxpresso55s06/doc/index.html · boards/nxp/lpcxpresso55s06/doc/index.rst 공식 원문 ↗

Zephyr 3.7.0 · Boards · NXP · LPCXpresso55S06

NXP LPCXpresso55S06

96 MHz Cortex-M33 LPC55S06, 256 KB flash, CAN과 가속도 센서, 다양한 shield 확장을 갖춘 평가 보드입니다.

Official pathboards/nxp/lpcxpresso55s06/doc/index.html
Source fileboards/nxp/lpcxpresso55s06/doc/index.rst
Source versionZephyr 3.7.0
TranslationFull · reviewed

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

Part 1

요약·해설

LPC55S69 상위 보드와의 기능 재사용 관계, IOCON 버튼·LED·USART 핀, 96 MHz FRO와 FLEXCOMM, 최신 J-Link 펌웨어와 J1 콘솔 설정을 설명합니다.

MCU

LPC55S06 · Cortex-M33 · 96 MHz

Memory

256 KB flash · 96 KB SRAM

Expansion

Arduino · PMod · Click · CAN

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 81570C80F8C727DF42A5A6F452AA3D92BFD2454998774AC7A24C408EC8D9A5B9
.. _lpcxpresso55s06:

NXP LPCXpresso55S06
###################

Overview
********

The LPCXpresso55S06 board provides the ideal platform for evaluation
of the LPC55S0x/LPC550x MCU family, based on the Arm® Cortex®-M33
architecture. Arduino® UNO compatible shield connectors are included,
with additional expansion ports around the Arduino footprint, along
with a PMod/host interface port and MikroElektronika Click module
site.

.. image:: ../../../../../../../boards/nxp/lpcxpresso55s06/doc/lpcxpress55s06.jpg
   :align: center
   :alt: LPCXpresso55S06

Hardware
********

- LPC55S06 Arm® Cortex®-M33 microcontroller running at up to 96 MHz
- 256 KB flash and 96 KB SRAM on-chip
- LPC-Link2 debug high speed USB probe with VCOM port
- MikroElektronika Click expansion option
- LPCXpresso expansion connectors compatible with Arduino UNO
- PMod compatible expansion / host connector
- Reset, ISP, wake, and user buttons for easy testing of software functionality
- Tri-color LED
- UART header for external serial to USB cable
- CAN Transceiver
- NXP FXOS8700CQ accelerometer

For more information about the LPC55S06 SoC and LPCXPresso55S06 board, see:

- `LPC55S06 SoC Website`_
- `LPC55S06 User Manual`_
- `LPCXpresso55S06 Website`_
- `LPCXpresso55S06 User Manual`_
- `LPCXpresso55S06 Development Board Design Files`_

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

The lpcxpresso55s06 board configuration supports the hardware features listed
below.  For additional features not yet supported, please also refer to the
:ref:`lpcxpresso55s69` , which is the superset board in NXP's LPC55xx series.
NXP prioritizes enabling the superset board with NXP's Full Platform Support for
Zephyr.  Therefore, the lpcxpresso55s69 board may have additional features
already supported, which can also be re-used on this lpcxpresso55s06 board:

+-----------+------------+-------------------------------------+
| Interface | Controller | Driver/Component                    |
+===========+============+=====================================+
| NVIC      | on-chip    | nested vector interrupt controller  |
+-----------+------------+-------------------------------------+
| SYSTICK   | on-chip    | systick                             |
+-----------+------------+-------------------------------------+
| IOCON     | on-chip    | pinmux                              |
+-----------+------------+-------------------------------------+
| GPIO      | on-chip    | gpio                                |
+-----------+------------+-------------------------------------+
| USART     | on-chip    | serial port-polling;                |
|           |            | serial port-interrupt               |
+-----------+------------+-------------------------------------+
| CLOCK     | on-chip    | clock_control                       |
+-----------+------------+-------------------------------------+
| RNG       | on-chip    | entropy;                            |
|           |            | random                              |
+-----------+------------+-------------------------------------+
| IAP       | on-chip    | flash programming                   |
+-----------+------------+-------------------------------------+

Other hardware features are not currently enabled.

Currently available targets for this board are:

- *lpcxpresso55s06*

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

The LPC55S06 SoC has IOCON registers, which can be used to configure
the functionality of a pin.

+---------+-----------------+----------------------------+
| Name    | Function        | Usage                      |
+=========+=================+============================+
| PIO0_5  | GPIO            | ISP SW4                    |
+---------+-----------------+----------------------------+
| PIO0_29 | USART           | USART RX                   |
+---------+-----------------+----------------------------+
| PIO0_30 | USART           | USART TX                   |
+---------+-----------------+----------------------------+
| PIO1_4  | GPIO            | RED LED                    |
+---------+-----------------+----------------------------+
| PIO1_6  | GPIO            | BLUE_LED                   |
+---------+-----------------+----------------------------+
| PIO1_7  | GPIO            | GREEN LED                  |
+---------+-----------------+----------------------------+
| PIO1_9  | GPIO            | USR SW3                    |
+---------+-----------------+----------------------------+
| PIO1_18 | GPIO            | Wakeup SW1                 |
+---------+-----------------+----------------------------+

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

The LPC55S06 SoC is configured to use the internal FRO at 96MHz as a
source for the system clock. Other sources for the system clock are
provided in the SOC, depending on your system requirements.

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

The LPC55S06 SoC has 8 FLEXCOMM interfaces for serial
communication. One is configured as USART for the console
and the remaining are not used.

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

Build and flash applications as usual (see :ref:`build_an_application`
and :ref:`application_run` for more details).

Configuring a Debug Probe
=========================

A debug probe is used for both flashing and debugging the board. This
board is configured by default to use the LPC-Link2 CMSIS-DAP Onboard
Debug Probe, however the :ref:`pyocd-debug-host-tools` does not yet
support the LPC55S06 so you must reconfigure the board for one of the
J-Link debug probe instead.

First install the :ref:`jlink-debug-host-tools` and make sure they are
in your search path.

Then follow the instructions in
:ref:`lpclink2-jlink-onboard-debug-probe` to program the J-Link
firmware. Please make sure you have the latest firmware for this
board.

Configuring a Console
=====================

Connect a USB cable from your PC to J1 (LINK2), and use the serial
terminal of your choice (minicom, putty, etc.) with the following
settings:

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

Flashing
========

Here is an example for the :ref:`hello_world` application.

.. zephyr-app-commands::
   :zephyr-app: samples/hello_world
   :board: lpcxpresso55s06
   :goals: flash

Open a serial terminal, reset the board (press the RESET button), and you should
see the following message in the terminal:

.. code-block:: console

   ***** Booting Zephyr OS v3.0.0 *****
   Hello World! lpcxpresso55s06

Debugging
=========

Here is an example for the :ref:`hello_world` application.

.. zephyr-app-commands::
   :zephyr-app: samples/hello_world
   :board: lpcxpresso55s06
   :goals: debug

Open a serial terminal, step through the application in your debugger, and you
should see the following message in the terminal:

.. code-block:: console

   ***** Booting Zephyr OS zephyr-v3.0.0 *****
   Hello World! lpcxpresso55s06

.. _LPC55S06 SoC Website:
   https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/general-purpose-mcus/lpc5500-cortex-m33/lpc550x-s0x-baseline-arm-cortex-m33-based-microcontroller-family:LPC550x

.. _LPC55S06 User Manual:
   https://www.nxp.com/docs/en/user-guide/UM11424.pdf

.. _LPCxpresso55S06 Website:
   https://www.nxp.com/design/development-boards/lpcxpresso-boards/lpcxpresso-development-board-for-lpc55s0x-0x-family-of-mcus:LPC55S06-EVK

.. _LPCXpresso55S06 User Manual:
   https://www.nxp.com/docs/en/user-guide/LPCXpresso55S06UM.pdf

.. _LPCXpresso55S06 Development Board Design Files:
   https://www.nxp.com/downloads/en/design-support/LPCXPRESSSO55S06-DESIGN-FILES.zip

Part 3

한국어 전문 번역

개요

LPCXpresso55S06 보드는 Arm Cortex-M33 아키텍처 기반 LPC55S0x/LPC550x MCU 제품군을 평가하기에 적합한 플랫폼입니다. Arduino UNO 호환 shield 커넥터와 그 주변의 추가 확장 포트, PMod/host 인터페이스 포트, MikroElektronika Click 모듈 장착부를 제공합니다.

LPCXpresso55S06 보드
LPCXpresso55S06. 이미지 출처: NXP, Zephyr v3.7.0 공식 문서.

하드웨어

  • 최대 96 MHz로 동작하는 LPC55S06 Arm Cortex-M33 마이크로컨트롤러
  • 온칩 256 KB flash와 96 KB SRAM
  • VCOM 포트를 갖춘 LPC-Link2 고속 USB 디버그 프로브
  • MikroElektronika Click 확장
  • Arduino UNO 호환 LPCXpresso 확장 커넥터
  • PMod 호환 확장/host 커넥터
  • reset, ISP, wake, user 버튼
  • 3색 LED
  • 외부 serial-to-USB 케이블용 UART 헤더
  • CAN transceiver
  • NXP FXOS8700CQ accelerometer

자세한 내용은 아래 참고 자료의 LPC55S06 SoC 웹사이트와 User Manual, 보드 웹사이트·User Manual·설계 파일을 참고하십시오.

지원 기능

lpcxpresso55s06 보드 구성은 아래 하드웨어 기능을 지원합니다. 아직 직접 지원하지 않는 기능은 NXP LPC55xx 계열의 상위 집합 보드인 lpcxpresso55s69 문서도 참고하십시오. NXP는 Zephyr Full Platform Support를 상위 집합 보드에서 우선 활성화하므로, LPCXpresso55S69에 이미 지원된 추가 기능을 이 보드에서도 재사용할 수 있습니다.

인터페이스컨트롤러드라이버/컴포넌트
NVICon-chipnested vector interrupt controller
SYSTICKon-chipsystick
IOCONon-chippinmux
GPIOon-chipgpio
USARTon-chipserial port-polling; serial port-interrupt
CLOCKon-chipclock_control
RNGon-chipentropy; random
IAPon-chipflash programming

그 밖의 하드웨어 기능은 현재 활성화되어 있지 않습니다. 현재 사용할 수 있는 보드 target은 lpcxpresso55s06입니다.

연결과 I/O

LPC55S06 SoC의 IOCON 레지스터로 각 핀의 기능을 구성할 수 있습니다.

이름기능용도
PIO0_5GPIOISP SW4
PIO0_29USARTUSART RX
PIO0_30USARTUSART TX
PIO1_4GPIORED LED
PIO1_6GPIOBLUE_LED
PIO1_7GPIOGREEN LED
PIO1_9GPIOUSR SW3
PIO1_18GPIOWakeup SW1

시스템 클록

LPC55S06 SoC는 내부 96 MHz FRO를 시스템 클록 소스로 사용하도록 구성됩니다. 시스템 요구 사항에 따라 SoC가 제공하는 다른 시스템 클록 소스를 선택할 수도 있습니다.

직렬 포트

LPC55S06 SoC에는 직렬 통신용 FLEXCOMM 인터페이스가 8개 있습니다. 그중 하나는 콘솔용 USART로 구성되고 나머지는 사용하지 않습니다.

프로그래밍과 디버깅

애플리케이션은 일반적인 Zephyr 절차로 빌드하고 플래시합니다.

디버그 프로브 구성

디버그 프로브는 보드 플래시와 디버깅에 모두 사용됩니다. 이 보드는 기본적으로 LPC-Link2 CMSIS-DAP 온보드 디버그 프로브를 사용하도록 구성되어 있지만, pyOCD 디버그 호스트 도구가 LPC55S06을 아직 지원하지 않으므로 J-Link 디버그 프로브로 재구성해야 합니다.

먼저 J-Link 디버그 호스트 도구를 설치하고 실행 파일이 검색 경로에 있는지 확인합니다. 그런 다음 LPC-Link2 J-Link 온보드 디버그 프로브 안내에 따라 J-Link 펌웨어를 프로그래밍합니다. 이 보드용 최신 펌웨어를 사용해야 합니다.

콘솔 구성

PC와 J1 (LINK2) 사이를 USB 케이블로 연결하고 minicom, PuTTY 등 원하는 직렬 터미널에서 다음 설정을 사용합니다.

  • 속도: 115200
  • 데이터: 8 bits
  • 패리티: None
  • 정지 비트: 1

플래시

hello_world 애플리케이션을 빌드하고 플래시하는 예는 다음과 같습니다.

west build -b lpcxpresso55s06 samples/hello_world
west flash

직렬 터미널을 열고 RESET 버튼을 눌러 보드를 reset하면 다음 메시지가 나타납니다.

***** Booting Zephyr OS v3.0.0 *****
Hello World! lpcxpresso55s06

디버깅

hello_world 애플리케이션을 빌드하고 디버깅하는 예는 다음과 같습니다.

west build -b lpcxpresso55s06 samples/hello_world
west debug

직렬 터미널을 열고 디버거에서 애플리케이션을 단계 실행하면 터미널에 다음 메시지가 나타납니다.

***** Booting Zephyr OS zephyr-v3.0.0 *****
Hello World! lpcxpresso55s06

참고 자료

Source

출처

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