meg068
(Greg)
February 14, 2026, 12:29pm
1
Hi,
We try to port our software also on the RAK3172. Our software use RadioLib (RadioLib: RadioLib Documentation ).
I have some problem configuring the RAK3172.
About the rfswitch_table , I set it like this :
static const uint32_t rfswitch_pins[] = {PB8, PC13, RADIOLIB_NC, RADIOLIB_NC, RADIOLIB_NC};|
static const Module::RfSwitchMode_t rfswitch_table[] = {
{STM32WLx::MODE_IDLE, {LOW, LOW}},*
{STM32WLx::MODE_RX, {HIGH, LOW}},*
{STM32WLx::MODE_TX_HP, {LOW, HIGH}},*
END_OF_MODE_TABLE,*
};|
Is it correct ?
About the radio.setTCXO( );
How can it be configured ? I notice that there is 3 different configurations (without TCXO, +/- 2.5ppm and +/-0.5ppm ). Is there a specific setting for each ?
Many thanks for your help
Greg
carlrowan
(Carl Rowan)
February 16, 2026, 4:49am
2
Hi @meg068 ,
Settings of RF switch is correct. Also the usage of PB8 and PC13 is fine.
For TCXO variants, the pin is PB0 and we set the voltage to 3.0v.
1 Like
meg068
(Greg)
February 16, 2026, 11:21am
3
Hi,
Many thanks for your answer.
As I understand, I can set radio.setTCXO( 3.0 ); ?
But I do not understand how to set the PB0 according to the variants… ??
Thank you for your help.
carlrowan
(Carl Rowan)
February 16, 2026, 4:50pm
4
You can ignore the TCXO variants since the difference they have is the ppm rating. The voltage and IO used is the same.
system
(system)
Closed
February 26, 2026, 4:50pm
5
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.