<?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>How to set none parity 1 stop bit to Odd parity 2 stop bit Using uart?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91380/how-to-set-none-parity-1-stop-bit-to-odd-parity-2-stop-bit-using-uart</link><description>Hi, I use nRF52840, with SDK 15.3.0 
 Using UART communication, I should change data type like None parity, 1 stop bit is default setting. 
 I use nrfx_uart. 
 So How can I use Odd parity bit or Even parity bit. 
 And How to use 2 stop bits? 
 There is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 23 Feb 2024 09:46:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91380/how-to-set-none-parity-1-stop-bit-to-odd-parity-2-stop-bit-using-uart" /><item><title>RE: How to set none parity 1 stop bit to Odd parity 2 stop bit Using uart?</title><link>https://devzone.nordicsemi.com/thread/470409?ContentTypeID=1</link><pubDate>Fri, 23 Feb 2024 09:46:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eac2c930-6db0-42e6-9016-00d2e852343f</guid><dc:creator>Mikeyd0407</dc:creator><description>&lt;p&gt;Can the parity bit be manually controlled? (I want to have ODD parity on my UART, but I don&amp;#39;t think the hardware natively supports this), so Can I set it manually?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to set none parity 1 stop bit to Odd parity 2 stop bit Using uart?</title><link>https://devzone.nordicsemi.com/thread/384006?ContentTypeID=1</link><pubDate>Tue, 30 Aug 2022 23:56:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9b5f377-088f-436f-88a3-26c5599decd6</guid><dc:creator>William_dev</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I appreciate the way let me know.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;William&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to set none parity 1 stop bit to Odd parity 2 stop bit Using uart?</title><link>https://devzone.nordicsemi.com/thread/383667?ContentTypeID=1</link><pubDate>Mon, 29 Aug 2022 11:58:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:192c13bd-f553-46b1-ae32-394a6dc95687</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The driver does not expose the stop bit configuration (this was introduced in nRFx v.2.x.x used by the nRF connect SDK). To work around this limitation you can change the stop bit configuration &amp;quot;manually&amp;quot; by writing directly to the UART CONFIG register:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;    //Change stop bit configuration after initializing the nrfx UART driver 
    NRF_UART0-&amp;gt;CONFIG |= (UART_CONFIG_STOP_Two &amp;lt;&amp;lt; UART_CONFIG_STOP_Pos);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>