background image

LR1110
User Manual

Rev.1.0

UM.LR1110.W.APP

March 2020

70 of  130

Semtech

www.semtech.com

Refer to each command description for implementation details on the various RSSI fields.

GetPacketStatus

( ) 

(G)FSK

RSSISync

 

Instantaneous RSSI value latched in the (G)FSK demodulator, upon the detection 
of sync address

RssiAvg

Average RSSI value over the whole payload of the received packet, determined in 
the (G)FSK demodulator.

LoRa®

RssiPkt

Measurement of the mean energy at the input of the modem over the last packet 
received.

SignalRssiPkt

Estimation of the mean energy of the LoRa® signal over the last packet received. 
Equivalent to RssiPkt - environment noise

Table 8-36: RSSI Information Origin and Meaning

Command

Modem

Name

Description

Содержание LoRa Edge LR1110

Страница 1: ...LR1110 User Manual 1 of 130 Semtech LR1110 User Manual Rev 1 0 UM LR1110 W APP March 2020 www semtech com...

Страница 2: ...3 Reset 18 2 3 1 Power On Reset and Brown Out Reset 19 2 3 2 NRESET 19 2 3 3 Reboot Command 19 2 4 Calibrations 19 2 4 1 CalibImage 20 2 4 2 Calibrate 20 2 5 GetVersion 21 2 6 Modes Transitions Timing...

Страница 3: ...TCXO 39 7 Sub GHz Radio 41 7 1 Description 41 7 2 Commands 42 7 2 1 SetRfFrequency 42 7 2 2 SetRx 42 7 2 3 SetTx 43 7 2 4 AutoTxRx 43 7 2 5 SetRxTxFallbackMode 44 7 2 6 SetRxDutyCycle 44 7 2 7 StopTi...

Страница 4: ...1 1 Low Power PA 73 9 1 2 High Power PA 73 9 2 PA Output Power 74 9 2 1 Low Power PA 74 9 2 2 High Power PA 75 9 3 PA Current Consumption 76 9 3 1 Low Power PA 76 9 3 2 High Power PA 78 9 4 Impedance...

Страница 5: ...Crypto Engine 105 12 1 Description 105 12 2 Cryptographic Keys Definition 105 12 3 Commands 107 12 3 1 CEStatus 107 12 3 2 CryptoSetKey 107 12 3 3 CryptoDeriveAndStoreKey 108 12 3 4 CryptoProcessJoin...

Страница 6: ...15 1 Register Memory Access Operations 119 15 2 System Configuration Status Operations 119 15 3 Radio Configuration Status Operations 121 15 4 Wi Fi Configuration Status Operations 123 15 5 GNSS Conf...

Страница 7: ...g 62 Figure 9 1 LR1110 Power Amplifiers 71 Figure 9 2 PA Block Diagram 72 Figure 9 3 Low Power PA VR_PA Voltage vs TxPower 73 Figure 9 4 High Power PA VR_PA Voltage vs TxPower 74 Figure 9 5 Low Power...

Страница 8: ...egMemMask32 Command 28 Table 3 11 WriteRegMemMask32 Command Cont 28 Table 3 12 WriteBuffer8 Command 28 Table 3 13 ReadBuffer8 Command 29 Table 3 14 ReadBuffer8 Response 29 Table 3 15 ClearRxBuffer Com...

Страница 9: ...le 8 18 PulseShape Parameter 63 Table 8 19 Bandwidth Parameter 63 Table 8 20 SetPacketParam Command 64 Table 8 21 PblDetect Preamble Detector Length 64 Table 8 22 AddrComp 65 Table 8 23 PacketType 65...

Страница 10: ...nssGetConsumption Command 102 Table 11 15 GnssGetConsumption Response 102 Table 11 16 GnssAlmanacFullUpdate 103 Table 11 17 AlmanacFullUpdatePayload 103 Table 11 18 AlmanacHeader 103 Table 11 19 SvAlm...

