I am using the WM1302-SPI-AS923, but LBT (Listen Before Talk) is not working.
The software I am using is lora_pkt_fwd, included in the following repository:
https://github.com/Lora-net/sx1302_hal
tag: v2.1.0
Since there was no configuration file for SPI, I created one based on the USB version. The modifications are as follows:
pc$ cd sx1302_hal/packet_forwarder
pc$ diff -uN global_conf.json.sx1250.AS923.USB global_conf.json.sx1250.AS923
--- global_conf.json.sx1250.AS923.USB 2026-06-17 11:24:26.770416638 +0900
+++ global_conf.json.sx1250.AS923 2026-07-16 09:54:46.823214266 +0900
@@ -1,7 +1,7 @@
{
"SX130x_conf": {
- "com_type": "USB",
- "com_path": "/dev/ttyACM0",
+ "com_type": "SPI",
+ "com_path": "/dev/spidev1.0",
"lorawan_public": true,
"clksrc": 0,
"antenna_gain": 0, /* antenna gain, in dBi */
@@ -11,6 +11,7 @@
"mode": "all_sf" /* high_capacity or all_sf */
},
"sx1261_conf": {
+ "spi_path": "/dev/spidev1.1",
"rssi_offset": 0, /* dB */
"spectral_scan": {
"enable": false,
Since spectral_scan is working correctly, I assume that the SPI communication with the SX126x is functioning properly.
Additionally, when I set enable for “lbt” to false, I confirmed that it works perfectly as a LoRa Gateway. However, when I set it to true, the gateway can receive data transmitted by end devices, but it fails to transmit data back to the server.
The radio environment is good, as there are no other devices nearby utilizing the 920MHz band.
The logs from lora_pkt_fwd are as follows:
is_lbt_channel:72: LBT: select channel 7 (freq:923200000 Hz, bw:0x04)
SX1261: spectral scan aborted
sx1261_set_rx_params:464: SX1261: RX params set to 923200000 Hz (bw:0x04)
sx1261_lbt_start:514: SX1261: LBT started: scan time = 5000us, threshold = -80dBm
INFO: selecting TX Gain LUT index 5
INFO: Applying IQ offset (i:0, q:0)
Setting LoRa syncword 0x34
Disable Fine Sync
Low datarate optimization DISABLED
INFO: tx_start_delay=46901 (48000, radio_bw_delay=19, filter_delay=1016, modem_delay=64)
Start Tx: Freq:923200000 SF10 size:17 preamb:8
--> programming trig delay at 19161286 (613161131)
ERROR: lgw_lbt_tx_status: TIMEOUT on TX start, not started
ERROR: lgw_send: Failed to get LBT TX status, TX aborted
SX1261: LBT stopped
WARNING: [jit] lgw_send failed on rf_chain 0
INFO: [down] PULL_ACK received in 1 ms
Any advice or insights on how to resolve this issue would be greatly appreciated. Thank you.