<?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 Re: [P2020] DUART and FIFO in P-Series</title>
    <link>https://community.nxp.com/t5/P-Series/P2020-DUART-and-FIFO/m-p/665266#M4022</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;So far we only have a test application which initializes DUART and try to send few caracters.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;When we are configuring FIFO mode, we reset the Transmitter FIFO with UFCR[TFR]. As fifo is empty, we are guessing that first time we write&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;in UTHR register we can write up to 16 bytes without doing any control at all on UDSR[TXRDY]. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;But It doesn't work well : When we try to print 16 characteres, some characteres are not present (the last has always been present).&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Of course we will add control later.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Jan 2017 09:45:12 GMT</pubDate>
    <dc:creator>clémentcgr</dc:creator>
    <dc:date>2017-01-09T09:45:12Z</dc:date>
    <item>
      <title>[P2020] DUART and FIFO</title>
      <link>https://community.nxp.com/t5/P-Series/P2020-DUART-and-FIFO/m-p/665264#M4020</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;&lt;/P&gt;&lt;P&gt;I'm currently using the P2020 and I have some problems about DUART and FIFO.&lt;/P&gt;&lt;P&gt;When I try to use the FIFO mode and I write few characters in DUART_UTHR0, I did not see all characters.&lt;BR /&gt;Why ? &lt;/P&gt;&lt;P&gt;How can I be sure that FIFO mode is correctly configured? (FIFO Control Registers are write-only registrer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: My code work well in step by step but not in real time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 10:11:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/P2020-DUART-and-FIFO/m-p/665264#M4020</guid>
      <dc:creator>clémentcgr</dc:creator>
      <dc:date>2017-01-06T10:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: [P2020] DUART and FIFO</title>
      <link>https://community.nxp.com/t5/P-Series/P2020-DUART-and-FIFO/m-p/665265#M4021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm quite sure, if the code works properly under debugger in "step by step" mode, but does not work in free run, than this is not a FIFO related problem. Please confirm that you are using UDSR[TXRDY] to monitor FIFO level when placing data to FIFO.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Alexander&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jan 2017 05:47:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/P2020-DUART-and-FIFO/m-p/665265#M4021</guid>
      <dc:creator>alexander_yakov</dc:creator>
      <dc:date>2017-01-07T05:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: [P2020] DUART and FIFO</title>
      <link>https://community.nxp.com/t5/P-Series/P2020-DUART-and-FIFO/m-p/665266#M4022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;So far we only have a test application which initializes DUART and try to send few caracters.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;When we are configuring FIFO mode, we reset the Transmitter FIFO with UFCR[TFR]. As fifo is empty, we are guessing that first time we write&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;in UTHR register we can write up to 16 bytes without doing any control at all on UDSR[TXRDY]. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;But It doesn't work well : When we try to print 16 characteres, some characteres are not present (the last has always been present).&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Of course we will add control later.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2017 09:45:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/P2020-DUART-and-FIFO/m-p/665266#M4022</guid>
      <dc:creator>clémentcgr</dc:creator>
      <dc:date>2017-01-09T09:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: [P2020] DUART and FIFO</title>
      <link>https://community.nxp.com/t5/P-Series/P2020-DUART-and-FIFO/m-p/665267#M4023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Look at attached file. It is simple DUART FIFO example for the MPC8548. Use similar code on your P2020 board.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Pavel Chubakov&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2017 10:52:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/P2020-DUART-and-FIFO/m-p/665267#M4023</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2017-01-09T10:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: [P2020] DUART and FIFO</title>
      <link>https://community.nxp.com/t5/P-Series/P2020-DUART-and-FIFO/m-p/665268#M4024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;But It doesn't work well : When we try to print 16 characteres, some characteres are not present (the last has always been present).&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Ok, so - how many characters you can print without corruption?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2017 12:42:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/P2020-DUART-and-FIFO/m-p/665268#M4024</guid>
      <dc:creator>alexander_yakov</dc:creator>
      <dc:date>2017-01-09T12:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: [P2020] DUART and FIFO</title>
      <link>https://community.nxp.com/t5/P-Series/P2020-DUART-and-FIFO/m-p/665269#M4025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In fact, in my code we set the FIFO register (UFCR) but after we set the UAFR register. But.. these two register are in the same address and we overwrite our FIFO configuration. So the FIFO was not enable...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;....my bad !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But Thanks for your example &lt;SPAN class=""&gt;&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="18118" data-username="Pavel" href="https://community.nxp.com/people/Pavel"&gt;Pavel Chubakov&lt;/A&gt; &lt;/SPAN&gt;!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2017 09:55:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/P2020-DUART-and-FIFO/m-p/665269#M4025</guid>
      <dc:creator>clémentcgr</dc:creator>
      <dc:date>2017-01-10T09:55:37Z</dc:date>
    </item>
  </channel>
</rss>