Страница 11: ...3 5 ReadDevicePin Command 116 Table 13 6 ReadDevicePin Response 116 Table 14 1 ETSI Test Signals 117 Table 14 2 SetTxCw Command 118 Table 14 3 SetTxInfinitePreamble Command 118 Table 15 1 Register Mem...

Страница 12: ...N standard or proprietary protocols Besides theworld wide sub GHztransceiver capabilities the devicefeaturea very low power multi band front end thatcan acquire several signals of opportunity for geol...

Страница 13: ...imized for low power and long battery lifeapplications requiring indoor and outdoor geolocation Its efficient Wi Fi and GNSS geolocation capabilities coupled with highly optimized detection algorithms...

Страница 14: ...rom which the transitions to the other modes are possible All the commands to configure the device should be issued in this mode Two clocks are available for the system either the internal 32MHz RC os...

Страница 15: ...w it indicates that the startup phase has been performed successfully and that the device is ready to accept a command 2 1 3 Sleep The Sleep mode allows configuring the LR1110 into a low power consump...

Страница 16: ...refore the sleep time can vary from 0 ms to 36 4 hours in steps of 30 52us BUSY is set to 1 in sleep mode The device can exit this mode based on the detection a falling edge on the NSS pin Exiting thi...

Страница 17: ...eption the device goes into an intermediary mode for the requested time after a packet reception before entering TX mode for the transmission of the packet 2 1 5 TX Mode The TX mode allows the transmi...

Страница 18: ...icating that the MAC addresses are available to the host controller and ready to be sent to a geolocation server using a LPWAN network to compute the device position 2 1 9 DSP Mode LR1110 geolocation...

Страница 19: ...nd Reboot triggers a restart of the LR1110 firmware StayInBootLoader 0 performs a firmware restart StayInBootLoader 3 the boot loader will not execute the FW in flash but will allow FW upgrades Other...

Страница 20: ...ode without retention the image calibration is performed as part of the initial calibration process and for optimal image rejection in the band 902 928 MHz However at this stage the internal state mac...

Страница 21: ...is the version of the LR1110 hardware Use Case describes the main device features 0x01 Transceiver 0x02 Modem FW Major FW Minor is the version of the LR1110 internal firmware stored in flash memory Ta...

Страница 22: ...efer to Figure 2 1 LR1110 Modes and Transitions for a representation of the LR1110 modes and modes transitions Table 2 12 Mode Transitions Transition TSWMode Typical value s POR to STBY_RC 180e3 SLEEP...

Страница 23: ...mmand the BUSY lineis de asserted to indicate thatthe device is ready to accept another command Figure 3 1 Write Command Timing Diagram 3 2 Read Commands Specific Read commands allow to retrieve data...

Страница 24: ...and was processed successfully 3 CMD_DAT the last command was a successfully processed and data is currently transmitted instead of IRQ status Interrupt Status indicates if a LR1110 system interrupt w...

Страница 25: ...d when the device is not ready to accept a new command Therefore the timing diagram of the BUSY signal is as follows Figure 3 3 BUSY Timing Diagram The amount of time the BUSY line will stay high afte...

Страница 26: ...gh frequency XOSC did not start correctly To fix it redo a reset or send SetTcxoCmd if a TCXO is connected and re do calibrations bit 6 LF_XOSC_START_ERR Low frequency XOSC did not start correctly To...

Страница 27: ...auto incremented after each data byte so that data is read from contiguous register locations Len is the number of words to read and is maximum 64 Table 3 6 WriteRegMem32 Command Byte 0 1 2 3 4 5 6 7...

Страница 28: ...to Host Stat1 Data1 31 24 Data1 23 16 Data1 15 8 Data1 7 0 Data2 31 24 DataN 7 0 Table 3 10 WriteRegMemMask32 Command Byte 0 1 2 3 4 5 6 7 Data from Host 0x01 0x0C Addr 31 24 Addr 23 16 Addr 15 8 Add...

