firmware/variants/diy/nrf52_promicro_diy_tcxo
2025-02-03 19:25:20 +08:00
..
readme.md add readme and update rfswitch 2025-02-03 19:25:20 +08:00
rfswitch.h add readme and update rfswitch 2025-02-03 19:25:20 +08:00
Schematic_Pro-Micro_Pinouts 2024-12-14.pdf Added support for the LR1121 radio to the NRF52 Pro-Micro (#5515) 2024-12-17 10:25:37 -06:00
variant.cpp
variant.h fix: TCXO_OPTIONAL featuring SenseCAP Indicator (V1/V2) (#5948) 2025-01-27 14:00:12 -06:00

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 TX2.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 TX2.4GHz