<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to change parity at runtime in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-change-parity-at-runtime/m-p/909004#M53299</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using CodeWarrior 10.5, Kinetis MK12DX and Processor Expert.&amp;nbsp; For AsynchroSerial component, is there a way to change the parity, width and stop bits at runtime?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Jun 2019 21:35:15 GMT</pubDate>
    <dc:creator>steve_erickson</dc:creator>
    <dc:date>2019-06-11T21:35:15Z</dc:date>
    <item>
      <title>How to change parity at runtime</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-change-parity-at-runtime/m-p/909004#M53299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using CodeWarrior 10.5, Kinetis MK12DX and Processor Expert.&amp;nbsp; For AsynchroSerial component, is there a way to change the parity, width and stop bits at runtime?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2019 21:35:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-change-parity-at-runtime/m-p/909004#M53299</guid>
      <dc:creator>steve_erickson</dc:creator>
      <dc:date>2019-06-11T21:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to change parity at runtime</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-change-parity-at-runtime/m-p/909005#M53300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="342842" data-username="steve.erickson@asidatamyte.com" href="https://community.nxp.com/people/steve.erickson@asidatamyte.com"&gt;Steve Erickson&lt;/A&gt; o,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; In my own opinion, you can modify the register directly, don't need to use the API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Please note, if you want to enable the parity, then you need to modify data bit to 9bits to keep the data still be 8 data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Just&lt;/P&gt;&lt;P&gt;1. UARTx_C1[M]=1 Use—start + 9 data bits (MSB/LSB first as determined by MSBF) + stop.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 9 data bits is 8 bit data+1 bit parity.&lt;/P&gt;&lt;P&gt;&amp;nbsp;2. UARTx_C1[PE] =1 Parity Enable&lt;/P&gt;&lt;P&gt;&amp;nbsp;3. UARTx_C1[PT] =0 even parity, 1 odd parity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/85939i0FB4397432E41D84/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Wish it helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2019 02:57:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-change-parity-at-runtime/m-p/909005#M53300</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2019-06-12T02:57:20Z</dc:date>
    </item>
  </channel>
</rss>