Страница 29: ...ta in the radio RX buffer It will write 0 on the whole Rx buffer It is mainly used for debug purpose to ensure the data in the Rx buffer is not from the previous packet Table 3 13 ReadBuffer8 Command...

Страница 30: ...nected to DIO10 and DIO11 DIO10 and DIO11 can be used as connection pins for an external 32 768 kHz crystal oscillator as RTC source DIO11 can also be used as input pin in case the 32 768 kHz signal i...

Страница 31: ...FU RFU 19 GNSSDone GNSS Scan finished 20 WifiDone Wi Fi Scan finished 21 LBD Low Battery Detection 22 CmdError Host command error 23 Error An error other than a command error occurred see GetErrors 24...

Страница 32: ...ToEnable assignment Table 4 3 SetDioIrqParams Command Byte 0 1 2 3 4 5 Data from Host 0x01 0x13 Irq1ToEnable 31 24 Irq1ToEnable 23 16 Irq1ToEnable 15 8 Irq1ToEnable 7 0 Data to Host Stat1 Stat2 IrqSta...

Страница 33: ...icates the RFSW DIO states when in standby mode RfSwRxCfg value tells the RFSW DIO states when in RX mode RfSwTxCfg value indicates the RFSW DIO states when in low power TX mode RfSwTxHPCfg value indi...

Страница 34: ...ered using the command GetTemp The Temperature value is a function of an internal reference voltage typ 1 35V and a typical temperature characteristic typ 1 7mV C and can be approximated using the fol...

Страница 35: ...the power regulation options for different modes and user settings 5 2 Over Current Protection An Over Current Protection OCP block is built in the LR1110 It prevents surge currents when the device is...

Страница 36: ...s reached for example at battery insertion The BRN triggers a device reset in case the battery voltage goes below the safe operation threshold of 1 7V typically The POR BRN detector has a 50 mV hyster...

Страница 37: ...ow Battery Detector TheLow Battery Detector LBD detects when the supply voltage VBAT drops below 1 88 V typ The LBD indication is given through an interrupt signal hence minimizing the host activity i...

Страница 38: ...en performing periodic or duty cycled operations Several commands make use of this 32 kHz RC oscillator RTC to generate time based events The 32 MHz RC oscillator is enabled for all SPI communication...

Страница 39: ...features in order to minimize the power consumption required to perform an outdoor geolocation 6 2 3 1 Description When a TCXO is used it should be connected to pin XTA through a 220 resistor and a10...

Страница 40: ...s not detected internally at the end the delay period the device internal firmware triggers a HF_XOSC_START_ERR error Delay set to 0 default value disables the TCXO mode The command will operate only...

Страница 41: ...he LR1110 frequency synthesizer allows a continuous operation in the 150 MHz 2700 MHz frequency range It is shared between the sub GHzradio the GNSS and theWi Fi scanning engines thereforenosimultaneo...

Страница 42: ...rns in Standby mode 0xFFFFFF sets the device in RX mode until the host sends a command to change the mode The device can receive several packets Each time a packet is received a packet done indication...

Страница 43: ...xRx Thecommand AutoTxRx automatically performs thetransition toRX modeafter apackettransmission or to TX modeafter a packet reception After the second mode the device goes back to Standby RC mode Dela...

Страница 44: ...ackMode defines in which mode the device goes after a packet transmission or a packet reception FallbackMode values 0x01 Standby RC mode default value 0x02 Standby Xosc mode 0x03 FS mode If a RxDutyCy...

Страница 45: ...s optional and will be set to mode 0 if not sent When this command is sent in Standby mode the context device configuration is saved and the device enters in a loop defined by the following steps and...

Страница 46: ...andby command to avoid race conditions in case the NSS falling edge was issued during the boot phase of the device If a RxDutyCycle is started AutoRxTx or SetRxTxFallback modes are not used StopTimeou...

