<?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>8-bit MicrocontrollersのトピックRe: SCI/UART Loopback problem with QE32</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/SCI-UART-Loopback-problem-with-QE32/m-p/201552#M16527</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think i solved it &lt;U&gt;for now&lt;/U&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Recomendations:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Pullups/Pulldowns are your friends (Even when the outputs are &lt;STRONG&gt;NOT&lt;/STRONG&gt; open drain kind)&lt;/P&gt;&lt;P&gt;2) Homemade PCB sucks to some degree, try to get OCD while working with them.&lt;/P&gt;&lt;P&gt;3) Flux can be a bitch after soldering, especially when pins are so close to each other.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This was more like a blog, I just hope it can be useful for someone.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jul 2009 12:21:51 GMT</pubDate>
    <dc:creator>Exelsus</dc:creator>
    <dc:date>2009-07-22T12:21:51Z</dc:date>
    <item>
      <title>SCI/UART Loopback problem with QE32</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/SCI-UART-Loopback-problem-with-QE32/m-p/201550#M16525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Friends,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wrote some SCI/UART interrupt driven routines to handle Tx and Rx of data and place them into circular buffers, the problem is that every character I send is received back. The LOOPS bit in the SCI1C1 register is not set, and there is no physical connection between the pins.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can see all this in debug time, the Rx buffer is getting filled inmediatly after the Tx sends any character, i think someway the Tx is raising the Rx interrupt flag.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll attach the source code in hope some of you can help me pointing me in the right direction, I have 2 days trying different things but nothing has worked yet, I don't know what to do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(I'm not currently using getQuery() as I've not managed to get the Tx working without have the loopbacks)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2009 03:49:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/SCI-UART-Loopback-problem-with-QE32/m-p/201550#M16525</guid>
      <dc:creator>Exelsus</dc:creator>
      <dc:date>2009-07-22T03:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: SCI/UART Loopback problem with QE32</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/SCI-UART-Loopback-problem-with-QE32/m-p/201551#M16526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Updates:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I implemented the same code into a QG8 (with a little translation of course) guess what, exact same problem...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now the question is: &lt;STRONG&gt;&lt;U&gt;What am I doing wrong?&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll attach the sources and whole project in the QG8 as it is only dedicated to that problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/files/community_files/8BITCOMM/14599_1_whole_project.zip" rel="nofollow" target="_self"&gt;Whole_Project.zip&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/files/community_files/8BITCOMM/14599_2_just_the_sources.zip" rel="nofollow" target="_self"&gt;Just_the_Sources.zip&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-10-27&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;11:42 AM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2009 04:59:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/SCI-UART-Loopback-problem-with-QE32/m-p/201551#M16526</guid>
      <dc:creator>Exelsus</dc:creator>
      <dc:date>2009-07-22T04:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: SCI/UART Loopback problem with QE32</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/SCI-UART-Loopback-problem-with-QE32/m-p/201552#M16527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think i solved it &lt;U&gt;for now&lt;/U&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Recomendations:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Pullups/Pulldowns are your friends (Even when the outputs are &lt;STRONG&gt;NOT&lt;/STRONG&gt; open drain kind)&lt;/P&gt;&lt;P&gt;2) Homemade PCB sucks to some degree, try to get OCD while working with them.&lt;/P&gt;&lt;P&gt;3) Flux can be a bitch after soldering, especially when pins are so close to each other.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This was more like a blog, I just hope it can be useful for someone.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2009 12:21:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/SCI-UART-Loopback-problem-with-QE32/m-p/201552#M16527</guid>
      <dc:creator>Exelsus</dc:creator>
      <dc:date>2009-07-22T12:21:51Z</dc:date>
    </item>
  </channel>
</rss>

