<?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 i.mx28 AUART problem in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-mx28-AUART-problem/m-p/384400#M55672</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to improve auart real time &lt;SPAN style="color: #333333; font-family: arial; font-size: 14px;"&gt;capability&lt;/SPAN&gt;,but I found some problem:&lt;/P&gt;&lt;P&gt;1. FIFO length is fixed,can't be changed,and in DMA mode,it must be opened&lt;/P&gt;&lt;P&gt;2. It can't generate an interrupt when auart rx pin receives one byte data&lt;/P&gt;&lt;P&gt;3. Because AUART DMA timeout function needed at least 1 bit time delay,I added a signal pin to trig driver to read rx buffer.When the AUART received data,then signal pin trigged interrupt,then the program entered the interrupt service.In ISR,I forced to stop DMA and copy DMA data to buffer,then I read receive FIFO.However,I can't get the right FIFO status from the AUART status register.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MCU send data to i.mx28 AUART and trig i.mx28 pinctrl interrupt--&amp;gt;In ISR,memcpy(buffer,DMA Buffer,DMA received length)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need help,thanks!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 04 Jan 2015 02:05:46 GMT</pubDate>
    <dc:creator>ctspotgreen</dc:creator>
    <dc:date>2015-01-04T02:05:46Z</dc:date>
    <item>
      <title>i.mx28 AUART problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx28-AUART-problem/m-p/384400#M55672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to improve auart real time &lt;SPAN style="color: #333333; font-family: arial; font-size: 14px;"&gt;capability&lt;/SPAN&gt;,but I found some problem:&lt;/P&gt;&lt;P&gt;1. FIFO length is fixed,can't be changed,and in DMA mode,it must be opened&lt;/P&gt;&lt;P&gt;2. It can't generate an interrupt when auart rx pin receives one byte data&lt;/P&gt;&lt;P&gt;3. Because AUART DMA timeout function needed at least 1 bit time delay,I added a signal pin to trig driver to read rx buffer.When the AUART received data,then signal pin trigged interrupt,then the program entered the interrupt service.In ISR,I forced to stop DMA and copy DMA data to buffer,then I read receive FIFO.However,I can't get the right FIFO status from the AUART status register.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MCU send data to i.mx28 AUART and trig i.mx28 pinctrl interrupt--&amp;gt;In ISR,memcpy(buffer,DMA Buffer,DMA received length)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need help,thanks!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Jan 2015 02:05:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx28-AUART-problem/m-p/384400#M55672</guid>
      <dc:creator>ctspotgreen</dc:creator>
      <dc:date>2015-01-04T02:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx28 AUART problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx28-AUART-problem/m-p/384401#M55673</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;I have delved into this and it seems that the UART status like RXCOUNT field is updated only at the DMA RX interrupt or RX timeout interrupt. &lt;/P&gt;&lt;P&gt;You could wait until the timeout or maybe use the DEBUG registers of the DMA (DEBUG1&amp;nbsp; and DEBUG2). ("transfer in progress" state vs "transfer done" state in DEBUG1 register or number of bytes remaining for transfer in DEBUG2 register)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alejandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 20:26:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx28-AUART-problem/m-p/384401#M55673</guid>
      <dc:creator>alejandrolozan1</dc:creator>
      <dc:date>2015-01-12T20:26:19Z</dc:date>
    </item>
  </channel>
</rss>

