boards/ezurio/mg100/doc/index.html · boards/ezurio/mg100/doc/index.rst 공식 원문 ↗

Zephyr 3.7.0 · Boards · Ezurio MG100

Ezurio Sentrius MG100 Gateway

Bluetooth 5 sensor data를 LTE-M/NB-IoT로 cloud에 전달하는 nRF52840 gateway입니다.

Official pathboards/ezurio/mg100/doc/index.html
Source fileboards/ezurio/mg100/doc/index.rst
Source versionZephyr 3.7.0
TranslationFull · reviewed

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

Part 1

요약·해설

MG100은 Pinnacle 100 modem, nRF52840, HL7800, QSPI flash, accelerometer와 SD card를 통합합니다.

Sentrius MG100
Sentrius MG100 Gateway.
Controller

nRF52840 Cortex-M4F

Cellular

HL7800 LTE-M · NB-IoT

Storage

8MB QSPI · SD card

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 F4C1EF95A42332A3B0829762370C4BE10E84E97C931CD9DBF2193598AB0D1F52
.. _mg100:

Ezurio Sentrius™ MG100 Gateway
##############################

Overview
********
The Sentrius™ MG100 Gateway offers a compact, out of box Bluetooth to low power cellular gateway
solution.

Based on the Pinnacle 100 socket modem, the Sentrius™ MG100 gateway captures data from any
Bluetooth 5 modules or devices and sends it to the cloud via a global low power cellular
(LTE-M/NB-IoT) connection. The MG100 seamlessly incorporates a powerful Cortex M4F controller,
full Bluetooth 5 connectivity, and dual-mode LTE-M/NB-IoT capabilities. The MG100 has full regulatory
and network certifications and End Device carrier approvals.

Develop your application directly on the integrated Cortex M4F microcontroller using Zephyr RTOS,
enabling your application development with a secure, open source RTOS with more than just kernel
services. Remotely debug your fleet of devices with the `Memfault Platform`_. Take advantage of the
Zephyr community and Ezurio’s `Canvas Software Suite`_ to accelerate your development.
covering all aspects of the product's capabilities and hardware interfaces. The MG100 also delivers
complete antenna flexibility with internal or external antenna options available, and the optional
battery backup provides uninterrupted reporting of remote Bluetooth sensor data.

More information about the board can be found at the `MG100 website`_.

The MG100 hardware provides support for the Nordic Semiconductor `nRF52840`_ ARM Cortex-M4F CPU,
`Sierra Wireless HL7800`_
and the following devices:

* :abbr:`ADC (Analog to Digital Converter)`
* CLOCK
* FLASH
* :abbr:`GPIO (General Purpose Input Output)`
* :abbr:`I2C (Inter-Integrated Circuit)`
* :abbr:`MPU (Memory Protection Unit)`
* :abbr:`NVIC (Nested Vectored Interrupt Controller)`
* :abbr:`PWM (Pulse Width Modulation)`
* RADIO (Bluetooth Low Energy and 802.15.4)
* :abbr:`RTC (nRF RTC System Clock)`
* :abbr:`SPI (Serial Peripheral Interface)`
* :abbr:`UART (Universal asynchronous receiver-transmitter)`
* :abbr:`WDT (Watchdog Timer)`
* :abbr:`QSPI (Quad Serial Peripheral Interface)`
* :abbr:`LIS3DH (ST Micro 3-axis MEMS accelerometer)`
* :abbr:`HL7800 (Sierra Wireless HL7800 LTE-M1/NB-IoT modem)`
* :abbr:`SD Card`

.. figure:: ../../../../../../../boards/ezurio/mg100/doc/img/mg100.jpg
     :align: center
     :alt: MG100

     MG100 (450-00054-K1)

Hardware
********

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

The MG100 board configuration supports the following
hardware features:

+-----------+------------+----------------------+
| Interface | Controller | Driver/Component     |
+===========+============+======================+
| ADC       | on-chip    | adc                  |
+-----------+------------+----------------------+
| CLOCK     | on-chip    | clock_control        |
+-----------+------------+----------------------+
| FLASH     | on-chip    | flash                |
+-----------+------------+----------------------+
| GPIO      | on-chip    | gpio                 |
+-----------+------------+----------------------+
| I2C(M)    | on-chip    | i2c                  |
+-----------+------------+----------------------+
| MPU       | on-chip    | arch/arm             |
+-----------+------------+----------------------+
| NVIC      | on-chip    | arch/arm             |
+-----------+------------+----------------------+
| PWM       | on-chip    | pwm                  |
+-----------+------------+----------------------+
| RADIO     | on-chip    | Bluetooth,           |
|           |            | ieee802154           |
+-----------+------------+----------------------+
| RTC       | on-chip    | system clock         |
+-----------+------------+----------------------+
| SPI(M/S)  | on-chip    | spi                  |
+-----------+------------+----------------------+
| UART      | on-chip    | serial               |
+-----------+------------+----------------------+
| WDT       | on-chip    | watchdog             |
+-----------+------------+----------------------+
| QSPI      | on-chip    | qspi/MX25R64(8MB)    |
+-----------+------------+----------------------+
| LIS3DH    | I2C(M)     | sensor/lis3dh        |
+-----------+------------+----------------------+
| HL7800    | UART       | HL7800 modem driver  |
+-----------+------------+----------------------+
| SDMMC     | SPI(M)     | SD Card via SPI      |
+-----------+------------+----------------------+

