cancel
Showing results for 
Search instead for 
Did you mean: 

I've an issue with Nucleo-WL55: I uploaded a base example from CUBE WL called PingPong and the boards can transmit and receive quite well (RSSI about -40 dBm within my house) but is I try to do the same with other example I hardly get any signal. why?

Luca Mainini
Associate II

I took an example code from the CubeWL packet, specifically PingPong, and it works fine out of the box.

After than I starded to work on the code to adapt it to my need. Specifically I opened CubeMX and added the I2C periferal. After the code generator finished I noted that the folder arrangement was changed and that I had to redo the coding done before. In this process also code from the example was lost and I had to fix that too.

At this point I was able to upload the code to the boards but they showed bad signal transmission.

I can't figure out what difference is causing the different performance results, the lora parameters a re basically identical.

1 REPLY 1
Louis AUDOLY
ST Employee

Hello,

Thank you for your interest

Your issue is strange.

Could you try to do the same process you have done with the new software version (STM32Cube_FW_WL_V1.2.0) to verify if you encounter the same issue.

Concerning CubeMX, if you don't want to loose your code when you generate code, you have to place your code between the "user sections" :

/* USER CODE BEGIN EV */

/* USER CODE END EV */

Like that your code will be replace at the same place in the generated code.

Hope it helps

Regards