<?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: How to disable Rx / Tx Interrupts on 52259 UARTs? in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/How-to-disable-Rx-Tx-Interrupts-on-52259-UARTs/m-p/195784#M8662</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ask in the MQX forums for questions on that OS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The answer from this (hardware) forum would be "write to the UART register", but that could break the OS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 08 Jan 2012 13:24:57 GMT</pubDate>
    <dc:creator>TomE</dc:creator>
    <dc:date>2012-01-08T13:24:57Z</dc:date>
    <item>
      <title>How to disable Rx / Tx Interrupts on 52259 UARTs?</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/How-to-disable-Rx-Tx-Interrupts-on-52259-UARTs/m-p/195783#M8661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was wondering if MQX supplies any method of disabling/enabling Rx and Tx interrupts on any of its UARTS?&amp;nbsp; Or do I have to write my own enable and disable routines to access the UART register directly (UIMR)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have a circuit that transmits out UART1 to a number of devices that hang off that port (only addressing one device at a time).&amp;nbsp; We expect a response back from the device being addressed.&amp;nbsp; The physical Tx and Rx wires that go from UART1 to the devices loop back into UART2.&amp;nbsp; If a wire breaks between devices, we can detect that and begin to transmit out UART1 to the devices before the wire break.&amp;nbsp; Then we can transmit out UART2 to the devices after the break.&amp;nbsp; This ensures we don't lose communication to all devices after the wire break.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is that we cannot allow the transmitting to go out both UARTS at the same time because they are both connected to the same devices.&amp;nbsp; So we must put UART2 in "receive" mode (with other hardware circuits - thus preventing it from transmitting).&amp;nbsp; But then if we transmit out UART1, we end up receiving that transmission in UART2, which we want to AVOID.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The simplest way to avoid receiving this data echo is turn OFF the RX Interrupt for UART2 when transmitting out UART1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any simple way to do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bryan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jan 2012 00:26:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/How-to-disable-Rx-Tx-Interrupts-on-52259-UARTs/m-p/195783#M8661</guid>
      <dc:creator>ZaphyB</dc:creator>
      <dc:date>2012-01-07T00:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable Rx / Tx Interrupts on 52259 UARTs?</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/How-to-disable-Rx-Tx-Interrupts-on-52259-UARTs/m-p/195784#M8662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ask in the MQX forums for questions on that OS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The answer from this (hardware) forum would be "write to the UART register", but that could break the OS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Jan 2012 13:24:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/How-to-disable-Rx-Tx-Interrupts-on-52259-UARTs/m-p/195784#M8662</guid>
      <dc:creator>TomE</dc:creator>
      <dc:date>2012-01-08T13:24:57Z</dc:date>
    </item>
  </channel>
</rss>

