From c8c9a555ff65426629f49208a9ed1be17931501c Mon Sep 17 00:00:00 2001 From: Rastislav Vysoky Date: Sun, 26 Apr 2026 15:10:50 +0200 Subject: [PATCH 1/2] added support for rak6421 with rak13300x radios --- README.md | 20 +++++++++++++++----- radio-settings.json | 46 +++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 59 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index fc174cd..a3c2852 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ Frequency Labs meshadv GPIO Pins: CS=21, Reset=18, Busy=20, IRQ=16, TXEN=13, RXEN=12, use_dio3_tcxo=True HT-RA62 module - + Hardware: Heltec HT-RA62 LoRa module Platform: Raspberry Pi (or compatible single-board computer) Frequency: 868MHz (EU) or 915MHz (US) @@ -92,7 +92,7 @@ HT-RA62 module SPI Bus: SPI0 GPIO Pins: CS=21, Reset=18, Busy=20, IRQ=16, use_dio3_tcxo=True, use_dio2_rf=True -Zindello Industries UltraPeater +Zindello Industries UltraPeater Hardware: EBYTE E22/P 1W Module Platform: Luckfox Pico Ultra/W (NOT A PI DEVICE) @@ -113,6 +113,16 @@ Waveshare LoRaWAN/GNSS HAT (SPI Version Only) GPIO Pins: CS=21, Reset=18, Busy=20, IRQ=16 Note: Only the SPI version is supported. The UART version will not work. +RAK Wireless RAK6421 with RAK1330x + + Hardware: RAK1330x LoRa module + Platform: Raspberry Pi (or compatible single-board computer) + Frequency: 868MHz (EU) or 915MHz (US) + TX Power: 22dBm on RAK13300, 30dBm on RAK13302 + SPI Bus: SPI0 + GPIO Pins(IO Slot 1): Reset=16, Busy=24, IRQ=22, use_dio3_tcxo=True, use_dio2_rf=True + GPIO Pins(IO Slot 2): Reset=24, Busy=19, IRQ=18, use_dio3_tcxo=True, use_dio2_rf=True + ... ## Screenshots @@ -131,7 +141,7 @@ Before You Begin Make sure SPI is switched on using raspi-config: -```bash +```bash sudo raspi-config ``` @@ -145,12 +155,12 @@ sudo reboot ``` After reboot, you can confirm SPI is active: -```bash +```bash ls /dev/spi* ``` You should see something like: -```bash +```bash /dev/spidev0.0 /dev/spidev0.1 ``` diff --git a/radio-settings.json b/radio-settings.json index e3f74ad..9b0ae50 100644 --- a/radio-settings.json +++ b/radio-settings.json @@ -206,7 +206,7 @@ "preamble_length": 17, "is_waveshare": false }, - "ultrapeater-e22": { + "ultrapeater-e22": { "name": "Zindello Industries UltraPeater E22", "bus_id": 0, "cs_id": 0, @@ -225,7 +225,7 @@ "use_gpiod_backend": true, "gpio_chip": 1 }, - "ultrapeater-e22p": { + "ultrapeater-e22p": { "name": "Zindello Industries UltraPeater E22P", "bus_id": 0, "cs_id": 0, @@ -244,6 +244,48 @@ "preamble_length": 17, "use_gpiod_backend": true, "gpio_chip": 1 + }, + "rak6421-13300x-slot1": { + "name": "Rak Wireless RAK6421 with RAK1330x on IO Slot 1", + "bus_id": 0, + "cs_id": 0, + "cs_pin": -1, + "reset_pin": 16, + "busy_pin": 24, + "irq_pin": 22, + "txen_pin": -1, + "rxen_pin": -1, + "en_pins": [12, 13], + "txled_pin": -1, + "rxled_pin": -1, + "tx_power": 22, + "use_dio2_rf": true, + "use_dio3_tcxo": true, + "dio3_tcxo_voltage": 1.8, + "preamble_length": 17, + "use_gpiod_backend": true, + "gpio_chip": 1 + }, + "rak6421-13300x-slot2": { + "name": "Rak Wireless RAK6421 with RAK1330x on IO Slot 2", + "bus_id": 0, + "cs_id": 1, + "cs_pin": -1, + "reset_pin": 24, + "busy_pin": 19, + "irq_pin": 18, + "txen_pin": -1, + "rxen_pin": -1, + "en_pins": [26, 23], + "txled_pin": -1, + "rxled_pin": -1, + "tx_power": 22, + "use_dio2_rf": true, + "use_dio3_tcxo": true, + "dio3_tcxo_voltage": 1.8, + "preamble_length": 17, + "use_gpiod_backend": true, + "gpio_chip": 1 } } } From 2ba16cd1203712203232d6e5b12f29a5423f00a7 Mon Sep 17 00:00:00 2001 From: Lloyd Date: Sun, 26 Apr 2026 15:35:31 +0100 Subject: [PATCH 2/2] Revert "rak6421 + rak13300x support" --- README.md | 20 +++++--------------- radio-settings.json | 46 ++------------------------------------------- 2 files changed, 7 insertions(+), 59 deletions(-) diff --git a/README.md b/README.md index a3c2852..fc174cd 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ Frequency Labs meshadv GPIO Pins: CS=21, Reset=18, Busy=20, IRQ=16, TXEN=13, RXEN=12, use_dio3_tcxo=True HT-RA62 module - + Hardware: Heltec HT-RA62 LoRa module Platform: Raspberry Pi (or compatible single-board computer) Frequency: 868MHz (EU) or 915MHz (US) @@ -92,7 +92,7 @@ HT-RA62 module SPI Bus: SPI0 GPIO Pins: CS=21, Reset=18, Busy=20, IRQ=16, use_dio3_tcxo=True, use_dio2_rf=True -Zindello Industries UltraPeater +Zindello Industries UltraPeater Hardware: EBYTE E22/P 1W Module Platform: Luckfox Pico Ultra/W (NOT A PI DEVICE) @@ -113,16 +113,6 @@ Waveshare LoRaWAN/GNSS HAT (SPI Version Only) GPIO Pins: CS=21, Reset=18, Busy=20, IRQ=16 Note: Only the SPI version is supported. The UART version will not work. -RAK Wireless RAK6421 with RAK1330x - - Hardware: RAK1330x LoRa module - Platform: Raspberry Pi (or compatible single-board computer) - Frequency: 868MHz (EU) or 915MHz (US) - TX Power: 22dBm on RAK13300, 30dBm on RAK13302 - SPI Bus: SPI0 - GPIO Pins(IO Slot 1): Reset=16, Busy=24, IRQ=22, use_dio3_tcxo=True, use_dio2_rf=True - GPIO Pins(IO Slot 2): Reset=24, Busy=19, IRQ=18, use_dio3_tcxo=True, use_dio2_rf=True - ... ## Screenshots @@ -141,7 +131,7 @@ Before You Begin Make sure SPI is switched on using raspi-config: -```bash +```bash sudo raspi-config ``` @@ -155,12 +145,12 @@ sudo reboot ``` After reboot, you can confirm SPI is active: -```bash +```bash ls /dev/spi* ``` You should see something like: -```bash +```bash /dev/spidev0.0 /dev/spidev0.1 ``` diff --git a/radio-settings.json b/radio-settings.json index 9b0ae50..e3f74ad 100644 --- a/radio-settings.json +++ b/radio-settings.json @@ -206,7 +206,7 @@ "preamble_length": 17, "is_waveshare": false }, - "ultrapeater-e22": { + "ultrapeater-e22": { "name": "Zindello Industries UltraPeater E22", "bus_id": 0, "cs_id": 0, @@ -225,7 +225,7 @@ "use_gpiod_backend": true, "gpio_chip": 1 }, - "ultrapeater-e22p": { + "ultrapeater-e22p": { "name": "Zindello Industries UltraPeater E22P", "bus_id": 0, "cs_id": 0, @@ -244,48 +244,6 @@ "preamble_length": 17, "use_gpiod_backend": true, "gpio_chip": 1 - }, - "rak6421-13300x-slot1": { - "name": "Rak Wireless RAK6421 with RAK1330x on IO Slot 1", - "bus_id": 0, - "cs_id": 0, - "cs_pin": -1, - "reset_pin": 16, - "busy_pin": 24, - "irq_pin": 22, - "txen_pin": -1, - "rxen_pin": -1, - "en_pins": [12, 13], - "txled_pin": -1, - "rxled_pin": -1, - "tx_power": 22, - "use_dio2_rf": true, - "use_dio3_tcxo": true, - "dio3_tcxo_voltage": 1.8, - "preamble_length": 17, - "use_gpiod_backend": true, - "gpio_chip": 1 - }, - "rak6421-13300x-slot2": { - "name": "Rak Wireless RAK6421 with RAK1330x on IO Slot 2", - "bus_id": 0, - "cs_id": 1, - "cs_pin": -1, - "reset_pin": 24, - "busy_pin": 19, - "irq_pin": 18, - "txen_pin": -1, - "rxen_pin": -1, - "en_pins": [26, 23], - "txled_pin": -1, - "rxled_pin": -1, - "tx_power": 22, - "use_dio2_rf": true, - "use_dio3_tcxo": true, - "dio3_tcxo_voltage": 1.8, - "preamble_length": 17, - "use_gpiod_backend": true, - "gpio_chip": 1 } } }