Professional Documents
Culture Documents
3..) WhatisLooRaWAN?
TheLoRamodulationisthephysicaallayer(PHY),andLoRaWA ANisaMACp protocolforaahighcapacity,long
rangestarnetworkthaattheLoRaAllianceisstanndardizingforrLowPowerW WideAreaNeetworks(LPW WAN).The
LoRaWAN Nprotocoliso
optimizedforrlowcostbatteryoperateddsensorsand dincludesdiffferentclassessofnodes
tooptimizzethetradeo
offbetweenn networklatencyandbatterrylifetime.Ittisfullybidirrectionalandwas
architecte
edbysecurityyexpertstoe
ensurereliabilityandsafetyy.ThearchittectureofLoRRaWANwasaalso
designedtoeasilylocaateandtrackmobileobjectsforassettrracking,whichisoneofth hefastestgrowwing
volumeappplicationsfoorInternetofThings(IoT).LoRaWANissbeingdeployyedfornationwidenetwo orksby
majortele
ecomoperato ors,andtheLLoRaAllianceisstandardiz ingLoRaWAN Ntomakesurrethediffereent
nationwiddenetworksaareinteroperable.
S
Semtech Corpora
ation www..semtech.com 1 of 4
L
LoRa FAQ Semtech
5.) WhatisaLoRaConcentrator?
Thetermgatewayandconcentratorarebothused,buttheyareequivalentcomponentsinaLoRasystem.In
otherindustriesthedefinitionofgatewayandconcentratorimplydifferentcomponents.
6.) HowwelldoesLoRahandleInterference?
TheLoRamodemiscapableofcochannelGMSKrejectionofupto19.5dB,orstateddifferently,itcanreceive
signals19.5dBbelowaninterferingsignalorthenoisefloor.Thisimmunitytointerferencepermitsthesimple
coexistenceofLoRamodulatedsystemseitherinbandsofheavyspectralusageorinhybridcommunication
networksthatuseLoRatoextendrangewhenlegacymodulationschemesfail.
7.) WhatisthedatarateforLoRa?
LoRaWANdefinesaspecificsetofdatarates,buttheendchiporPHYispossibleofmoreoptions.TheSX1272
supportsdataratesfrom0.3to38.4kbps,andtheSX12760.018to38.4kbps.
8.) WhatisaLoRaEndNodeorPoint?
TheLoRaendpointsaretheelementsoftheLoRanetworkwherethesensingorcontrolisundertaken.They
arenormallyremotelylocatedandbatteryoperated.Theseendpointscanbesetuptocommunicatewitha
LoRaGateway(ConcentratororBaseStation)usingtheLoRaWANnetworkprotocol.
9.) WhatisAdaptiveDataRate(ADR)?
AdaptiveDataRateisamethodwheretheactualdatarateisadjustedtoensurereliablepacketdelivery,
optimalnetworkperformance,andscaleforcapacity.Forexample,nodesclosetothegatewaywillusea
higherdatarate(shortertimeonair)andaloweroutputpower.Onlynodesthatareattheveryedgeofthe
linkbudgetwillusethelowestdatarateandhighestoutputpower.TheADRmethodcanaccommodate
changesinthenetworkinfrastructureandsupportvaryingpathloss.Tomaximizebothbatterylifeofend
devicesandoverallnetworkcapacity,theLoRanetworkinfrastructuremanagesthedatarateandRFoutput
foreachenddeviceindividuallybyimplementingADR.
10.) FortheLoRadevices,whatistheactualTxpowerthatcanbeachievedontheantenna?
Atthechippintheoutputpoweris+20dBmandattheantennaaftermatching/filteringlossthepoweris
+19dBm+/0.5dB.DifferentregionshavedifferentregulationsformaxoutputpowerandtheLoRaWAN
specificationdefinesdifferentoutputpowerforthedifferentregionstomaximizethelinkbudget.
11.) WhatisthepriceofaLoRasolution?
WithaLoRadevice(ex:SX1272orSX1276)alowercostcrystalcanbeused.Innarrowbandtechnologyan
expensivetemperaturecontrolledcrystalisneededtominimizefrequencydriftduringRX/TX.Atypicalbillof
materialscostforacompleteendnodeisbetween25dollarsdependingonvolumeandfeatures.Along
transmitrangemeanssimplernetworkinfrastructureandlowercostofdeploymentasnorepeatersare
necessary.Lowerpowerconsumptionmeansusinglowercostbatteriesandnetworkmaintenance.
12.) WhatistheprocessoftheLoRaCAD(ChannelActivityDetector)mode?
InsteadofusingaRSSI(ReceivedSignalStrengthIndicator)methodtoidentifyifasignalispresentthechannel
activitydetector(CAD)isusedtodetectthepresenceofaLoRasignal.TheCADdetectionhastheadvantage
ofbeingmuchfasterthanatypicalRSSIdetectionandthecapabilitytodifferentiatebetweennoiseanda
desiredLoRasignal.TheCADprocessrequirestwosymbols,andiftheCADisdetected,theCAD_Detected
interruptwillbeassertedandthedevicewillstayinRXmodetoreceivethedatapayload.
13.) IsitOKtochangethemodebetweenFSKandLoRamodulationfrequently?
Yes,itisnoproblem.TheLoRadevicecanbeswitchedfromFSKtoLoRa(andviceversa)viasimpleSPI
registerwrite.Thishasnoissueontheperformanceorreliabilityofthedevice.ALoRadevicecanbe
configuredandreconfiguredtoanyoftheparametersasspecifiedinthedatasheets.
14.) WhyistheoutputpowerofmyLoRadeviceorModulenotabletoachieve20dBm?
The+20dBmspecificationisfortheoutputpoweratthepinofthechip.ThebandpassfilterandRFswitch
haveinsertionlosscharacteristicsasinanyRFsystem.Achieving+19dBmattheantennaistypical
performanceaftermatchingandfiltering.
15.) Howtotroubleshoottheoutputpowerifitisnotabletoachieve+20dBm?
1.)Pleasemakesurethatyouconnecttherightpin(PA_Boost)setfor20dBmoutput.
Therearetwooutputportsforeachband,oneishighpowerportcalledPA_boost,andanotherisahigh
efficiencyportcalledRFO.
2.)ThenchecktheconfigurationinSW.Threeregistersshouldbeconfiguredcorrectly:RegPaConfig,RegOcp
andRegPaDac.ItmeansthatyoushouldselecttherightpinforproperoutputinSW,thensettheright
valuerefertopowerlevelyouneed.
3.)ConfirmthematchingpertheSemtechreferencedesigntomakeagoodlayout,whichisimportantto
achievethemaximumoutputpowerpossible
16.) HowtochooseapropercrystalforaLoRadevice?
Normally,a+/10ppmXTALisgoodenoughformostdesignswithabandwidthof62.5kHzorhigher.ForBW
lessthan62.5kHz,aTCXOisstronglysuggestedtobeused.Formoredetailsaboutthespecificationofthe
crystal,pleaserefertothedatasheetandLoRaModemCalculatortoolandapplicationnote
AN1200.14_XO_Guidance_LoRa_Modulation_STD.
17.) HowcanIimplementamassproductiontestforaLoRasystem?
Threeparametersareimportanttotestinmassproduction:frequencytolerance,outputpower,and
sensitivity.Thefrequencyandoutputpowerareeasytotestwithaspectrumanalyzer.Ifyoursignal
generatorcantgenerateaLoRasignal,testingthesensitivitywithFSKmodeisstronglysuggested.Thereis
onlyoneRFchaininthechip,andtheFSKandLoRademodulationisdoneinthedigitaldomain.TheRFpath
couldpotentiallybedamagedinassemblysothisisimportanttoverify.Thedigitalportionofthechipwhere
theLoRaandFSKmodulationisdoneisisolatedfromtheeffectsofassemblysotestingFSKsensitivityis
sufficientforverifyingtheproductiontestperformance.ThedigitalandLoRamodulationaretested
extensivelyinthechipproductiontest
18.) ForaLoRawidebandsignal,howcanyoumeasurethefrequencyaccuracyinLoRamode?
Ifitisjustformeasurement,youcanusetheFrequencysynthesisTX(FSTX)modeaslistedintheLoRaregister
tabletogenerateaCWtonebasedontheLoRaconfiguration.
19.) WhatistherelationshipbetweenBandwidth(BW),SymbolRate(Rs)andDataRate(DR)?
Intheory,Rs=BW/(2^SF),DR=SF*(BW/2^SF)*CR.ButwesuggestyouusetheSemtechLoRaModem
Calculatortoevaluatethedatarateandtimeonairfordifferentconfigurationoptions.
21.) WhatarethestepstotroubleshootwhentwoSX127xmodulesfromdifferentmanufacturersarenot
abletocommunicatewitheachother?
Firstofall,checkthefrequencyoffsetcausedbythecrystalbetweenthetwodevices.TheBW,center
frequency,anddatarateareallderivedfromthecrystalfrequency.Second,checkthesoftware/firmware
settingsonbothsidesforfrequency,bandwidth,spreadingfactor,codingrateandpacketstructuretoensure
theyarethesame.
22.) Howcanitbepossibletoreceiveawrongpacketwhenthecyclicredundancycheck(CRC)isenabled
inLoRamode?
InLoRamode,eveniftheCRCiswrong,thepayloadwillbefilledintotheFIFO.Wesuggestcheckingheader
andseeifitisvaliddataornot.ThisisduetotheCRCON/OFFinformationincludedintheheader.Discard
thepacketwhentheheaderisinvalid.Inaddition,thereisabitinReg0x1CnamedCrcOnPayload(bit6),read
thisbitbeforecheckingCRC,ifCRCisturnedOFFbymistakethendiscardthispacket.
23.) CanIsendorreceiveanunlimitedlengthpayloadpacketwithaLoRadevice?
No,themaximumpacketlengthis256bytesinLoRamode.
24.) HowcanyouusetheDIOxpinsinLoRamode?ShouldallDIOxpinsbeconnectedtotheMCU?
Whenyoustartyourdesign,checktheDIOMappinginboththeLoRamodeandFSKmode.Youcanfindthe
DIOMappinginformationinSX127xLoRadatasheets.TheDIOsdonotfunctionasnormal(typical)MCU
GPIOs.Therearesomespecialinterruptsignals(orclockoutputs)toindicatetheeventorstatusofthe
chipset,whichthenmakeyourFWdesigneasiertoimplement.Intheory,youcouldconnectnoDIOsandthen
readtherelatedregistertoknowthestatusresult.However,wesuggestthatyouconnecttheDIOasmuch
aspossibleforexternalinterruptfunctionalitywhichsavesontheresourceloadingoftheMCU.
25.) WhyaretheretwoRSSIregistersinLoRamode?Whatisthedifference?
TheRegPktRssiValueandRegRssiValuearebothusefulinLoRamode.RegPktRssiValuereferstothepacket
RSSIlevel,andtheRegRssiValueissimilartotheRSSIthatcanbefoundin(nonLoRa)FSKmode.
Asyouknow,LoRacoulddemodulatethepacketbelowthenoisefloor(PktRssiresult)thenCurrentRssiwould
thenbeequaltoormorethanthenoisefloor.FormoredetailsabouthowtocalculatethesetwoRSSIValues,
pleaserefertotheSemtechAPIorlatestLoRadatasheets.
Thisiseassytocalculate
ebyusingLoRacalculatorr,whichcanbbedownloadeedonSemtecchwebsite(lin
nkbelow).
http://ww ww.semtech.ccom/apps/file edown/down n.php?file=SX 1272LoRaCalculatorSetup p1%271.zip
28..) IsLoRaa
ameshnetwo ork,pointtopoint,orasttarnetwork??
TheLoRamodulationitselfisaphyssicallayer(PHHYlayer)thattcanbeusedinallmostnetworktopologiesor
configurations.Amesshnetworkexxtendstherangeoftheneetworkbutco omesatthecostofreduceednetwork
capacity,synchronizationoverhead d,andreducedbatterylifettimeduetossynchronizationandhops.Withthe
increased
dlinkbudgetaandrangecap pabilityofLoRathereisnooneedforam
meshnetworkarchitectureetoextend
therange
esoastararchitecturewasschosenforLLoRaWANto optimizethenetworkcap pacity,batteryylifetime
andinstalllationease.
29..) IsLoRaIPv6or6LoWWPANenabled
d?
Yes,LoRaisIPv6and6
6LoWPANcom
mpatible.Acttility(aLoRa partner)andotherpartneersenabled6LoWPAN
ontopofLoRaWAN.
S
Semtech Corpora
ation www..semtech.com 5 of 4
L
LoRa FAQ Semtech