Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,17 @@ HT-RA62 module
SPI Bus: SPI0
GPIO Pins: CS=21, Reset=18, Busy=20, IRQ=16, use_dio3_tcxo=True, use_dio2_rf=True

RAK7391 + RAK13300 (SPI, WisBlock slot via GPIO expander)

Hardware: RAK7391 + RAK13300 (SX1262)
Platform: Raspberry Pi CM4/CM5 inside RAK7391
Frequency: 868MHz (EU) or 915MHz (US)
TX Power: Up to 22 dBm
SPI Bus: SPI0
SPI Devices: /dev/spidev0.0 (slot A), /dev/spidev0.1 (slot B)
GPIO Pins (slot A): CS=0, Reset=4, Busy=5, IRQ=6
GPIO Pins (slot B): CS=1, Reset=12, Busy=13, IRQ=14

...

## Screenshots
Expand Down
42 changes: 42 additions & 0 deletions radio-settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,48 @@
"preamble_length": 17,
"use_gpiod_backend": true,
"gpio_chip": 1
},
"rak13300-slot-A": {
"name": "Rak7391 + rak13300 LoRa Module, slot: A",
"bus_id": 0,
"cs_id": 0,
"cs_pin": -1,
"reset_pin": 4,
"busy_pin": 5,
"irq_pin": 6,
"txen_pin": -1,
"rxen_pin": -1,
"txled_pin": -1,
"rxled_pin": -1,
"tx_power": 22,
"preamble_length": 17,
"use_dio3_tcxo": true,
"dio3_tcxo_voltage": 1.8,
"use_dio2_rf": false,
"is_waveshare": false,
"use_gpiod_backend": true,
"gpio_chip": 2
},
"rak13300-slot-B": {
"name": "Rak7391 + rak13300 LoRa Module, slot: B",
"bus_id": 0,
"cs_id": 1,
"cs_pin": -1,
"reset_pin": 12,
"busy_pin": 13,
"irq_pin": 14,
"txen_pin": -1,
"rxen_pin": -1,
"txled_pin": -1,
"rxled_pin": -1,
"tx_power": 22,
"preamble_length": 17,
"use_dio3_tcxo": true,
"dio3_tcxo_voltage": 1.8,
"use_dio2_rf": false,
"is_waveshare": false,
"use_gpiod_backend": true,
"gpio_chip": 2
}
}
}
3 changes: 2 additions & 1 deletion repeater/web/api_endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,8 @@ def setup_wizard(self):
config_yaml['sx1262']['txled_pin'] = hw_config.get('txled_pin', -1)
if 'rxled_pin' in hw_config:
config_yaml['sx1262']['rxled_pin'] = hw_config.get('rxled_pin', -1)

if "en_pin" in hw_config:
config_yaml["sx1262"]["en_pin"] = hw_config.get("en_pin", -1)
# Hardware flags
if 'use_dio3_tcxo' in hw_config:
config_yaml['sx1262']['use_dio3_tcxo'] = hw_config.get('use_dio3_tcxo', False)
Expand Down