<?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>On the fly configuration change</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6917/on-the-fly-configuration-change</link><description>Hi Team, 
 In my application UART is used.
I need to send parity bit based on particular responses that I need to send to the device
connected to UART. 
Can I change configuration of UART on-the-fly for this?
In datasheet it is mentioned that parity</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 14 May 2015 08:32:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6917/on-the-fly-configuration-change" /><item><title>RE: On the fly configuration change</title><link>https://devzone.nordicsemi.com/thread/24399?ContentTypeID=1</link><pubDate>Thu, 14 May 2015 08:32:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db2e0858-38b0-4cd1-a00a-714f0e33609c</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;If you are using app_uart library, then an interrupt will be generated with any error and in the interrupt handler, the error bit will be cleared automatically. You do not have to do anything for it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: On the fly configuration change</title><link>https://devzone.nordicsemi.com/thread/24398?ContentTypeID=1</link><pubDate>Thu, 14 May 2015 06:08:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84a07c73-7ed3-4820-a832-3bbd99c4c714</guid><dc:creator>Milan</dc:creator><description>&lt;p&gt;I am getting parity error as expected.
how to clear parity error bit.  I know by writing 1 it will get cleared but is there any API to do this!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: On the fly configuration change</title><link>https://devzone.nordicsemi.com/thread/24397?ContentTypeID=1</link><pubDate>Mon, 11 May 2015 06:45:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07a638e0-f7e8-482c-a567-af2760715c10</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Parity will be generated and checked only if the Parity is enabled. So parity error is not generated if it is not enabled.
What do you mean by 9th bit set? If no parity is used then the stop bit is 10th bit and it should be high else framing error will be generated and set in ERRORSRC register&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: On the fly configuration change</title><link>https://devzone.nordicsemi.com/thread/24396?ContentTypeID=1</link><pubDate>Mon, 11 May 2015 06:14:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39f43518-1254-43f4-b91d-15a793df8af7</guid><dc:creator>Milan</dc:creator><description>&lt;p&gt;Can you tell me in which case parity error will be generated?
If I configure No Parity option and data with 9th bit set is received, will it give parity error?
My device address comes with 9th bit set and normal data is received without 9th bit.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: On the fly configuration change</title><link>https://devzone.nordicsemi.com/thread/24395?ContentTypeID=1</link><pubDate>Thu, 07 May 2015 09:29:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e148c9c-ebd2-4803-bf5b-9b05fa4191ba</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;nRF51 chips only have even parity configuration. You can either disable it or enabled but you cannot change it to odd parity.&lt;/p&gt;
&lt;p&gt;I just tested it and you can just change the parity on the fly. At least my logic analyzer is happy with the change.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>