Страница 47: ...SI dBm Rssi 2 7 2 9 GetStats The command GetStats returns the internal statistics of the received RF packets Table 7 8 GetRssiInst Command Byte 0 1 Data from Host 0x02 0x05 Data to Host Stat1 Stat2 Ta...

Страница 48: ...own or by the command ResetStats 7 2 10 ResetStats The command ResetStats resets the internal statistics of the received RF packets 7 2 11 GetRxBufferStatus The command GetRxBufferStatus returns the l...

Страница 49: ...mode allowing a 2 dB increased sensitivity at the expense of a 2 mA higher current consumption in RX mode RxBoosted Activates the Rx Boosted mode RxBoosted 0 RX Boosted mode deactivated RxBoosted 1 RX...

Страница 50: ...shall be configured with the command SetPaConfig which PA supply mode followed at last by the PA parameters output power ramp time using the command SetTxParams The suitable command order is the foll...

Страница 51: ...Modem Description 8 2 1 LoRa Modulation Principle The LoRa modem uses a proprietary spread spectrummodulation which permits an increase in link budget and increased immunity to in band interference co...

Страница 52: ...tive data rate thus reducing transmission time at the expense of reduced sensitivity Note There are regulatory constraints in most countries on the permissible occupied bandwidth therefore allowing us...

Страница 53: ...imum preamble length of 12 with SF5 and SF6 and of 8 for other SF Thereceiver undertakes apreambledetection process thatperiodically restarts For this reason thepreamblelength should be configured as...

Страница 54: ...for respective coding rates 4 5 4 6 4 7 or 4 8 The ceil function indicates that the portion of the equation in square brackets should be rounded up to the next integer value 8 2 3 Channel Activity De...

Страница 55: ...not compatible with the SF6 used in the SX127x family BWL defines the LoRa modulation bandwidth Table 8 4 SetModulationParam Command Byte 0 1 2 3 4 5 Data from Host 0x02 0x0F SF BWL CR LowDataRateOpti...

Страница 56: ...xplicit header default 0x01 implicit header PayloadLen defines the size of the payload in Bytes to transmit or the maximum size of the payload that the receiver can accept Table 8 7 Coding Rate CR Des...

Страница 57: ...rams defines the LoRa CAD parameters SymbolNum defines the number of symbols used for the CAD detection DetPeak and DetMin define the sensitivity of the LoRa modem when trying to correlate to actual L...

Страница 58: ...cNetwork 0x00 Private network default 0x01 Public network Table 8 12 CadExitMode Parameter Definition Value CadExitMode Operation 0x00 CAD_ONLY The chip performs the CAD operation in LoRa Once don and...

Страница 59: ...e The G FSK modem is able to perform transmission and reception of 2 FSK modulated packets over a range of data rates ranging from 0 6 kbps to 300 kbps Both the bit rate Bitrate and frequency deviatio...

Страница 60: ...the radio will be expecting to receive 32 bits of preamble before the following Syncword In this case if the 32 bits of preamble arenot detected the radio will either drop the reception in RxSingle mo...

Страница 61: ...they are added automatically in hardware The packet length is added automatically in the packet when the PacketType field is set to variable size in the command SetPacketParam Thenode or broadcast ad...

Страница 62: ...ed and configured by using the CrcType field in the command SetPacketParam This field allows the user to enable and select the length and configuration of the CRC The command SetGfskCrcParams allows c...

Страница 63: ...0 7 0x0B Gaussian BT 1 Table 8 19 Bandwidth Parameter BWF Description 0x1F RX_BW_4800 4 8 kHz DSB 0x17 RX_BW_5800 5 8 kHz DSB 0x0F RX_BW_7300 7 3 kHz DSB 0x1E RX_BW_9700 9 7 kHz DSB 0x16 RX_BW_11700 1...

Страница 64: ...certain number of preamble bits have been successfully detected by the radio SyncWordLen defines the length of the Syncword in bits The Syncword is directly programmed into the device through the com...