See `MG100 website`_ for a complete list
of MG100 hardware features.

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

LED
---

* LED1 (red)   = P1.7
* LED2 (blue)  = P1.6
* LED3 (green) = P1.5

Push buttons
------------

* BUTTON1 = P0.3

External flash memory
---------------------

A 64Mbit external flash memory part is available for storage of application
images and data. Refer to the `Macronix MX25R6435F datasheet`_ for further
details.

The flash memory is connected to the on-board QSPI device controller.

* MX25R64 = QSPI

SCK = P0.19
IO0 = P0.20
IO1 = P0.21
IO2 = P0.22
IO3 = P0.23
CSN = P0.17

LIS3DH Motion Sensor
--------------------

Motion sensor to detect if the gateway moves.

IRQ IO  = P0.28
I2C SDA = P0.26
I2C SCL = P0.27

SD Card
-------

SD card used to store large amounts of data.

SPI CS   = P0.29
SPI SCK  = P1.09
SPI MOSI = P0.11
SPI MISO = P0.12

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

Applications for the ``mg100`` board configuration can be
built and flashed in the usual way. (see :ref:`build_an_application`
and :ref:`application_run` for more details)

The `Ezurio USB-SWD Programming Kit`_ contains all the necessary
hardware to enable programming and debugging an MG100.

Flashing
========

Follow the instructions in the :ref:`nordic_segger` page to install
and configure all the necessary software. Further information can be
found in :ref:`nordic_segger_flashing`. Then build and flash
applications as usual (see :ref:`build_an_application` and
:ref:`application_run` for more details).

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

First, run your favorite terminal program to listen for output.

.. note:: On the MG100,
   the USB connector should be used to access the UART console.

.. code-block:: console

   $ minicom -D <tty_device> -b 115200

Replace :code:`<tty_device>` with the port where the board MG100
can be found. For example, under Linux, :code:`/dev/ttyUSB0`.

Then build and flash the application in the usual way.

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

Debugging
=========

Refer to the :ref:`nordic_segger` page to learn about debugging Nordic boards with a
Segger IC.

Software
********

Canvas Software Suite
==============================
The MG100 is a supported hardware platform for `Canvas Software Suite`_.

Testing Bluetooth on the MG100
==============================
Many of the Bluetooth examples will work on the MG100.
Try them out:

* :ref:`ble_peripheral`
* :ref:`bluetooth-eddystone-sample`
* :ref:`bluetooth-ibeacon-sample`

Testing the LEDs and buttons in the MG100
====================================================

There are 2 samples that allow you to test that the buttons (switches) and LEDs on
the board are working properly with Zephyr:

.. code-block:: console

   samples/basic/blinky
   samples/basic/button

You can build and flash the examples to make sure Zephyr is running correctly on
your board. The button and LED definitions can be found in
:zephyr_file:`boards/ezurio/mg100/mg100.dts`.

References
**********

.. target-notes::

.. _MG100 website: https://www.ezurio.com/iot-devices/iot-gateways/sentrius-mg100-gateway-lte-mnb-iot-and-bluetooth-5
.. _nRF52840 Product Specification: https://infocenter.nordicsemi.com/pdf/nRF52840_PS_v1.1.pdf
.. _Sierra Wireless HL7800: https://source.sierrawireless.com/devices/hl-series/hl7800/#sthash.641qTTwA.dpbs
.. _J-Link Software and documentation pack: https://www.segger.com/jlink-software.html
.. _Macronix MX25R6435F datasheet: https://www.macronix.com/Lists/Datasheet/Attachments/7913/MX25R6435F,%20Wide%20Range,%2064Mb,%20v1.5.pdf
.. _Ezurio USB-SWD Programming Kit: https://www.ezurio.com/wireless-modules/programming-kits/usb-swd-programming-kit
.. _Memfault Platform: https://docs.memfault.com/docs/mcu/pinnacle-100-guide
.. _nRF52840: https://www.nordicsemi.com/products/nrf52840
.. _Canvas Software Suite: https://www.ezurio.com/canvas/software-suite

Part 3

한국어 전문 번역

개요

Sentrius MG100 Gateway는 개봉 즉시 사용할 수 있는 compact Bluetooth-to-low-power-cellular gateway solution을 제공합니다.

Pinnacle 100 socket modem 기반 MG100 gateway는 Bluetooth 5 module 또는 device의 data를 수집해 global low-power cellular(LTE-M/NB-IoT) connection으로 cloud에 전송합니다. MG100은 강력한 Cortex-M4F controller, 완전한 Bluetooth 5 connectivity와 dual-mode LTE-M/NB-IoT 기능을 통합합니다. Full regulatory·network certification과 End Device carrier approval도 갖췄습니다.

