<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>NRF5340 - Reprogram UART baudrate at runtime</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73637/nrf5340---reprogram-uart-baudrate-at-runtime</link><description>Hello, I&amp;#39;m in Zephyr OS build v2.3.0 and NCS v1.3.0. I need to reprogram UART0 baudrate at run time to 38400. After having obtained the uart node 
 uart = device_get_binding(&amp;quot;UART_0&amp;quot;); 
 what the APIs to change the baudrate ? The following one doesn&amp;#39;t</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 08 Apr 2021 06:59:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73637/nrf5340---reprogram-uart-baudrate-at-runtime" /><item><title>RE: NRF5340 - Reprogram UART baudrate at runtime</title><link>https://devzone.nordicsemi.com/thread/303637?ContentTypeID=1</link><pubDate>Thu, 08 Apr 2021 06:59:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2452d93c-a5a0-4d62-a254-446327fc286e</guid><dc:creator>Gabriele</dc:creator><description>&lt;p&gt;Thank you J&amp;oslash;rgen,&lt;br /&gt;it works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 - Reprogram UART baudrate at runtime</title><link>https://devzone.nordicsemi.com/thread/303541?ContentTypeID=1</link><pubDate>Wed, 07 Apr 2021 13:25:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d03be62f-0f58-448f-b56f-7dd7e70fd314</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The nRF UART(E) drivers in Zephyr &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v2.4.99-ncs1/drivers/serial/uart_nrfx_uarte.c#L1361-L1391"&gt;does not implement this API&lt;/a&gt;. You will have to call &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.5.0/zephyr/reference/peripherals/uart.html?highlight=uart_driver_api#c.uart_configure"&gt;uart_configure&lt;/a&gt;&lt;span&gt;() to change the baudrate.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Jørgen&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>