<?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: UART Interrupt in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/UART-Interrupt/m-p/157784#M2480</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would use the Async UART bean of Processor Expert. I highly reccomend processor expert as you can develop things orders of magnitude faster than looking through the chips header files for various flags and masks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are "on recieved" interrupts that you can enable that will direct execution to these interrupt routines when a char is accepted in the RX buffer. Then all you have to do is check until some signal is sent by the PC that you can use as an end of transmission character, or wait until you receieve a set quantity of bytes, or just wait a set amount of time. Then send the data needed back to the PC. If you need a relatively simple protocol to help organize your data take a look at Modbus RTU. It's very easy to implement, and will save you time if you have to reorganize data/send more data in the future.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cory&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 23 Jun 2012 04:47:25 GMT</pubDate>
    <dc:creator>Schwac</dc:creator>
    <dc:date>2012-06-23T04:47:25Z</dc:date>
    <item>
      <title>UART Interrupt</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/UART-Interrupt/m-p/157781#M2477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, I have a MPC8360EA microcontroller board with CodeWarrior and I want to implement interrupt driven communication over UART. The board is supposed to do some work until a PC that it's connected to via UART says it wants some data, the board should then stop what it's doing immediately, send out the data to the PC, and then continue working where it left off. Anyone have a simple example how to do this with the functions already implemented by Freescale like InitializeIntDrivenUART, WriteUARTN and so on? Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2009 20:32:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/UART-Interrupt/m-p/157781#M2477</guid>
      <dc:creator>Jacke</dc:creator>
      <dc:date>2009-11-27T20:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: UART Interrupt</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/UART-Interrupt/m-p/157782#M2478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Anyone have any example on how to implement interrupt driven UART input at all?&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2009 17:28:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/UART-Interrupt/m-p/157782#M2478</guid>
      <dc:creator>Jacke</dc:creator>
      <dc:date>2009-11-30T17:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: UART Interrupt</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/UART-Interrupt/m-p/157783#M2479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why Freescale doesn't have an implementation of an interrupt driven UART?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jun 2012 02:49:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/UART-Interrupt/m-p/157783#M2479</guid>
      <dc:creator>admin</dc:creator>
      <dc:date>2012-06-23T02:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: UART Interrupt</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/UART-Interrupt/m-p/157784#M2480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would use the Async UART bean of Processor Expert. I highly reccomend processor expert as you can develop things orders of magnitude faster than looking through the chips header files for various flags and masks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are "on recieved" interrupts that you can enable that will direct execution to these interrupt routines when a char is accepted in the RX buffer. Then all you have to do is check until some signal is sent by the PC that you can use as an end of transmission character, or wait until you receieve a set quantity of bytes, or just wait a set amount of time. Then send the data needed back to the PC. If you need a relatively simple protocol to help organize your data take a look at Modbus RTU. It's very easy to implement, and will save you time if you have to reorganize data/send more data in the future.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cory&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jun 2012 04:47:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/UART-Interrupt/m-p/157784#M2480</guid>
      <dc:creator>Schwac</dc:creator>
      <dc:date>2012-06-23T04:47:25Z</dc:date>
    </item>
  </channel>
</rss>

