2025-06-12 12:32 PM
Hello
I have a MB1779 B-WL5M-SUBG1 board that I am trying to adapt some LoRa example code from the Nucleo-WL55JC. I see the LoRa front ends are different and the device tree needs to be modified to work, however the PC5 and PC3 pins are not defined on the data sheet with a reference to the GPIO pin that should be used to communicate with the module. It seems the data sheet reveals Pin 27 as the switch between high and low power.
My question is:
To communicate with the module as on the Nucleo-WL55JC, what would the device tree need to refer to for RX/TX?
This is a new process for me, any help is greatly appreciated.
Thank you
Other relevant posts:
https://community.st.com/t5/stm32-mcus-wireless/b-wl5m-subg1-rf-switch/td-p/737015
2025-07-02 9:16 AM
Hello @angelrod and welcome to the ST Community.
The Switch between TX_LP, TX_HP, RX and OFF for the RF Switch is done throw the function:
HAL_RADIO_SetSwitchConfig(HAL_RADIO_SwitchConfig_TypeDef Config) (available on the stm32wlxx_hal.c). the difference between the Module and the nucleo is that the module has the RF Switch control pins mapped internally.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.