cancel
Showing results for 
Search instead for 
Did you mean: 

STM32wle5 RF switch

vdemcak
Associate

Hello, I just started working on my first project utilising the STM32 family of processors - STM32wle5 to be exact, but I've ran into some issues. While setting up LORAWAN middleware in CubeMX v. 6.5.0, I've found no options related to RF switches. For the hardware, I just have a single GPIO Output line that is either HIGH or LOW signalising RX/TX and for the RF switch i have this IC. Does this have to be configured outside of CubeMX or is there somewhere a hidden option?

1 ACCEPTED SOLUTION

Accepted Solutions
Louis AUDOLY
ST Employee

Hello @Viktor Dem�?ák​ ,

You won't find any configuration to an RF switch, CubeMX allows you to enable features present on the board or relative to the chip so you have to configure it by yourself in the "user code" section to keep your config when you will re-generate the soft.

Hope it helps

Regards

View solution in original post

3 REPLIES 3
Louis AUDOLY
ST Employee

Hello @Viktor Dem�?ák​ ,

You won't find any configuration to an RF switch, CubeMX allows you to enable features present on the board or relative to the chip so you have to configure it by yourself in the "user code" section to keep your config when you will re-generate the soft.

Hope it helps

Regards

vdemcak
Associate

Hello, thank you for the answer!

Do you also have an idea how this could be implemented e.g. where the user code should be inserted?

Also, I've noticed that there are multiple options in the "Application Tab" > "Application" field, what are the differences and which one should I use? The only difference I've noticed is that selecting "End Node Skeleton" adds some options into the "Platform Settings" tab.

Louis AUDOLY
ST Employee

Hello,

Under the application tab, you have 3 skeletons that will initialize the base for different projects.

You have the AT_Slave and the End_Node skeleton which will initialize a project similar to the projects of the same name but you you not have the same utilities included.

For example the trace, the radio config or the debug will not be present.

For the user defined skeleton, it will only gives you the basis of an application.

I suggest you to start with the LoRaWAN_End_Node example you can find in the STM32Cube_FW_WL_V1.2.0 and to add your config in the gpio.c file for example.

Regards