Страница 65: ...CrcParams Whitening allows to enable the whitening on the RF packet Table 8 22 AddrComp AddrComp Description 0x00 Address Filtering Disable 0x01 Address Filtering activated on Node address 0x02 Addres...

Страница 66: ...value InitValue initial value of the configured CRC polynomial Poly CRC polynomial Table 8 26 SetGfskSyncWord Command Byte 0 1 2 3 4 5 6 7 8 9 Data from Host 0x02 0x06 Syncword 63 56 Syncword 55 48 Sy...

Страница 67: ...AM data buffers which are accessible in all modes except sleep mode One buffer stores the received payloads data while the other is intended to contain the payload data to be transmitted The LR1110 au...

Страница 68: ...ting at a specific offset Table 8 30 GetRxBufferStatus Command Byte 0 1 Data from Host 0x02 0x03 Data to Host Stat1 Stat2 Table 8 31 GetRxBufferStatus Response Byte 0 1 2 Data from Host 0x00 0x00 0x00...

Страница 69: ...es in the radio TX buffer 8 7 RSSI Functionality The RSSI information of the LR1110 is available through different means either in the sub GHz chain or at the modem stage A summary of the different RS...

Страница 70: ...ator upon the detection of sync address RssiAvg Average RSSI value over the whole payload of the received packet determined in the G FSK demodulator LoRa RssiPkt Measurement of the mean energy at the...

Страница 71: ...ycle of either PA Select the size of the PA only applicable to the high power PA The SetTxParams command is used to Control the supply voltage of the PA VR_PA and output power Choose the ramp time at...

Страница 72: ...s that the maximum output power generated by the High Power PA will depend on the VBAT voltage The TX main supply can switched between the battery VBAT and the internal regulator VREG according to the...

Страница 73: ...al and are not a specification These figures only highlight the behavior of the PA over the various parameters and conditions Figure 9 3 Low Power PA VR_PA Voltage vs TxPower 9 1 2 High Power PA For m...

Страница 74: ...ls the size of the High Power PA and therefore has a direct impact on the High Power PA output power In order to reach 22dBm output power PaHPSel has to be set to 7 PaHPSel has no impact on the Low Po...

Страница 75: ...s required refer to Figure 9 4 Therefore given the 200 mV drop out of the PA regulator the 22 dBm output power can only be obtained from a 3 3 V to 3 7 V supply voltage range For 17dBm VR_PA around 2...

Страница 76: ...e setting increases the device current consumption At a given PaDutyCycle setting the current consumption is optimum for a supply voltage equal or greater to 3 3V therefore the plots for 3 3 V and 3 7...

Страница 77: ...LDO configuration Similarly to the DC DC configuration we can notice that at a given supply voltage a higher PaDutyCycle setting increases the device current consumption However the supply voltage has...

Страница 78: ...e supply voltage providing this latter is high enough to allow the generation of the VR_PA voltage required for the programmed power value TxPower For example For 3 3 V the current consumption is appr...

Страница 79: ...0 User Manual Rev 1 0 UM LR1110 W APP March 2020 79 of 130 Semtech www semtech com Figure 9 9 IDDTX vs TxPower High Power PA DC DC Configuration Figure 9 10 IDDTX vs TxPower High Power PA LDO Configur...

Страница 80: ...ork implementation proposed by Semtech is optimized for 22dBm and 15dBm for the higher ISM bands i e a 868 928 MHz operation 9 4 2 RF Switch Implementation The implementation examples hereafter show a...

Страница 81: ...stage Compared to the switched implementation the direct tie suffers a trade off between TX efficiency and RX sensitivity This is unavoidable because the transmitter and receiver require different opt...

Страница 82: ...s allowssetting theTx Power and the Ramp Time oftheselected PA SetPaConfig mustbesent prior to this command TxPower defines the output power in dBm in a range of 17 dBm 0xEF to 14 dBm 0x0E by step of...

