cancel
Showing results for 
Search instead for 
Did you mean: 

How to activate the RF SW CTRL pins in SUBGHZ_PHY application?

SSaya.1
Associate II

Hello, Selecting the NUCLEO WL55JC2 board, then initialized with the peripherals.

Enabled both SUBGHZ and SUBGHZ_PHY mode.

(in older SUBGHZ_Phy_PingPong stm32cubewl software there was predefined RF SW CTRL pins and other board resources)0693W00000DmmLAQAZ.jpg0693W00000DmmYnQAJ.jpgHow can i define RF SW CTRL in SUBGHZ_PHY Platform settings in new template without depending on SUBGHZ_Phy_PingPong ioc template file?

0693W00000DmmVZQAZ.jpg0693W00000DmmZ2QAJ.jpg 

1 ACCEPTED SOLUTION

Accepted Solutions
Sara BEN HADJ YAHYA
ST Employee

Hi @SSaya.1​ ,

The RF switch settings and control are provided by the BSP driver, Unfortunately code generated by STM32CubeMX does not support BSP. For this matter you have to add the BSP driver files yourself.

You can find more details and how to do so in the AN5406 sections 4 and 5.

If you have further question, please do not hesitate to contact me.

Sara.

View solution in original post

6 REPLIES 6
Sara BEN HADJ YAHYA
ST Employee

Hello @SSaya.1​ ,

Could you please specify the STM32CubeMX version that you are using.

Best regards,

Sara

stm32cubeide 1.7.0

Sara BEN HADJ YAHYA
ST Employee

Hi,

Could you please share with us your .ioc file?

Thanks in advance,

Sara.

this one is from cubewl example

this one from new template

Sara BEN HADJ YAHYA
ST Employee

Hi @SSaya.1​ ,

The RF switch settings and control are provided by the BSP driver, Unfortunately code generated by STM32CubeMX does not support BSP. For this matter you have to add the BSP driver files yourself.

You can find more details and how to do so in the AN5406 sections 4 and 5.

If you have further question, please do not hesitate to contact me.

Sara.