samples/drivers/ipm/ipm_mcux/README.html · samples/drivers/ipm/ipm_mcux/README.rst 공식 원문 ↗

Zephyr 3.7.0 · Samples · Drivers · IPM

NXP LPC IPM

M4F·M0+ 또는 dual M33 core 사이에서 message를 교환합니다.

Official pathsamples/drivers/ipm/ipm_mcux/README.html
Source filesamples/drivers/ipm/ipm_mcux/README.rst
Source versionZephyr 3.7.0
TranslationFull · reviewed

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

Part 1

요약·해설

두 board의 sysbuild·debug 명령과 serial 설정·수신 출력을 보존합니다.

Boards

LPC54114 · LPC55S69

Transport

Mailbox

Serial

115200 8N1

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 4BEB4574B42F372F49A18AB5B8714329ECD6A2C42BEC89224A3143CDC106FD2D
.. zephyr:code-sample:: ipm-mcux
   :name: IPM on NXP LPC
   :relevant-api: ipm_interface

   Implement inter-processor mailbox (IPM) on NXP LPC family.

Overview
********

Some NXP microcontrollers from LPC family are dual-core, this
sample application uses a mailbox to send messages from one
processor core to the other.

This sample applies to the following boards:
 -  :ref:`lpcxpresso54114`, two core processors (Cortex-M4F and Cortex-M0+)
 -  :ref:`lpcxpresso55s69`, two core processors (dual Cortex-M33)

Requirements
************

- :ref:`lpcxpresso54114` board
- :ref:`lpcxpresso55s69` board

Building the application for lpcxpresso54114/lpc54114/m4
********************************************************

.. zephyr-app-commands::
   :zephyr-app: samples/drivers/ipm/ipm_mcux
   :board: lpcxpresso54114/lpc54114/m4
   :goals: debug
   :west-args: --sysbuild


Building the application for lpcxpresso55s69/lpc55s69/cpu0
**********************************************************

.. zephyr-app-commands::
   :zephyr-app: samples/drivers/ipm/ipm_mcux
   :board: lpcxpresso55s69/lpc55s69/cpu0
   :goals: debug
   :west-args: --sysbuild

Running
*******
Open a serial terminal (minicom, putty, etc.) and connect the board with the
following settings:

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

Reset the board and the following message will appear on the corresponding
serial port:

.. code-block:: console

   ***** Booting Zephyr OS v1.11.0-764-g4e3007a *****
   Hello World from MASTER! arm
   Received: 1
   ...
   Received: 99

Part 3

한국어 전문 번역

개요

LPC family의 일부 NXP microcontroller는 dual-core입니다. 이 sample application은 mailbox를 사용해 한 processor core에서 다른 core로 message를 보냅니다.

이 sample은 다음 board에 적용됩니다.

  • lpcxpresso54114: Cortex-M4F와 Cortex-M0+의 두 processor core
  • lpcxpresso55s69: Dual Cortex-M33 processor

요구 사항

  • lpcxpresso54114 board
  • lpcxpresso55s69 board

lpcxpresso54114/lpc54114/m4용 Application Build

# From the root of the zephyr repository
west build -b lpcxpresso54114/lpc54114/m4 --sysbuild samples/drivers/ipm/ipm_mcux
west debug

lpcxpresso55s69/lpc55s69/cpu0용 Application Build

# From the root of the zephyr repository
west build -b lpcxpresso55s69/lpc55s69/cpu0 --sysbuild samples/drivers/ipm/ipm_mcux
west debug

실행

Minicom, PuTTY 같은 serial terminal을 열고 다음 설정으로 board에 연결합니다.

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

Board를 reset하면 해당 serial port에 다음 message가 나타납니다.

***** Booting Zephyr OS v1.11.0-764-g4e3007a *****
Hello World from MASTER! arm
Received: 1
...
Received: 99

Source

출처

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