How to set UART Baudrate ?

I'm referring to the sample code : ncs \ v1.9.1 \ nrf \ samples \ bluetooth \ peripheral_uart

I'm not happy at all with the samples, the documentation is quite poor in many ways and the online help not much better

The sample itself is working and I was able to find out (using a scope) that it is using UART settings 115200-8n1 - would you mind to explain me why a UART sample does not contain a single line of comment telling me what the communication settings are ?

Now, I need to switch to 57600-8n1 ... I have no clue how to do this, there is nothing in the sample code, neither in the online help, nor anything available in the Kconfig.

And browsing through devzone, it seems I'm not the only one with this issue.

Can you please tell me how to change the baudrate ?

thanks, Matthias

Related