Configuring the baud rate of the project on the STM32WL package slave

Hi comunity , I’m programming the STM32WLE5CCU6 chip of the RAK3172 using the STM32WL package. When I open the AT slave project, the default baud rate is 9600. After following all the necessary steps, I can run the .bin file on the RAK module and it works. However, when I try to change the baud rate to 115200 in stm32cubeIde, the setting isn’t saved and sending commands stops working; I never get an OK response. I tried creating the project from scratch, but it still fails. Could someone please help me? I would greatly appreciate it.

Welcome to RAK forum Adrian07 ,

We cannot help you on the example codes from STmicroelectronics. There could be some other changes on the registers needed to enable higher baudrate. Or maybe change on clock settings. I have no idea to be honest.

However, please ensure that you perform flash erase before uploading. And if you think there can be some hardware issue and you want to verify, you can always upload our default FW and test. Just for sanity check on the hardware aspect of the module.