<?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: MCF5282 Uart interrupts in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5282-Uart-interrupts/m-p/131845#M1023</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi TTA,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know the answer to your problem.&amp;nbsp; But I am curious how you read all the bytes from the RxB buffer.&amp;nbsp; I am trying to transfer 40 bytes from labview to MCF52259, but I already have overrun error.&amp;nbsp; Actually, I already have OE at 8 bytes.&amp;nbsp; In the future, I need to pass hundreds even thousand of bytes.&amp;nbsp; Could you show me how you manage to capture all your bytes?&amp;nbsp; I am attaching my ISR as to how I am doing it now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your input.&lt;/P&gt;&lt;P&gt;FWFan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/files/community_files/CFCOMM/msg7574_main.c" rel="nofollow" target="_self"&gt;main.c&lt;/A&gt;&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by t.dowe on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-09-04&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;12:12 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 29 Aug 2009 01:05:44 GMT</pubDate>
    <dc:creator>FWFan</dc:creator>
    <dc:date>2009-08-29T01:05:44Z</dc:date>
    <item>
      <title>MCF5282 Uart interrupts</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5282-Uart-interrupts/m-p/131843#M1021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;we are using the MCF5282 on a custom designed board. We are using UART0 in interrupt driven mode. We face a problem where after some time of operation, no interrupts are generated for data in the receive buffer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are checking for the error status bits, and reinitializing in case of an error, but we find that the UART times out quite often, and has Overrun Errors / Stops generating interrupts as well..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone faced this issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, There was a statement about the Eval board for the MCF5282 from Freescale , the M5282EVB. Something about UART0 being disabled after some time ( something like a power save mode.. ) Can anyone throw some light on this ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;TTA&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2006 22:42:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5282-Uart-interrupts/m-p/131843#M1021</guid>
      <dc:creator>TTA</dc:creator>
      <dc:date>2006-09-29T22:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: MCF5282 Uart interrupts</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5282-Uart-interrupts/m-p/131844#M1022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;An update on this:&lt;BR /&gt;&lt;BR /&gt;When usign the UART, i find that the OE/PE/FE/RB error conditions can occur. I have handled this in the ISR, by clearing the error bits using the UCRn[MISC] , RESET_ERROR_STATUS.&lt;BR /&gt;&lt;BR /&gt;For OE, we read and discard 3 bytes from the Rx buffer ,and reset the Error bit.&lt;BR /&gt;The interrupt is set to trigger on RxRDY ( not FIFOFULL ) .&lt;BR /&gt;The ISR flow :&lt;BR /&gt;&lt;BR /&gt;ISR()&lt;BR /&gt;{&lt;BR /&gt;&lt;BR /&gt;..Mask Interrupt&lt;BR /&gt;&lt;BR /&gt;if ( RxRDY )&lt;BR /&gt;{&lt;BR /&gt;While RxRDY&lt;BR /&gt;{&lt;BR /&gt;Read all chars from RxB&lt;BR /&gt;Check for Overrun errors&lt;BR /&gt;Reset Error Bit&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Check for delta break ( This is not an interrupt source )&lt;BR /&gt;Check for OE/PE/FB/RB&lt;BR /&gt;Clear errors&lt;BR /&gt;}&lt;BR /&gt;else&lt;BR /&gt;{&lt;BR /&gt;&lt;BR /&gt;Tx all chars in buffer&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;..unmask Int&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I find that after an OE / a DB error occurs, interrupts are no longer generated, even though the Int is unmasked ( I read the value from INTC0 ) and UISR reads 0x02 / 0x06. However, the ISR is not triggered when date is read...&lt;BR /&gt;&lt;BR /&gt;Any inputs on this matter are welcome..&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Mar 2007 01:20:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5282-Uart-interrupts/m-p/131844#M1022</guid>
      <dc:creator>TTA</dc:creator>
      <dc:date>2007-03-24T01:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: MCF5282 Uart interrupts</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5282-Uart-interrupts/m-p/131845#M1023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi TTA,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know the answer to your problem.&amp;nbsp; But I am curious how you read all the bytes from the RxB buffer.&amp;nbsp; I am trying to transfer 40 bytes from labview to MCF52259, but I already have overrun error.&amp;nbsp; Actually, I already have OE at 8 bytes.&amp;nbsp; In the future, I need to pass hundreds even thousand of bytes.&amp;nbsp; Could you show me how you manage to capture all your bytes?&amp;nbsp; I am attaching my ISR as to how I am doing it now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your input.&lt;/P&gt;&lt;P&gt;FWFan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/files/community_files/CFCOMM/msg7574_main.c" rel="nofollow" target="_self"&gt;main.c&lt;/A&gt;&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by t.dowe on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-09-04&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;12:12 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Aug 2009 01:05:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5282-Uart-interrupts/m-p/131845#M1023</guid>
      <dc:creator>FWFan</dc:creator>
      <dc:date>2009-08-29T01:05:44Z</dc:date>
    </item>
  </channel>
</rss>