Integrated Cortex-M4F microcontroller에서 Zephyr RTOS로 application을 직접 개발할 수 있습니다. Kernel service 이상을 제공하는 secure open-source RTOS를 활용하며, Memfault Platform으로 device fleet를 원격 debug할 수 있습니다. Zephyr community와 Ezurio Canvas Software Suite는 product capability와 hardware interface 전반의 개발을 가속합니다. internal/external antenna option을 선택할 수 있고 optional battery backup은 remote Bluetooth sensor data 보고가 중단되지 않게 합니다.

Board 정보는 MG100 website에서 확인할 수 있습니다.

MG100 hardware는 Nordic Semiconductor nRF52840 ARM Cortex-M4F CPU, Sierra Wireless HL7800과 다음 device를 지원합니다.

  • ADC(Analog-to-Digital Converter)
  • CLOCK
  • FLASH
  • GPIO(General Purpose Input/Output)
  • I2C(Inter-Integrated Circuit)
  • MPU(Memory Protection Unit)
  • NVIC(Nested Vectored Interrupt Controller)
  • PWM(Pulse Width Modulation)
  • RADIO(Bluetooth Low Energy와 802.15.4)
  • RTC(nRF RTC System Clock)
  • SPI(Serial Peripheral Interface)
  • UART(Universal asynchronous receiver-transmitter)
  • WDT(Watchdog Timer)
  • QSPI(Quad Serial Peripheral Interface)
  • LIS3DH(STMicroelectronics 3-axis MEMS accelerometer)
  • HL7800(Sierra Wireless HL7800 LTE-M1/NB-IoT modem)
  • SD Card
MG100
MG100(450-00054-K1).

Hardware

지원 기능

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

InterfaceControllerDriver/Component
ADCon-chipadc
CLOCKon-chipclock_control
FLASHon-chipflash
GPIOon-chipgpio
I2C(M)on-chipi2c
MPUon-chiparch/arm
NVICon-chiparch/arm
PWMon-chippwm
RADIOon-chipBluetooth, ieee802154
RTCon-chipsystem clock
SPI(M/S)on-chipspi
UARTon-chipserial
WDTon-chipwatchdog
QSPIon-chipqspi/MX25R64(8MB)
LIS3DHI2C(M)sensor/lis3dh
HL7800UARTHL7800 modem driver
SDMMCSPI(M)SD Card via SPI

MG100 hardware 기능 전체 목록은 MG100 website를 참조하십시오.

연결과 I/O

LED
  • LED1(red) = P1.7
  • LED2(blue) = P1.6
  • LED3(green) = P1.5
Push button
  • BUTTON1 = P0.3
External flash memory

Application image와 data 저장을 위한 64Mbit external flash memory가 있습니다. 자세한 내용은 Macronix MX25R6435F datasheet를 참조하십시오.

Flash memory는 onboard QSPI controller에 연결됩니다.

  • MX25R64 = QSPI

SCK = P0.19
IO0 = P0.20
IO1 = P0.21
IO2 = P0.22
IO3 = P0.23
CSN = P0.17

LIS3DH Motion Sensor

Gateway의 이동 여부를 감지하는 motion sensor입니다.

IRQ IO = P0.28
I2C SDA = P0.26
I2C SCL = P0.27

SD Card

많은 양의 data 저장에 사용하는 SD card입니다.

SPI CS = P0.29
SPI SCK = P1.09
SPI MOSI = P0.11
SPI MISO = P0.12

Programming과 Debugging

mg100 board configuration용 application은 일반적인 방법으로 build하고 flash할 수 있습니다.

Ezurio USB-SWD Programming Kit에는 MG100 programming과 debugging에 필요한 hardware가 모두 포함됩니다.

Flashing

Nordic Segger 안내에 따라 필요한 software를 설치·구성한 뒤 일반적인 방법으로 application을 build하고 flash합니다.

다음은 hello_world application 예입니다. 먼저 terminal program으로 output을 수신합니다.

$ minicom -D <tty_device> -b 115200

<tty_device>를 MG100이 연결된 port로 바꿉니다. Linux 예시는 /dev/ttyUSB0입니다.

그다음 일반적인 방법으로 application을 build하고 flash합니다.

west build -b mg100 samples/hello_world
west flash

Debugging

Segger IC를 사용하는 Nordic board의 debugging 방법은 Nordic Segger 안내를 참조하십시오.

Software

Canvas Software Suite

MG100은 Canvas Software Suite 지원 hardware platform입니다.

MG100에서 Bluetooth 시험

많은 Bluetooth example이 MG100에서 동작합니다. Bluetooth LE peripheral, Eddystone, iBeacon sample을 시험해 보십시오.

MG100 LED와 button 시험

Board의 button과 LED를 시험하는 sample은 다음 두 개입니다.

samples/basic/blinky
samples/basic/button

Example을 build·flash하여 Zephyr 동작을 확인할 수 있습니다. Button과 LED 정의는 boards/ezurio/mg100/mg100.dts에 있습니다.

참고 자료

Source

출처

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