<?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 RS485 using UART module on MCF52259 family in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/RS485-using-UART-module-on-MCF52259-family/m-p/210961#M10253</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I am trying to implement an RS485 interface between several 9S08s and an MCF52258 as bus master. The Processor Expert Asynchro Serial bean worked great on the 9S08s. But I am running into trouble on the coldfire part because I don't see anyway to trigger an interrupt when the transmission is complete, at whichpoint I need to switch the RS485 transceiver back to Rx mode as quickly as possible. Maybe the chip designer's intention was for us to use the RTS signal, however this would require me modifying my PCB and adding an inverter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone really liked their implementation of the TX/\RX\ RS485 transceiver signal using the Coldfire UART module?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Aug 2009 07:16:53 GMT</pubDate>
    <dc:creator>rsk2</dc:creator>
    <dc:date>2009-08-27T07:16:53Z</dc:date>
    <item>
      <title>RS485 using UART module on MCF52259 family</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/RS485-using-UART-module-on-MCF52259-family/m-p/210961#M10253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I am trying to implement an RS485 interface between several 9S08s and an MCF52258 as bus master. The Processor Expert Asynchro Serial bean worked great on the 9S08s. But I am running into trouble on the coldfire part because I don't see anyway to trigger an interrupt when the transmission is complete, at whichpoint I need to switch the RS485 transceiver back to Rx mode as quickly as possible. Maybe the chip designer's intention was for us to use the RTS signal, however this would require me modifying my PCB and adding an inverter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone really liked their implementation of the TX/\RX\ RS485 transceiver signal using the Coldfire UART module?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2009 07:16:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/RS485-using-UART-module-on-MCF52259-family/m-p/210961#M10253</guid>
      <dc:creator>rsk2</dc:creator>
      <dc:date>2009-08-27T07:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: RS485 using UART module on MCF52259 family</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/RS485-using-UART-module-on-MCF52259-family/m-p/210962#M10254</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 believe that you can use the TXEMP interrupt to generate an interrupt (see USRn) at the end of the last stop bit sent.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the uTasker MODBUS module for the M522XX with RS485 support this was however not used (see &lt;A href="http://www.utasker.com/docs/MODBUS/uTasker_MODBUS.PDF" rel="nofollow" target="_self"&gt;http://www.utasker.com/docs/MODBUS/uTasker_MODBUS.PDF&lt;/A&gt; appendix B and chapter 11) . Instead the normal character interrupt was used and a timer started to timeout when the RTS line should be changed, allowing for extra control of the timing to, say, several bits times after the last stop bit.&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;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.uTasker.com" rel="nofollow" target="_self"&gt;www.uTasker.com&lt;/A&gt;&lt;BR /&gt;- OS, TCP/IP stack, USB, device drivers and simulator for M521X, M521XX, M5221X, M5222X, M5223X, M5225X. One package does them all - "&lt;EM&gt;Embedding it better...&lt;/EM&gt;"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2009 17:55:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/RS485-using-UART-module-on-MCF52259-family/m-p/210962#M10254</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2009-08-27T17:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: RS485 using UART module on MCF52259 family</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/RS485-using-UART-module-on-MCF52259-family/m-p/210963#M10255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I would love to set an interrupt on TXEMP but I do not see how to do this. I think you can only set an interrupt on TXRDY. Perhaps I will have to implement a timer, but I hope not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;BR /&gt;Randy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2009 03:11:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/RS485-using-UART-module-on-MCF52259-family/m-p/210963#M10255</guid>
      <dc:creator>rsk2</dc:creator>
      <dc:date>2009-08-28T03:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: RS485 using UART module on MCF52259 family</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/RS485-using-UART-module-on-MCF52259-family/m-p/210964#M10256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Randy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, I just checked and it does look to be only a status bit (no interrupt capability, unfortunately). Perhaps this is why we used a timer(?).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could poll the status after serving the final TXRDY interrupt in a message, but I think that the timer is most practical. In our MODBUS module a DMA timer is allocated to each MODBUS serial port and used for inter-character space measuremenst and the RTS control since the two functions are never overlapping.&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;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2009 03:55:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/RS485-using-UART-module-on-MCF52259-family/m-p/210964#M10256</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2009-08-28T03:55:10Z</dc:date>
    </item>
  </channel>
</rss>

