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

UARTE Baud to non-standard value in Zephyr

To setup the UARTE for use in Zephyr I've configured a nrf52840dk_nrf52840.overlay as Zephyr documentation suggests:

&uart1 {
  compatible = "nordic,nrf-uarte";
  current-speed = <1000000>;
  status = "okay";
  tx-pin = <14>;
  rx-pin = <16>;
};

All of the standard baud rates work fine in the 'current-speed' field, but all other values fail if they are not defined in:
serial/uart_nrfx_uarte.c
What is the proper (Zephyr) way to manually set the baud to other values?
Parents Reply Children
No Data
Related