2022-01-30 07:20 AM
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.
2022-04-05 07:10 AM
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