<?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>[nRF Connect SDK] Need UART implementation</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86345/nrf-connect-sdk-need-uart-implementation</link><description>Target nRF52832(nrf52dk_nrf52832) SDK NCS v1.9.1 Base source: C:\Users\user\ncs\v1.9.1\nrf\samples\bluetooth\peripheral_hids_keyboard 
 I want to add UART implementation. I review those samples and porting, but uart is not working. 
 C:\Users\user\ncs</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 30 Mar 2022 08:24:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86345/nrf-connect-sdk-need-uart-implementation" /><item><title>RE: [nRF Connect SDK] Need UART implementation</title><link>https://devzone.nordicsemi.com/thread/360685?ContentTypeID=1</link><pubDate>Wed, 30 Mar 2022 08:24:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:894cabe3-d18c-4802-be35-446b3828feb3</guid><dc:creator>Tim Hwang</dc:creator><description>&lt;p&gt;And I had to add &amp;quot;CONFIG_UART_ASYNC_API=y&amp;quot; to use async uart.&lt;/p&gt;
&lt;p&gt;It worked. Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF Connect SDK] Need UART implementation</title><link>https://devzone.nordicsemi.com/thread/360548?ContentTypeID=1</link><pubDate>Tue, 29 Mar 2022 12:51:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a644bae5-728b-4a46-8949-bdac5cfb930d</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The nRF52832 only has one UART. By default this is used for printing to console in&amp;nbsp;the Peripheral HIDS keyboard sample, so in order to use the UART for something else you must make sure to disable this. with&amp;nbsp;CONFIG_UART_CONSOLE=n.&lt;/p&gt;
&lt;p&gt;Both enabling hardware flow control and setting baudrate can be done with devicetree, using the properties hw-flow-control and current-speed. This can be done by creating an overlay file, such as&amp;nbsp;nrf52dk_nrf52832.overlay,&amp;nbsp;and add the properties to uart0:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;&amp;amp;uart0 {
	status = &amp;quot;okay&amp;quot;;
	current-speed = &amp;lt;921600&amp;gt;;
	hw-flow-control;
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>