firmware/variants/diy/nrf52_promicro_diy_tcxo/readme.md
2025-02-03 19:25:20 +08:00

1.9 KiB
Raw Blame History

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