要求接收机收到前导码后在开始跳接收机的频率
4.1.1.8. Frequency Hopping with LoRa
®
Frequency hopping spread spectrum (FHSS) is typically employed when the duration of a single packet could exceed regulatory requirements relating to the maximum permissible channel dwell time. This is most notably the case in US operation where the 902 to 928 MHz ISM band which makes provision for frequency hopping operation. To ease the implementation of FHSS systems the frequency hopping mode of the LoRa®
modem can be enabled by setting
FreqHoppingPeriod
to a non-zero value in register
RegHopPeriod
.
Principle of Operation
The principle behind the FHSS scheme is that a portion of each LoRa
®
packet is transmitted on each hopping channel from a look up table of frequencies managed by the host microcontroller. After a predetermined hopping period the transmitter and receiver change to the next channel in a predefined list of hopping frequencies to continue transmission and reception of the next portion of the packet. The time which the transmission will dwell in any given channel is determined by
FreqHoppingPeriod
which is an integer multiple of symbol periods:
![](https://img-blog.csdnimg.cn/2f5401bea01c4cd79d7d9d0dbd6d1d11.png?x-oss-process=image/watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA5pS75Z-O54uu5LmL6Lev5Lq655Sy,size_9,color_FFFFFF,t_70,g_se,x_16)
The frequency hopping transmission and reception process starts at channel 0. The preamble and header are transmitted first on channel 0. At the beginning of each transmission the channel counter FhssPresentChannel
(located in the register
RegHopChannel
) is incremented and the interrupt signal
FhssChangeChannel
is generated. The new frequency must then
be programmed within the hopping period to ensure it is taken into account for the next hop, the interrupt
ChangeChannelFhss
is then to be cleared by writing a logical ‘1’.
FHSS Reception always starts on channel 0. The receiver waits for a valid preamble detection before starting the frequency hopping process as described above.
Note that in the eventuality of header CRC corruption, the receiver will automatically request channel 0 and recommence the valid preamble detection process.
Timing of Channel Updates
The interrupt requesting the channel change,
FhssChangeChannel,
is generated upon transition to the new frequency. The frequency hopping process is illustrated in the diagram below: