Hi Dev team,
I am working with the Thingy91 and I have connected it to an external sensor through UART-1.
I am connecting another sensor through the same UART but with a different baud rate. In order to make them both running through the same UART, I need to be able to configure the baud rate at run time.
Could you let me know how this could be done ?
Right now, I have my config as : thingy91_nrf9160ns.overlay file.
&uart1 {
current-speed = <9600>;
status = "okay";
tx-pin = <13>;
rx-pin = <16>;
rts-pin = <14>;
//cts-pin = <05>;
};
The current baud rate is 9600 , but I would like it to switch between 9600 and 1200 at run time.
Regards,
Adeel.