Loading...
Searching...
No Matches
sx1280_constants.h File Reference

Internal addresses, registers and constants. More...

Detailed Description

Internal addresses, registers and constants.

Author
Aymeric Brochier aymer.nosp@m.ic.b.nosp@m.rochi.nosp@m.er@u.nosp@m.niv-g.nosp@m.reno.nosp@m.ble-a.nosp@m.lpes.nosp@m..fr

Definition in file sx1280_constants.h.

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

#define SX1280_RX_SINGLE_MODE   0x0000
 SX1280 Single RX mode.
 
#define SX1280_RX_CONTINUOUS_MODE   0xFFFF
 SX1280 Continuous RX mode.
 
#define SX1280_WAKEUP_TIME_MS   2
 SX1280 wakeup time in ms.
 
#define SX1280_RESET_MS   1
 SX1280 reset time in ms hold NRST pin low for 1ms, nothing is specified in the datasheet, 1ms worked fine.
 

Macro Definition Documentation

◆ SX1280_RESET_MS

#define SX1280_RESET_MS   1

SX1280 reset time in ms hold NRST pin low for 1ms, nothing is specified in the datasheet, 1ms worked fine.

Definition at line 68 of file sx1280_constants.h.

◆ SX1280_RX_CONTINUOUS_MODE

#define SX1280_RX_CONTINUOUS_MODE   0xFFFF

SX1280 Continuous RX mode.

Note
This addresses a known issue detailed in section 16.1 of the datasheet, see SX1280_RX_SINGLE_MODE for more details.

sx1280_set_rx require this constant to be in continuous mode

Definition at line 54 of file sx1280_constants.h.

◆ SX1280_RX_SINGLE_MODE

#define SX1280_RX_SINGLE_MODE   0x0000

SX1280 Single RX mode.

sx1280_set_rx constant to be in single mode

There is a known issue about this in some circonstances described in section 16.1 of the datasheet: https://manualzz.com/doc/55353537/semtech-sx1280-2.4-ghz-transceiver-datasheet

When subjected to a high co-channel traffic conditions (for example in BLE mode when the SX1280 receives more than 220 packets per second) and only when configured in continuous receiver The SX1280 busy line will remain high and the radio unresponsive.

If the radio may be subject to high levels of BLE traffic, to allow the radio to remain in operation RX single mode must be used

Definition at line 43 of file sx1280_constants.h.

◆ SX1280_WAKEUP_TIME_MS

#define SX1280_WAKEUP_TIME_MS   2

SX1280 wakeup time in ms.

Note
From the datasheet wakeup time is usually 1200us but rounded up to 2 to only use the ZTIMER_MSEC

Definition at line 61 of file sx1280_constants.h.