This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Change UART baud rate NRF5340 w/ NRFConnect SDK

Hello,

I am wondering where to change the baud rate for the UART in the NRFConnect SDK using zephyr. I am working with the peripheral_uart example.

Thanks,

RJ

Parents Reply
  • Simon I changed the baud rate in the overlay file. However, it is still outputting a baud rate off 115.2k instead of a baud rate of 9600. See logic analyzer data and overlay file below. 

    /* SPDX-License-Identifier: Apache-2.0 */
    
    &uart1 {
    	compatible = "nordic,nrf-uarte";
            current-speed = <9600>; //<115200>;
    	status = "okay";
    	tx-pin = <33>;
    	rx-pin = <32>;
    };

Children
Related