mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-08 12:36:42 +00:00
.. | ||
readme.md | ||
rfswitch.h | ||
Schematic_Pro-Micro_Pinouts 2024-12-14.pdf | ||
variant.cpp | ||
variant.h |
Notes
General
The pinout is contained in the variant.h file, and a generic schematic is located in this directory. Note that RXEN is not required if the selected module already has internal RF switching, or if external RF switching logic is already applied.
LR1121 modules
The CDEbyte implementation of the LR1121 is contained in their E80 module. Naturally, CDEbyte have chosen to ignore the generic Semtech impelementation of the RF switching logic and have their own table, which is located at the bottom of the page here, and reproduced below for posterity:
DIO5/RFSW0 | DIO6/RFSW1 | RF status |
---|---|---|
0 | 0 | RX |
0 | 1 | TX (Sub-1GHz low power mode) |
1 | 0 | TX (Sub-1GHz high power mode) |
1 | 1 | TX(2.4GHz) |
If you want to use the Semtech default, the values are (taken from here):
.rfswitch = {
.enable = LR11XX_SYSTEM_RFSW0_HIGH | LR11XX_SYSTEM_RFSW1_HIGH | LR11XX_SYSTEM_RFSW2_HIGH,
.standby = 0,
.rx = LR11XX_SYSTEM_RFSW0_HIGH,
.tx = LR11XX_SYSTEM_RFSW0_HIGH | LR11XX_SYSTEM_RFSW1_HIGH,
.tx_hp = LR11XX_SYSTEM_RFSW1_HIGH,
.tx_hf = 0,
.gnss = LR11XX_SYSTEM_RFSW2_HIGH,
.wifi = 0,
},
DIO5/RFSW0 | DIO6/RFSW1 | RF status |
---|---|---|
1 | 0 | RX |
1 | 1 | TX (Sub-1GHz low power mode) |
0 | 1 | TX (Sub-1GHz high power mode) |
0 | 0 | TX(2.4GHz) |