RisingHF ST Nucleo LoRa GW Manuale utente

ST Nucleo LoRa GW User Guide
RisingHF
Document information
Info
Content
Keywords
RisingHF, ST, Loriot, LoRa, Gateway, Nucleo
Abstract
This document describes how to use ST Nucleo F7 LoRa
Gateway to connect to Loriot server or others similar server
which support packet forwarder mode.
ST Nucleo LoRa GW_US915 User Guide
V2.7

ST Nucleo LoRa GW User Guide
RisingHF
Content
Content .................................................................................................................................................. 2
1 Introduction ......................................................................................................................................... 1
2 Features ............................................................................................................................................. 2
3 System description ............................................................................................................................. 3
3.1 Nucleo-F746ZG Board ................................................................................................................. 3
3.2 ST Nucleo LoRa GW Module ....................................................................................................... 4
3.2.1 Pin description ....................................................................................................................... 4
3.2.2 HW architecture of ST Nucleo LoRa GW Module ................................................................... 5
4 System setup ...................................................................................................................................... 6
4.1 Hardware connection ................................................................................................................... 6
4.2 FW download ............................................................................................................................... 6
4.3 Get Started ................................................................................................................................... 7
4.4 Register Sensor Mote ................................................................................................................... 8
4.5 Cautions ....................................................................................................................................... 8
5 AT Command.................................................................................................................................... 10
5.1 Rules .......................................................................................................................................... 10
5.2 Symbols ..................................................................................................................................... 10
5.3 Format ........................................................................................................................................ 10
5.3.1 Query ................................................................................................................................... 10
5.3.2 Configure / Control ............................................................................................................... 10
5.3.3 Return .................................................................................................................................. 10
5.4 Commands List .......................................................................................................................... 11
5.5 Error Code .................................................................................................................................. 11
5.6 Commands ................................................................................................................................. 12
5.6.1 AT ........................................................................................................................................ 12
5.6.2 HELP ................................................................................................................................... 12
5.6.3 FDEFAULT .......................................................................................................................... 13
5.6.4 RESET ................................................................................................................................. 13
5.6.5 SYS ..................................................................................................................................... 14
5.6.6 VER ..................................................................................................................................... 14
5.6.7 LOG ..................................................................................................................................... 14
5.6.8 ECHO .................................................................................................................................. 14

ST Nucleo LoRa GW User Guide
RisingHF
5.6.9 MAC..................................................................................................................................... 15
5.6.10 IP ....................................................................................................................................... 15
5.6.11 DNS ................................................................................................................................... 15
5.6.12 NTP ................................................................................................................................... 16
5.6.13 EUI..................................................................................................................................... 16
5.6.14 LORAWAN ......................................................................................................................... 16
5.6.15 PKTFWD............................................................................................................................ 17
5.6.16 CH ..................................................................................................................................... 18
5.6.17 Baudrate ............................................................................................................................ 19
5.7 Button ......................................................................................................................................... 19
6 Demo Page ....................................................................................................................................... 20
7 Others information for reference ....................................................................................................... 21
7.1 Power supply and consumption .................................................................................................. 21
7.1.1 Power supply ....................................................................................................................... 21
7.1.2 Power consumption ............................................................................................................. 22
7.2 LED status .................................................................................................................................. 22
7.3 RF performance measurement ................................................................................................... 23
8 Reference documents ....................................................................................................................... 24
Revision ............................................................................................................................................... 25