Страница 83: ...ping time The Ramp Time can be set from 10 us to 3400 us according to the following table A value of Ramp Time value of 40 us allows the best trade off between a fast RF power establishment and the mi...

Страница 84: ...ssive Scanning Sequence Figure 10 1shows the sequence of a Wi Fi passive scanning on a Wi Fi channel Upon a WifiScan command the LR1110 opens a receivewindow PreambleSearch window onthe givenchannel u...

Страница 85: ...fiScan allows capturing the Wi Fi packets on the RFIO_HF pin Wi Fi Type defines the type of the 801 11 signal to be scanned 0x01 Wi Fi 802 11b type 0x02 Wi Fi 802 11g type 0x03 Wi Fi 802 11n type 0x04...

Страница 86: ...g the BUSY signal is set High indicating that LR1110 is not ready to accept a command from the host This can take a few hundreds of milliseconds depending on the Wi Fi passive scanning parameters BUSY...

Страница 87: ...cates the Wi Fi channels configured for the scan bits 4 7 MacValidation coded as indicated inTable 10 6 Wi Fi MacValidation Field MacValidation indicates if the MAC address belongs to a gateway to a p...

Страница 88: ...on 8 bits FrameCtrl 16 bit Frame control coded as indicated in Table 10 7 Wi Fi Frame Control Field Timestamp Indicates the number of microseconds the AP is active coded on 64 bits PhiOffset coded on...

Страница 89: ...4 21 7 22 16 QAM 1 2 28 9 23 16 QAM 3 4 43 3 Table 10 5 Wi Fi Channel ID Field Channel ID 1 2 3 4 5 6 7 8 9 10 11 12 13 14 Center Freq MHz 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467...

Страница 90: ...ubType Type Subtype Value SubType Type Subtype Value SubType 00 0000 Assoc req 01 0000 Reserved 10 0000 Data 0001 Assoc res 0001 Reserved 0001 Data CF ACK 0010 Reassoc req 0010 Reserved 0010 Data CF P...

Страница 91: ...results Index index of Wi Fi Passive Scanning results to read from 0 to 31 NbResults number of Wi Fi AP MAC Addresses to read from 1 to 32 Format Format of the Wi Fi Passive Scanning results to read 1...

Страница 92: ...fiResetCumulTimings Command 10 3 7 WifiReadCumulTimings WifiReadCumulTimings allows to read theWi Fi PassiveScanning cumulativetimings coded on 16Bytes coded as in Table 10 14 Wi Fi Cumulative Timings...

Страница 93: ...Semtech www semtech com Table 10 15 WifiReadCumulTimings Command Byte 0 1 Data from Host 0x03 0x08 Data to Host Stat1 Stat2 Table 10 16 WifiReadCumulTimings Response Byte 0 1 2 17 Data from Host 0x00...

Страница 94: ...erge from the fixed Almanac parameters which requires them to be updated This can be achieved by a back end component which estimates the quality of the almanac image on device and issues updates when...

Страница 95: ...ergy spent for the geolocation The assistance information is tailored to a LPWAN network limiting the data to be sent especially the downlink size and frequency It consists in the LR1110 approximate p...

Страница 96: ...ed bit 1 1 BeiDou selected Other values are RFU 11 3 2 GnssSetMode The command GnssSetMode allows configuring the GNSS for a single or dual scanning for the selected constellation GPS and or BeiDou Gn...

Страница 97: ...re returned Please note that calling this command resets the previous GNSS results if any 11 3 4 GnssAssisted The command GnssAssisted allows capturing the GNSS signals using assistance data current t...

Страница 98: ...cimal value 2048 180 For example for 6 966 longitude 6 966 2048 180 79 rounded 0x004F 11 4 GNSS Scanning Results Description GNSS scanning results are formatted in NAV messages of variable length depe...

Страница 99: ...nd unexpected 0x02 Command not implemented 0x03 Command parameters invalid 0x04 Message Sanity check error 0x05 Scanning failed 0x06 No time 0x07 No satellite detected 0x08 Almanac too old 0x09 Almana...

