<?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 Uart Stop bit access in K22F in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Uart-Stop-bit-access-in-K22F/m-p/967049#M55159</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I am using FRDM K22f baord for evaluation of K22 microcontroller series. I am trying to verify UART functionality using "lpuart_interrupt Example " driver example project but i am not able to configure the stop bit.&lt;/P&gt;&lt;P&gt;The stop bit declaration has been prevented with "FSL_FEATURE_UART_HAS_STOP_BIT_CONFIG_SUPPORT" macro.&lt;/P&gt;&lt;P&gt;I have tried enabling the macro through MCU setting in properties of project but still i am getting error while using stop bit varaiable in config structure of UART.&lt;/P&gt;&lt;P&gt;Please help in resolving the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and best regards,&lt;/P&gt;&lt;P&gt;Prasanna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Jun 2019 05:01:25 GMT</pubDate>
    <dc:creator>prasannanaik</dc:creator>
    <dc:date>2019-06-10T05:01:25Z</dc:date>
    <item>
      <title>Uart Stop bit access in K22F</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Uart-Stop-bit-access-in-K22F/m-p/967049#M55159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I am using FRDM K22f baord for evaluation of K22 microcontroller series. I am trying to verify UART functionality using "lpuart_interrupt Example " driver example project but i am not able to configure the stop bit.&lt;/P&gt;&lt;P&gt;The stop bit declaration has been prevented with "FSL_FEATURE_UART_HAS_STOP_BIT_CONFIG_SUPPORT" macro.&lt;/P&gt;&lt;P&gt;I have tried enabling the macro through MCU setting in properties of project but still i am getting error while using stop bit varaiable in config structure of UART.&lt;/P&gt;&lt;P&gt;Please help in resolving the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and best regards,&lt;/P&gt;&lt;P&gt;Prasanna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2019 05:01:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Uart-Stop-bit-access-in-K22F/m-p/967049#M55159</guid>
      <dc:creator>prasannanaik</dc:creator>
      <dc:date>2019-06-10T05:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Uart Stop bit access in K22F</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Uart-Stop-bit-access-in-K22F/m-p/967050#M55160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prasanna,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In K22 MCU &lt;STRONG&gt;LPUART&lt;/STRONG&gt; has programmable 1-bit or 2-bit stop bits. On the other hand &lt;STRONG&gt;UART&lt;/STRONG&gt; module doesn’t have this feature. That is why the &lt;STRONG&gt;FSL_FEATURE_UART_HAS_STOP_BIT_CONFIG_SUPPORT&lt;/STRONG&gt; macro is '&lt;STRONG&gt;0&lt;/STRONG&gt;' and &lt;STRONG&gt;FSL_FEATURE_LPUART_HAS_STOP_BIT_CONFIG_SUPPORT&lt;/STRONG&gt; is '&lt;STRONG&gt;1&lt;/STRONG&gt;'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, as you are using &lt;STRONG&gt;lpuart_interrupt&lt;/STRONG&gt; example you don’t need to change the corresponding macro. In &lt;STRONG&gt;LPUART_GetDefaultConfig()&lt;/STRONG&gt; function stop bit is configure to &lt;STRONG&gt;kLPUART_OneStopBit&lt;/STRONG&gt;, please take a look to the snippet below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_11.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/85926i8AF16B34B09F1138/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_11.png" alt="pastedImage_11.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Felipe&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>Tue, 11 Jun 2019 17:34:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Uart-Stop-bit-access-in-K22F/m-p/967050#M55160</guid>
      <dc:creator>FelipeGarcia</dc:creator>
      <dc:date>2019-06-11T17:34:15Z</dc:date>
    </item>
  </channel>
</rss>