V2.7 2017-09-28
www.risinghf.com
ST Nucleo LoRa GW User Guide
RisingHF
1
1 Introduction
The ST Nucleo LoRa GW is a kit based on Nucleo-F746ZG Board and ST Nucleo LoRa GW Module
which is designed by RisingHF (www.risinghf.com). The ST Nucleo LoRa GW Module includes the high
performance LoRa baseband processor SX1301 from Semtech corporation. With Loriot
(https://www.loriot.io/) LoRaWAN cloud server or others server with packet forward service, it provides
support bidirectional communication with end devices in both Class A and Class C of LoRaWAN
protocol, and complete compliant with the LoRaWAN™ specifications V1.0.2.
This document describes how to setup a LoRaWAN GW based on the ST Nucleo LoRa GW and Loriot
Cloud server.
Figure 1-1 ST Nucleo LoRa GW

V2.7 2017-09-28
www.risinghf.com
ST Nucleo LoRa GW User Guide
RisingHF
2
2 Features
ST Nucleo LoRa GW – HF: Cover 915MHz for US and Asia;
Programmable parallel demodulation paths;
LoRa demodulators and 1 GFSK demodulator embedded;
Automatic adaptive to spreading factor from SF12 to SF7 in each of 8 channels;
High performance:
-140dBm sensitivity @300bps ;
6dBm max output power without PA;
Single +5V supply;
Support LoRaWAN protocol, Class A and Class C;
Support Loriot Cloud Server;
Support Semtech Packet forwarder;
Support DNS;
Support NTP;
AT command interface to re-configure the parameters of the GW;
--change frequency plan;
--change IP of the GW;
--change MAC address of the GW;
--change Cloud server which support packet forwarder;
--to support public server or private server;
--change DNS address;
--change NTP server address;

V2.7 2017-09-28
www.risinghf.com
ST Nucleo LoRa GW User Guide
RisingHF
3
3 System description
The ST Nucleo LoRa GW is composed of two boards:
⚫ Nucleo-F746ZG Board
⚫ ST Nucleo LoRa GW Module
Figure 3-1 Nucleo F7 board and LoRa GW module
3.1 Nucleo-F746ZG Board
Information about the STM32 Nucleo board is available on www.st.com .
The NUCLEO-F746ZG board embeds an STM32F746ZG MCU, ARM® 32-bit Cortex®-M7 CPU with
FPU, adaptive real-time accelerator (ART Accelerator™) and L1-cache: 4KB data cache and 4KB
instruction cache, allowing 0-wait state execution from embedded Flash memory and external
memories, frequency up to 216 MHz, MPU, 462 DMIPS/2.14 DMIPS/MHz (Dhrystone 2.1), and DSP
instructions.

V2.7 2017-09-28
www.risinghf.com
ST Nucleo LoRa GW User Guide
RisingHF
4
3.2 ST Nucleo LoRa GW Module
3.2.1 Pin description
Figure 3-2 Pin description of ST Nucleo LoRa GW Module
Table 3-1 Pin description of ST Nucleo LoRa GW Module
PIN NAME
PIN Description
VIN
Power supply to Nucleo-F746ZG Board from External 5V
PF5/PD12/PC4/PB9
-GPIO4
GPIO4 from SX1301
PF10/PD13/PC5/PB8
-GPIO3
GPIO3 from SX1301
PF15-GPIO2
GPIO2 from SX1301
PF14-GPIO1
GPIO1 from SX1301
PF13-GPIO0
GPIO0 from SX1301
PE11-CSN
CSN of SPI for SX1301
PE13-MISO
MISO of SPI for SX1301
PE12-SCK
SCK of SPI for SX1301
VIN
PE12 –SCK
PE14 –MOSI
PF12 –RST
ANT Connector
USB for External 5V supply
PA5 –SCK (opt)
PA6 –MISO (opt)
PA7 –MOSI (opt)
PD14 –CSN (opt)
PF5 –GPIO4
PF10 –GPIO3
PD15 –Band Set1
PF15 –GPIO2
PF13 –GPIO0
PF14 –GPIO1
PE13 –MISO
PE11 –CSN
PE9 –Band Set2

V2.7 2017-09-28
www.risinghf.com
ST Nucleo LoRa GW User Guide
RisingHF
5
PE14-MOSI
MOSI of SPI for SX1301
PE15-RST
Reset for SX1301
PD15-Band Set1
ST Nucleo LoRa GW LF
PE9=0, PD15=1: Band EU433
PE9=1, PD15=0: Band CN470
ST Nucleo LoRa GW HF
PE9=0, PD15=1: Band EU868
PE9=1, PD15=0: Band US915/AS915/AU915
PE9-Band Set2
PA5-SCK (opt)
Backup SCK of SPI for SX1301 (NO connection on board in default)
PA6-MISO (opt)
Backup MISO of SPI for SX1301 (NO connection on board in default)
PA7/PB5-MOSI (opt)
Backup MOSI of SPI for SX1301 (NO connection on board in default)
PD14-CSN(opt)
Backup CSN of SPI for SX1301 (NO connection on board in default)
3.2.2 HW architecture of ST Nucleo LoRa GW Module
The Module is composed of one pcs of SX1301 and two pcs of SX125x FEM. The SX1301 will be
controlled and configured by ST Nucleo-F746ZG board via SPI. In this module, the external PA is
removed refer to Semtech’s reference design. The maximum output power will decrease to be about
6dBm for downlink. To get a wider operation bandwidth for evaluation, two parallel SAWs will be used
instead of the single band SAW. Two RF switches are used to select the target band which would be
used in the application. And the band selection is done automatically by software with frequency
channel identification. Users no need to set it by manual.

V2.7 2017-09-28
www.risinghf.com
ST Nucleo LoRa GW User Guide
RisingHF
6
4 System setup
4.1 Hardware connection
Use a 5V 1A adapter to connect to the ST Nucleo LoRa GW Module on the top to power the
system
Connect the micro USB connector CN1 of the Nucleo board on the bottom to PC with a USB cable.
This USB port could be used as FW download port or as Virtual COM port for message monitor or
log checking.
Figure 4-1 System setup
4.2 FW download
Below firmware is included in this package. You could download them in www.st.com.
◼ st-nucleo-lora-gw-at-fw-v2.0.2.bin //EU868 by default //
For the first time you get the kit, there will be a default configuration like below:
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Restarting...
Ethernet started
_/_/_/ _/_/_/ _/_/_/ _/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/
_/ _/ _/ _/ _/ _/_/ _/ _/ _/ _/ _/
_/_/_/ _/ _/_/ _/ _/ _/ _/ _/ _/_/ _/_/_/_/ _/_/_/
_/ _/ _/ _/ _/ _/ _/_/ _/ _/ _/ _/ _/
_/ _/ _/_/_/ _/_/_/ _/_/_/ _/ _/ _/_/_/ _/ _/ _/
Powered by RisingHF & STMicroelectronics
-------------------------------------------------------------------------------
Power Supply
COM

V2.7 2017-09-28
www.risinghf.com
ST Nucleo LoRa GW User Guide
RisingHF
7
VERSION: 2.0.2, Dec 6 2016
LOG: OFF
AT ECHO: ON
BAUDRATE: 115200bps
MACADDR: 08:00:27:0A:48:3B
ETHERNET: DHCP
DNS1: 114.114.114.114
DNS2: 8.8.8.8
NTP SERVER: 1.ubuntu.pool.ntp.org
EUI PADDING: {3, FF}, {4, FF}
GATEWAY ID: 080027FFFF0A483B
LORAWAN: Public
LORAWAN SERVER: ap1.loriot.io
UPLINK UDP PORT: 1780
DOWNLINK UDP PORT: 1780
-------------------------------------------------------------------------------
Concentrator starting...
Concentrator Radio A type SX1257
Concentrator Radio B type SX1257
Concentrator started (2926ms)
Ethernet starting...
Ethernet started
DHCP IP: 192.168.0.118
Downlink UDP Connected
Uplink UDP Connected
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
If you want to upgrade to a new firmware, please follow step below:
1) Connect ST Nucleo F746ZG to PC, then a mass storage device could be recognized.
2) Drag the target bin file and drop to the “NODE_F746ZG” device. When it is done, the firmware is
programmed successfully.
4.3 Get Started
1. Set up the system and connect the hardware like Figure 4-1.
2. Program the GW with the right binary file with right frequency plan and right cloud server. Skip this
step if the default configuration is acceptable for you.
3. Check Log with extraputty or some similar tools. Power up the system and reset the Nucleo board.
The log with some useful information will be shown on window of the extraputty. Configuration is
“115200, 8, n, 1”.
Figure 4-2 log shown after reset Nucleo board
Some useful information needs to be known from this log, MAC Address, predefined channels and
server address. All these configurations are configurable by user through AT command.
Questo manuale è adatto per i seguenti modelli
1
Indice
Manuali Unità di controllo popolari di altre marche

Festo
Festo Compact Performance CP-FB6-E Manuale elenco delle parti

Elo TouchSystems
Elo TouchSystems DMS-SA19P-EXTME Manuale utente

JS Automation
JS Automation MPC3034A Manuale utente

JAUDT
JAUDT SW GII 6406 Series Guida rapida

Spektrum
Spektrum Air Module System Manuale utente

BOC Edwards
BOC Edwards Q Series Manuale utente