Страница 100: ...a from Host 0x04 0x0C Data to Host Stat1 Stat2 Table 11 7 GnssGetResultSize Response Byte 0 1 2 Data from Host 0x00 0x00 0x00 Data to Host Stat1 ResultSize 15 8 ResultSize 7 0 Table 11 8 GnssReadResul...

Страница 101: ...ieve the ID and the C N0 of the Satellites Vehicles detected during the last GNSS Scanning Table 11 10 GnssGetNbSvDetected Command Byte 0 1 Data from Host 0x04 0x17 Data to Host Stat1 Stat2 Table 11 1...

Страница 102: ...the user location and time and therefore allows to reduce the energy required for a GNSS scanning The Alamanac is used by the LR1110 in the GNSS assisted mode The LR1110 is pre programmed with the la...

Страница 103: ...umber of Bytes that can be send from the host MCU is 1020 Bytes Therefore the Almanac Full Update shall be handled in multiple SPI transactions For example the two following approaches are possible mi...

Страница 104: ...LR1110 User Manual Rev 1 0 UM LR1110 W APP March 2020 104 of 130 Semtech www semtech com The Almanac data can be retrieved for the DMC server for example via LPWAN...

Страница 105: ...ES ECB and AES CCM need to be implemented in software based on the AES 128 encryption algorithm Depending on the application a higher level of security may require the use of an external secure elemen...

Страница 106: ...GpKEKey4 11 GpKEKey5 Unicast 12 AppSKey CryptoAesEncrypt01 CryptoComputeAesCmac CryptoSetKey From Network Application 13 FNwkSIntKey 14 SNwkSIntKey 15 NwkSEncKey 16 RFU0 17 RFU1 Multicast 18 McAppSKe...

Страница 107: ...oSetKey The command CryptoSetKey sets a specific Key identified by KeyID into the Crypto Engine KeyID goes from 1 to 27 as defined in Table 12 1 Cryptographic Keys Usage and Derivation KeyID 0 is bloc...

Страница 108: ...ill do an ECB decryption AES encrypt on the Data and Header and then verify the MIC of the decrypted message The decrypted data is then provided back if the MIC verification is successful Table 12 4 C...

Страница 109: ...omputeAesCmac will compute the AES CMAC of the provided data using the specified Key and return the MIC KeyID specified Key ID as defined in Table 12 1 Cryptographic Keys Usage and Derivation Goes fro...

Страница 110: ...s of the CMAC KeyID specified Key ID as defined in Table 12 1 Cryptographic Keys Usage and Derivation Goes from 0 to 27 ExpectedMIC Provided MIC first 4 bytes of the CMAC Byte 0 1 2 3 4 5 N 3 Data fro...

Страница 111: ...te buffers CEStatus defined in section CEStatus on page 107 EncryptedData1 EncryptedData2 EncryptedDataN Encrypted data considered as Byte buffers 12 3 8 CryptoAesEncrypt The command CryptoAesEncrypt...

Страница 112: ...s defined in Table 12 1 Cryptographic Keys Usage and Derivation Goes from 0 to 27 Data1 Data2 DataN Provided data considered as Byte buffers CEStatus defined in section CEStatus on page 107 DecryptedD...

Страница 113: ...sh makes the Crypto Engine restore the data Keys and Parameters from flash memory into RAM CEStatus defined in section CEStatus on page 107 Table 12 20 CryptoStoreToFlash Command Byte 0 1 Data from Ho...

Страница 114: ...r Data CEStatus defined in section CEStatus on page 107 Table 12 24 CryptoSetParam Command Byte 0 1 2 3 4 5 6 Data from Host 0x05 0x0D ParamID 7 0 Data 31 24 Data 23 16 Data 15 8 Data 7 0 Data to Host...

Страница 115: ...oin_service All those unique identifiers are stored in the device persistent memory They are pre configured by Semtech to ease the LoRaWAN implementation and access to LoRa Cloud Join services but can...

