Skip to main content
SSaya.1
Associate III
September 10, 2021
Solved

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

  • September 10, 2021
  • 3 replies
  • 2042 views

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 

This topic has been closed for replies.
Best answer by Sara BEN HADJ YAHYA

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.

3 replies

Sara BEN HADJ YAHYA
ST Technical Moderator
October 26, 2021

Hello @SSaya.1​ ,

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

Best regards,

Sara

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
SSaya.1
SSaya.1Author
Associate III
October 27, 2021

stm32cubeide 1.7.0

Sara BEN HADJ YAHYA
ST Technical Moderator
October 27, 2021

Hi,

Could you please share with us your .ioc file?

Thanks in advance,

Sara.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
SSaya.1
SSaya.1Author
Associate III
October 27, 2021

this one is from cubewl example

Sara BEN HADJ YAHYA
ST Technical Moderator
October 28, 2021

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.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.