Skip to main content
Associate II
December 14, 2023
Solved

How to enable a port in the SubG_Phy Ping Pong example code of STM32WL55 without any errors ?

  • December 14, 2023
  • 1 reply
  • 3668 views
 Though, I was able to run the point-to-point communication using the SubG_Phy ping-pong example using the STM32CubeIDE programmer with the STM32WL55JC1 board. 
Subha_shree_bask_1-1702571822485.png

However, if I just enable a GPIO port (making any minor changes in the configuration) to the same SubG_Phy ping pong example, the whole code is regenerated to include the configuration changes to the code and it produces a lot of errors stating that "User to provide its board definitions". Only by just enabling a single GPIO port \ I am getting these many errors. 

Subha_shree_bask_2-1702571847913.pngSubha_shree_bask_3-1702571863996.png

 

I tried many debugging tips like resetting, deleting the debug folder before running the program, restarting the whole project and IDE like for other projects, and replacing the radio. c and radio_driver.c files in the Middleware folder (as the errors were from these files) with the original radio.c and radio_driver.c files (before the changes). I tried my best to remove the errors and to run the program again, as the end goal is to successfully transmit sensor data with the LoRa communication protocol.  Can anyone suggest me a solution to debug this error?

 
This topic has been closed for replies.
Best answer by STTwo-32

Hello @Subha_shree_bask 

I've tried to reproduce the issue, but everything works perfectly on my side. I suggest you use the last version of CubeMX to generate the example and CubeIDE . Also, you have to use the last version of the STM32CubeWL. 

Best Regards.

STTwo-32

1 reply

STTwo-32
STTwo-32Best answer
ST Technical Moderator
December 18, 2023

Hello @Subha_shree_bask 

I've tried to reproduce the issue, but everything works perfectly on my side. I suggest you use the last version of CubeMX to generate the example and CubeIDE . Also, you have to use the last version of the STM32CubeWL. 

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.
Associate II
December 25, 2023

Hi,

   Thank you for the reply I am using only the STM32CubeIDE software (As the configuration can also be done through this IDE) and using the "STM32 Project from existing CubeIDE configuration file(.ioc)" option to run the example program. It runs fine but on making some changes to the configuration lot of errors are produced. Also installing the STM32CubeMX and STM32WL software is necessary to successfully run the program?