Страница 116: ...is coded on 4Bytes in little endian Table 13 3 GetAppEUI Command Byte 0 1 Data from Host 0x01 0x25 Data to Host Stat1 Stat2 Table 13 4 GetAppEUI Response Byte 0 1 8 Datafrom Host 0x00 0x00 0x00 Data t...

Страница 117: ...be able to receive the incoming RF packets for any configuration frequency modulation parameters and to determine a PER Packet Error Rate indication of the receive quality All this can be done using t...

Страница 118: ...wer have to be called prior to this command 14 2 2 SetTxInfinitePreamble The command SetTxInfinitePreamble transmits an infinite preamble sequence This command immediately starts transmission of the i...

Страница 119: ...Mask32 0x010C Addr 31 0 Mask 31 0 Data 31 0 Read Modify Writes data at given register memory address Address must be 32 bit aligned Table 15 2 System Configuration Status Operations Command Opcode Par...

Страница 120: ...e GetVbat 0x0119 Gets VBAT voltage GetTemp 0x011A Gets temperature SetSleep 0x011B SleepConfig SleepTime 31 0 Set chip into SLEEP mode SetStandby 0x011C StdbyConfig 0 RC 1 XOSC Set chip into RC or XOS...

Страница 121: ...ode SetTx 0x020A Timeout 23 0 Set chip into TX mode SetRfFrequency 0x020B RfFreq 31 0 Set PLL frequency AutoTxRx 0x020C Delay 23 0 IntermediaryMode 7 0 Timeout2 23 0 Activate or deactivates the auto T...

Страница 122: ...e LoRa SetTxCw 0x0219 Set chip into TX mode with infinite carrier wave SetTxInfinitePreamble 0x021A Set chip into TX mode with infinite preamble LoRaSynchTimeout 0x021B NbSymbols Configures LoRa modem...

Страница 123: ...0300 WifiType ChanMask AcqMode NbMaxRes NbScanPerChan Timeout AbortOnTimeout Launches a Wi Fi passive scanning WifiGetNbResults 0x0305 Get the number of passive scanning results WifiReadResults 0x0306...

Страница 124: ...ing GnssSetAssistance Position 0x0410 Latitude Longitude Configures the approximate position for the GNSS Assisted mode GnssGetNbSvDetected 0x0417 Returns the number of SV detected during the last GNS...

Страница 125: ...6 Verify a computed CMAC Compare calculated MIC with expected MIC CryptoAesEncrypt01 0x0507 KeyID Data 1 256 Encrypt the data using the specified Key CryptoAesEncrypt 0x0508 KeyID Data 1 256 Encrypt t...

Страница 126: ...e details the versions of the User Manual document issued and the corresponding LR1110 versions supported Use Case and FW Major FW Minor as returned by the command GetVersion Table 16 1 Revision Histo...

Страница 127: ...e bit period product BW BandWidth BWF BandWidth of the G FSK modem BWL BandWidth of the LoRa Modem CAD Channel Activity Detection CPOL Clock Polarity CPHA Clock Phase CR Coding Rate CRC Cyclical Redun...

Страница 128: ...Long Range Communication the LoRa Mark is a registered trademark of the Semtech Corporation LSB Least Significant Bit MAC Wi Fi Media Access Control MISO Master Input Slave Output MPDU Wi Fi MAC Prot...

Страница 129: ...e Capacitance Oscillator RFO Radio Frequency Output RFU Reserved for Future Use RTC Real Time Clock SCK Serial Clock SF Spreading Factor SN Sequence Number SNR Signal to Noise Ratio SPI Serial Periphe...

Страница 130: ...SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE INCLUSION OF SEMTECH PRODUCTS IN SUCH APPLICATIONS IS UNDERSTOOD TO BE UNDERTAKEN SOLELY AT THE CUSTOMER S OWN RISK Should a customer purchase or use Semtech pr...

Отзывы: