Professional Documents
Culture Documents
6 Developm
ment Kit
USERR GUIDE
W
WIRELESS, SENSING & TIMING PR
RODUCTS
SX
X1276 D
Develop
pment Kit
USER GUID
DE
Table of Contents
Index of Figures
1 Preamble
This document describes how to use the SX1276 Evaluation kit. This document describes especially the
SX1276 Eiger platform and the SX1276SKA User Interface. We strongly recommend for the user to read
thoroughly the datasheet of the SX1276 prior to start working on the device. Most of this document
assumes a general knowledge on the SX1276 and modern RF communications.
2 Introduction
The SX1276 is a single-chip integrated circuit ideally suited for today's high performance ISM band RF
applications. Added to the renowned, high-performance and low-cost, FSK / OOK RF transceiver modem,
the SX1276 is also equipped with the LoRa proprietary transceiver modem. This advanced feature set,
including a state of the art packet engine, greatly simplifies system design whilst the high level of
integration reduces the external BOM to a handful of passive decoupling and matching components. It is
intended for use as high-performance, long range, half-duplex bi-directional RF links, and where stable
and constant RF performances are required over the full operating range of the device down to 1.8V.
The SX1276 is intended for applications over a wide frequency range and it is covering all available sub-
1GHz frequency bands (168MHz, 434MHz, 470MHz, 868MHz and 902MHz). Coupled with a link budget
in excess of 135 dB in FSK in excess of 155 dB in LoRa, the SX1276 really offers the possibility of two
modems in one single package. The SX1276 complies with both ETSI and FCC regulatory requirements
and is available in a 5x5 mm QFN 28 lead free package.
The SX1276 Evaluation kit, based around the Eiger platform, allows the user to test every aspect of the
radio, both from the system and RF point of view.
On one hand, the Eiger platform is a touch screen portable device which has been design to enable quick
and easy testing of the PER performances of the SX1276. On the other hand, the SX1276SKA is a PC
based evaluation tool which allows in depth testing of the radio.
This document is therefore divided in two parts: the first part present the SX1276 Eiger module and how
to perform PER test in LoRa and FSK; the second part of this document present the SX1276 SKA and
how it can be used to test every single aspect of the radio.
3 Ge
etting Sta
arted
3.1 Ev
valuation Kit Conttents
The SX12
276DVK1 Dev velopment Kitt consists of:
2 x SX1276RF F1 modules
2 x Eiger platfo
orms
2 x dipole ante
ennas for LF frequency
f ban nd
2 x dipole ante
ennas for HF frequency
f band
2 x Mini-USB cables
c
2 x Touch Scre een Styluses
Disclaimer
D Notte
Figure
F 1: SX1
1276 Develop
pment Kit
3.2 Orrdering in
nformatio
on
Each of part
p of the SX1276 Evaluattion kit can be e ordered as a single entitty or in a who
ole package. W
When
ordering, please refer to
t the followin
ng parts numb
bers:
SX1276DVK1IAS SX1276 De
evelopment Kit
K - 169/868M
MHz version w
with TCXO
SX1276DVK1JAS SX1276 De
evelopment Kit
K - 433/868M
MHz version w
with XTAL
SX1276DVK1KAS SX1276 De
evelopment Kit
K - 490/915M
MHz version w
with XTAL
SX1276R
RF1IAS SX1276 Ev
valuation Mod
dule - 169/868
8MHz version
n with TCXO + Antennas
RF1JAS
SX1276R SX1276 Ev
valuation Mod
dule - 433/868
8MHz version
n with XTAL + Antennas
SX1276R
RF1KAS SX1276 Ev
valuation Mod
dule - 490/915
5MHz version
n with XTAL + Antennas
3.3 Up
pdating th
he firmwa
are
Updating the Eiger plattform firmwarre is straight forward
f given that the userr follows some simple step
ps.
The first step
s is to insta
all the Eiger platform
p driverrs on the PC used to upda ate the firmwaare. These driivers,
called RLink USB drive ers are located in the folder RLinkDrv giiven with every version of the firmware.. To
install the driver, simplyy launch the file
f RLinkUSB BInstall.exe.
Once the RLink driverss are installedd, the firmwaree upgrade is done through h the update.bbat file which will
upload the
e correct vers mware depending on seve ral options re
sion of the firm elated to the E
Eiger platform
m or
module beeing used. When launching g the applicattion, the follow
wing window opens:
STM32F103
3 Module
STM32F407
7 Module
STM32F42
29 Module
Once the software has been upgrad mmended to reset all the internal settings on the Eig
ded, it is recom ger
platform. For more info
ormation on how to achieve e this, please , refer to secttion 5.2.1.1 off this docume
ent.
4 Eig
ger Platfform Pre
esentatio
on
4.1 Pllatform Descriptio
on
The Eigerr platform is in
ntended to en
nable a quick and easy ran nge test of the sx1276 mo
odule. Here m
most of
the modem parameters s are pre-configured and th
he user only n
needs to set ssome RF parrameters.
S_VDCC_Switch
Le
eave in upperrmost position
n
Charging LEDs
Bottom red:
r charging
Top gree en: battery is charged Plaaform main U USB connector
Red+Gre een: charging g error or battery Minni-B USB type e
fully charged Usse to charge th he platform
batttery or powe er it when
batttery is off or empty. It is also
useed to update the firmware
Eiger platform
p func
ction ‘buttons
s’
Only use
ed to move be
etween screenns
Batterry switch
STM32 daughter bo oard Switch the Eiger platform
This USB B should only
y be ON or OFF (indicated by ‘‘1’
plug for the
t SX1276S SKA and ‘0’).
to enablee communicaation
with PC software
Fiigure 2: Eige
er platform de
escription
4.2 SX
X1276 Mo
odule Harrdware
The SX12 276DVK is a USB based evaluation so oftware desig
gned to alloww simple and easy evaluattion of
the suitab
bility of the SX
X1276 for a given application. There are ation module developed around
e three evalua
the SX127 76 and each module is targ geted to speccific RF Bandss.
4.2.1 SX1276RF
S 1IAS
The SX12
276RF1IAS is a 868MHz frequency ba
s targeted to the 169MHz and ands.
Figure
e 3: SX1276R
RF1IAS Modu
ule Schemattic
4.2.2 SX1276RF
S 1JAS
276RF1JAS is
The SX12 i targeted to the 433MHz and 868MHzz frequency ba
ands.
Figure
e 4: SX1276R
RF1JAS Mod ule Schemattic
4.2.3 SX1276RF
S 1KAS
276RF1KAS is targeted to
The SX12 o the 490MHz
z and 915MHzz frequency b
bands.
Figure
e 5: SX1276R dule Schemattic
RF1KAS Mod
4.2.4 Module
M An
ntenna
T
The SX1276RF F1 modules are e fitted with 2 RF
R antenna SM MA connectorss. Each antenn
na connection h
has been speccifically
d
designed to offe
er the best RF matching to a specific freque
ency band.
Figu
ure 6: LF and HF Antenna
a Connection
n
F
Five antennas types
t could be delivered with kits. The anten
nnas can be id
dentified throug
gh their color de
edicated or sha
ape, to
a specific frequency band (LF
F=169, 433 or 490MHz,
4 HF=8868 and 915 M Hz). Antenna ttypes and part numbers are ssubject
to
o be changed.
D
Do not connectt both antenna types at the sa
ame time on the
e module.
490MHz
4 869MHz 915MHzz
169M
MHz 433
3MHz red grey yellow
Figure
e 7: Frequenc
cy Band Targ
geted Antenna
5 Eig
ger platfform for PER Te
esting
5.1 Me
enu Desc
cription
The Eigerr menu is org
ganized around the touch screen whicch allows the user to set o
on the fly a liimited
number of parameters. We will here
e describe ea
ach menu winndow so that the user can quickly start doing
PER testing.
The idea behind the PE ER demo is to o set one of the ansmitter and the other one
t Eiger plattform as a tra e as a
receiver. Then both platforms can me moved away one from m the other, in an urban o or in an openn field
environme ent, to easily capture the PER
P between the transmittter and the re
eceiver.
5.2 Us
sing the Eiger
E plattform
When boooting up, the Eiger applica
ation will dete
ect the hardw
ware module connected to o configure th
he RF
parameters dedicated to each mo odules. Each hardware m module is fitte
ed with an E
EEPROM wh hich is
programm
med at manuffacturing. How wever, if for any
a reasons, the EEPROM M cannot be rread or has n
not be
programm
med, the follow
wing window is shown.
Battery levvel
Firmware version
Access th e System Me
enu
5.2.1 System
S Wiindow
Temperature
e
5.2.1.1 Settings
Reset the E iger platform Settings
Access the b
bootloader m
menu
Information o
on the firmwa
are
Return to Ho
ome Screen
Reset
R the toucch screen caliibration
Reset
R to the d efault parame
eters
Apply
A the rese
et
5.2.1.2 Battery
In
ndicates the b
battery state
In
ndicates the b
battery level
In
ndicates the vvoltage delive
ered by the
battery
b
Up
pdate the firm
mware through
h an SD
ca
ard
Re
eset touch sccreen calibratiion
5.2.1.4 About
Indicates the
e Firmware ve
ersion
Indicates the
e Build date
Indicates the
e Build time
Indicates the
e Module Con
nnected
5.2.2 PER
P Demo
o Window
dule is detecte
If the mod ed correctly, the
t PER demo is accessed
d and the follo
owing window
w is displayed
d.
Set the d
device as Recceiver for the PER test
Set the d
device as Transmitter for th
he PER test
Set the R
RF Settings fo
or the PER te
est
Set the R
RF settings
Set the pa
acket settings
For a give
en modulation
n, there is only a limited se
et of parametters that can be set by the
e user. Most of the
parameters are set auttomatically in the software to keep the in
nterface userr friendly.
Set the
e inter-packett delay
S
Set Device ID
D
E
Enable or Disa
able the paylo
oad CRC
S
Set the payloa
ad size (in Byytes): 9, 16,
2
24, 48 or 64
In FSK mo
ode, the paylo
oad is built in the following
g way:
Payload
P
Preamble SyncWord EEnable or Dissable
Payload d payload CRC CRC
ngth
len
(8 Bytes) (0
0x69‐0x81‐0x7E‐‐0x96) (Platfo
orm ID, 32‐bit p acket cnt, ‘P’, ‘EE’, ’R’, FCS, ‘Padd
ding [xx Bytes]’) (2 Bytes)
(1 B
Byte)
Set the Ou
utput Power b
boost (module
e
dependentt)
Set the in
nter-packet de
elay Set the RF outp
put power
S
Set Device ID
E
Enable or Disa
able payload CRC
S
Set the payloa
ad size (in Byytes): 9, 16,
2
24, 48 or 64
E
Enable or Disaable Low Dattarate
O
Optimization ((mandatory fo
or SF12 and
S
SF11
In LoRa mode,
m the pay
yload is built in
n the following way:
Pre
eamble Header
H Payyload CRC
(8 Symb.) (8 Symb.) (P
Platform ID, 32‐b
bit packet cnt, ‘PP’, ‘E’, ’R’, FCS, ‘PPadding [xx Bytees]’) (2 Bytess)
The preamble length, the Header and the basic payload structure can nnot be chan nged by the user.
However, the payload length is adju
ustable and the ‘Padding’ field will incrrease or decreease depend
ding of
the payloa
ad size. The CRC
C o be enabled or disabled frrom the packe
can also et settings me
enu.
PER Tx window
w in Lora
a mode:
TX Mo
odulation para
ameters
Numbe
er of packet ssent
PER Tx window
w in FSK
K mode:
TX Mo
odulation parrameters
Numb
ber of packet sent
PER Rx window
w in Lora mode:
Indicate th
he SNR
Indicate th
he RSSI
Packet ind
dicator
PER
Re
eset the PER counter
c
In LoRa mode,
m when sub-noise receeption is occu
urring (SNR < 0), the displa
ayed RSSI va
alue is
extrapolatted using the SNR indicato
or. When the SNR > 0, thee actual SNR is not computted and the value
is clamped.
Indicate the
e RSSI
Packket indicator
Num
mber of correcct packet rece
eived
Num
mber of packet missed
Num
mber of non PER packet received
PER
R
5.2.3 PER
P Rx Ba
ar-graph
In Rx modde, a bar-grap
ph indicates the
t distribution of the errorr over time. Th
his is especiaally useful to d
detect
the causee of the error, whether a burst
b of noise
e in the frequuency band o or if the devicce in in the limit of
reception range. The examples
e belo
ow highlight what
w each casse looks like:
As we can
n see in the picture
p below, the device lo
ost many packkets in a shorrt amount of time.
6 SX
X1276SK
KA Softw
ware Des
scription
n
The SX12 276SKA is organized
o on
n a PC softw ware GUI co ommunicating
g through USSB with the Eiger
platforms.. In this situa
ation, the Eig
ger platforms are only ussed as a gate
eway to com
mmunicate witth the
SX1276.
6.1 SX
X1276SKA
A Quick start
s Guid
de
It is recommmended thatt this user guide is read in conjunction w with the SX12 276 datashee et.
1. Plug the Eiger Platform USB ports to the e computer (o one USB is used to powerr the platform while
he other USB is used for co
th ommunication n).
2. Run
R the SX127 76 User Interfface software e: Start > All P
Programs > S SX1276SKA > SX1276SKA A
3. The SX1276SK KA should co onnect automatically to the e User Interfaace Software. If not, click o
on the
USB
U connect button,
b located in the top le
eft hand corne er of the wind
dow toolbar.
4. Once
O connecteed the SX127 76SKA shows s the default cconfiguration of the SX12776 register se ettings
uppon power-up p. If the EVK is not connec cted, the GUII screen is gra ayed out andd an error messsage
s displayed in the bottom le
is eft hand corne er of the statu
us bar.
Figure
F 8: Connect both USB
U ports to
o use the SX1
1276SKA
SX1276SK
KA Version
Eiger Mo
odule Firmware Version
SX
X1276 Chipseet Version
Radio conffig file
currently lo
oaded
Fig
gure 9: SX127
76 window o
organization
While this
s approach has
h limitation on testing th he system caapability of th
he device, it allows the usser to
thoroughly
y evaluate the
e device from
m the radio point of view
This wind
dow allows th he user to wrrite to and reead from the contents of iindividual con
nfiguration re
egister
addressess. Note that address
a and data
d are enterred in hexade
ecimal format..
6.2 Lo
oRa Mode
e
6.2.1 LoRa
L Menu
u
Refresh all
a
registers va
alue
Direct ac
ccess to sub menu
m
Opens Reg
gisters window
w
Indicates the
e Modem ope
erating Mode
6.2.2 LoRa
L Com
mmon Wind
dow
3
6
Figu
ure 11: SX127
76SKA Boot--up windows
s
6.2.3 LoRa
L Para
ameters Window
W
4
1
2: Details
D o the reception
status of
6.3 FS
SK Mode
6.3.1 FSK
F Menu
The FSK menu is orga anized aroundd several winddows allowing g the user to set the radio
o step by step
p. The
detail of each
e window is
i described from
f section 5.2.1.1
5 onwarrd.
Some info ormation are however
h glob
bal to the FSK
K radio operattion and are tthus displayedd on every window
as shown on figure 9.
Refressh all
registers
s value
RSSI / Spectrum An
nalyzer es the Modem
Indicate m IRQ status
Figure
F 13: FS
SK window s
structure
6.3.2 Common
C window
w
Figure
F 14: FS
SK Common
n window
The Com mmon window w allows thee user to se et the comm on Tx/Rx pa arameters fo or the modullation.
Paramete ers such as th he modulation type (FSK or OOK), Fre equency, Bitrrate, frequenccy deviation o
or the
e entered in this window.
oscillator details can be
6.3.3 Transmitte
T er window
w
3: Overload
O curre
ent protection
4: PLL Bandwidth
h
6.3.4 Receiver
R window
w
8
1 5
7 9
Figure 16: FS
SK Receiverr window
This window allows the
e user to set the
t parameterrs for the paccket reception
n:
6: Control
C the RSSSI detection.. If the recepttion is triggere
red on the RS
SSI detection,, these param
meters
alllow controllin
ng the level of
o RSSI triggering the recception and ssmoothing the e peak detecctor to
av
void false dettection in case
e of random peak
p in the fre
equency bandd.
8: Enable or Disa
able the bit sy
ynchronizer an
nd configure tthe OOK dem
modulator
6.3.5 IR
RQ and Map window
w
Fig
gure 17: FSK
K IRQ and Ma
ap window
1: In
ndicates the current
c status of the device
e
3: Configures
C the
e IRQ and how
w they are ma
apped with th
he DIOs of the
e device.
4: Disable
D or Ena
able and set th
he clock out of
o the device
6.3.6 Packet
P Han
ndler wind
dow
3 4
2: Once
O the pack ket structure has been de
efined, this vie
ew allows the all each field of the
e user that a
pa
acket structurre is set corre
ectly.
4: Control
C the pac
cket handler transmission
t or reception.
6.3.7 Sequencer
S r window
Figure
F 19: FS
SK Sequence
er window
6.3.8 Temperatu
T ure window
w
Fig
gure 20: FSK
K Temperatu
ure window
The SX12 w an internal temperature sensor. N
276 is fitted with Note that use
er is prompte
ed to calibratte the
SX1276 temperature
t sensor
s by cliicking on thee Calibrate bu utton to acce
ess the temp
perature calib
bration
dialog box
x. If auto calib erature change that
bration is set,, a new calibrration will be performed at every tempe
exceeds the
t threshold.. Threshold va alue could bee set to 5, 10, 15 and 20°CC.
7 Ho
ow to...
7.1 … perform a simple
e transmiission / re
eception in LoRa
Performin ng a simple Trransmission – Reception in
n LoRa is fairrly straight forrward.
First, the user needs to
o set the RF transmission parameters:
p
Optimize trransmission
for Low Da
atarate OFF
(mandatoryy for SF11 annd
SF12 with BW=125KHzz)
Set the Pa
ayload
Click “Sta
art” to start Trransmitting Set the Deviice in Transm
mitter Mode
It is important to notic
ce that the de
evice mode of
o operation iss standby be
etween packe
ets, this is wh
hy the
Operatingg mode is left in “Standby”.
Then we need
n to set th
he device in re
eception afterr setting the L
Lora modulatiion parameters.
Set the S
Spreading Facctor
Set the C
Coding Rate
Set the B
Bandwidth
Optimizze transmissio
on for
Low dattarate OFF
(mandatory for SF11 and
SF12)
At this sta
age, the trans
smission – rec
ception should
d be complette and the use
er should see
e the LEDs blinking
on the Eigger platforms..
Set the pa
acket length: vvariable
Set the pa
ayload: 0xA1-0
0xA2-…
Tx Pacckets: Indicate
es the numbe
er of
packetts sent
Set the
e Device in Trransmitter Mo
ode
ending packe
To start se ets, simply clic
ck on the “Sta
art” button.
Notice
e the green LED indicating
g when
a packet is sent
The devic ce is now sennding packet.. You can als so see the Ye
ellow LED fla
ashing on the
e Eiger modu
ules to
indicate th
hat the device
e is currently transmitting.
t
In the rece
eiver, it is nec
cessary to set some param
meters to conffigure the recceiver.
Set the AF
FC Auto: ON
Set the AF
FC Auto clearr: ON
The re
eceived payload is displaye
ed here Number of pa
acket receive
ed
Set the d
device in
continuo
ous TX mode
Set the d
device in
continuo
ous RX mode
Start
S the Logg
ging of the tra
ansmitted or re
eceived packkets
8 Troubleshooting
Each Eiger platform, radio module or software kit has been thoroughly tested before to be released for
customer evaluation. The section below highlights some of the common issues faced by users and how it
can be fixed.
8.1 The Eiger platform indicates very high PER even in short range
There are several reasons which can have a dramatic influence over the performance of the platform.
One of the common reasons is that the frequency selected is in the GSM or in another already used
frequency band. If the frequency you have selected is already used by another RF system, the
communication will obviously be affected. We therefore recommend to the user to check the RF band
usage in his location before to start any PER testing.
8.3 The SX1276SKA do not detect the device through the USB
This issue is usually caused by a wrong connection of the USB
The step below should fix the issue.
1- Make sure the Eiger Platform is powered down (Battery switch set to 0) and is not connected to
the PC through the USB.
2- Reconnect the side USB to the PC, the red LED on the left side should light up
3- Connect the bottom USB to the PC.
4- Power the device up (Battery switch set to 1)
5- Press the five-way central push button until the screen light up.
6- Launch the SX1276SKA on the PC
© Semtech 2014
All rights reserved. Reproduction in whole or in part is prohibited without the prior written consent of the copyright
owner. The information presented in this document does not form part of any quotation or contract, is believed to
be accurate and reliable and may be changed without notice. No liability will be accepted by the publisher for any
consequence of its use. Publication thereof does not convey nor imply any license under patent or other industrial
or intellectual property rights. Semtech assumes no responsibility or liability whatsoever for any failure or
unexpected operation resulting from misuse, neglect improper installation, repair or improper handling or unusual
physical or electrical stress including, but not limited to, exposure to parameters beyond the specified maximum
ratings or operation outside the specified range.
Contact Information
Semtech Corporation
Wireless & Sensing Products Division
200 Flynn Road, Camarillo, CA 93012
Phone: (805) 498-2111 Fax: (805) 498-3804
E-mail: sales@semtech.com
support_rf@semtech.com
Internet: http://www.semtech.com