Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

Baud Rate change within program

Hi Nordic,

1.I am running  (C:\ncs\v2.1.0-rc2\zephyr\samples\drivers\uart\echo_bot) but i need to change baud rate within program

2. I Can Change my baud rate using overlay file

3. But I dont want overlay file i need to make changes within program

Parents Reply
  • Hi Jorgen,

    1. I tried the code after print_uart statement

    2. I didnt got anny errors thats fine

    3. But my ulitimate goal is i need to print the statement in 19200 baud rate 

    4. When i use your code and changed baud rate from 1000000 to 19200 its wont work 

    5. i think my problem you understood and i checked in build/zephyr/zephyr.dts file its showing 115200 baud rate 

Children
Related