<?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>ColdFire/68K Microcontrollers and ProcessorsのトピックRe: PORT UA[0:1] not working as expected</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/PORT-UA-0-1-not-working-as-expected/m-p/180134#M7310</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems the use of the RTC crystal on that MCU has some non-obvious implications.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you seen this: &lt;A href="http://www.utasker.com/forum/index.php?topic=301.0" rel="nofollow" target="_blank"&gt;http://www.utasker.com/forum/index.php?topic=301.0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark seems to imply that MCF_CLOCK_RTCCR might essentially override the PUAPAR.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do you have that set?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 May 2009 23:04:32 GMT</pubDate>
    <dc:creator>RichTestardi</dc:creator>
    <dc:date>2009-05-11T23:04:32Z</dc:date>
    <item>
      <title>PORT UA[0:1] not working as expected</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/PORT-UA-0-1-not-working-as-expected/m-p/180131#M7307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Surely i´m missing something, but when trying to use UA port as digital inputs on the MCF52211CAF80 the two lower [1:0] bits (pins 8 and 7) only read 1´s (the PUAPAR and DDRUA are supposely correct). These port I/O´s appear to weak pull-down, while [3:2] are pulled-up (?!). Any suggestion?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2009 11:56:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/PORT-UA-0-1-not-working-as-expected/m-p/180131#M7307</guid>
      <dc:creator>nedilson</dc:creator>
      <dc:date>2009-05-11T11:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: PORT UA[0:1] not working as expected</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/PORT-UA-0-1-not-working-as-expected/m-p/180132#M7308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you're running under&amp;nbsp;the debugger, can you verify the state of the DDRUA and PUAPAR registers using View -&amp;gt; Registers, and using the symbolic register dump, like in the attached picture?&amp;nbsp; Yours should be 0x00 and 0x00.&amp;nbsp; To use the symbolic register dump, the Target Processor must be set to 52211 under&amp;nbsp;Project Settings -&amp;gt; Debugger -&amp;gt; CF Debugger Settings.&amp;nbsp; I assume you are reading your digital inputs from the SETUA register (not the PORTUA register).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-- Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2009 12:15:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/PORT-UA-0-1-not-working-as-expected/m-p/180132#M7308</guid>
      <dc:creator>RichTestardi</dc:creator>
      <dc:date>2009-05-11T12:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: PORT UA[0:1] not working as expected</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/PORT-UA-0-1-not-working-as-expected/m-p/180133#M7309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich! Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, DDRUA=0 and PUAPAR=0; And i´m reading from SETUA. (And i checked&amp;nbsp;with the debugger).&lt;/P&gt;&lt;DIV&gt;I'm confused, these two I / O's have secondary functions such as the RTC oscillator or the RX / TX from UART0, but I think it should be sufficient to configure the PUAPAR to make these GPIO´s. Am I right?&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;Interestingly, as I mentioned, the bits [3:2] are working properly and appear to have internal pull-up's. The two lower bits [1:0] seem to float or a very weak pull-down (i´m multiplexing 8 DTMF detectors using port UA as bus input).&lt;/DIV&gt;&lt;DIV&gt;Nedilson&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2009 20:51:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/PORT-UA-0-1-not-working-as-expected/m-p/180133#M7309</guid>
      <dc:creator>nedilson</dc:creator>
      <dc:date>2009-05-11T20:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: PORT UA[0:1] not working as expected</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/PORT-UA-0-1-not-working-as-expected/m-p/180134#M7310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems the use of the RTC crystal on that MCU has some non-obvious implications.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you seen this: &lt;A href="http://www.utasker.com/forum/index.php?topic=301.0" rel="nofollow" target="_blank"&gt;http://www.utasker.com/forum/index.php?topic=301.0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark seems to imply that MCF_CLOCK_RTCCR might essentially override the PUAPAR.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do you have that set?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2009 23:04:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/PORT-UA-0-1-not-working-as-expected/m-p/180134#M7310</guid>
      <dc:creator>RichTestardi</dc:creator>
      <dc:date>2009-05-11T23:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: PORT UA[0:1] not working as expected</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/PORT-UA-0-1-not-working-as-expected/m-p/180135#M7311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hummm... MCF_CLOCK_RTCCR=0... I´m going crazy... hehehehhehehe&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2009 00:20:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/PORT-UA-0-1-not-working-as-expected/m-p/180135#M7311</guid>
      <dc:creator>nedilson</dc:creator>
      <dc:date>2009-05-12T00:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: PORT UA[0:1] not working as expected</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/PORT-UA-0-1-not-working-as-expected/m-p/180136#M7312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Weak pullups for GPIOs are normal. See MCF52211 Reference Manual page 2-6 note 2&lt;/P&gt;&lt;P&gt;From memory, they should be in the order of 100k to 300k.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you driving the UA[1:0] pins correctly, ie. are they floating because they are not driven ?&lt;/P&gt;&lt;P&gt;If you drive them with a eg. 3k3 resistor manually to GND/Vdd, do they then read&amp;nbsp;accordingly ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2009 23:23:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/PORT-UA-0-1-not-working-as-expected/m-p/180136#M7312</guid>
      <dc:creator>MrBean</dc:creator>
      <dc:date>2009-05-12T23:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: PORT UA[0:1] not working as expected</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/PORT-UA-0-1-not-working-as-expected/m-p/180137#M7313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi MrBean! Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, that´s the strange thing. I expected pull-up´s on the GPIO´s (although not necessary in my circuit as&amp;nbsp;the GPIO´s are driven by totem-pole outputs from 8 x HT9170´s multiplexed in time).&lt;/P&gt;&lt;P&gt;I´ve attached an image of the circuit to be clear, but it works as follow:&lt;/P&gt;&lt;P&gt;When a HT9170 has an valid DTMF digit, it sets the DV output, which "tend" to set the respective OE throug a resistor. The OE lines are tied to other GPIO port (DD) that are commonly grounded.&lt;/P&gt;&lt;P&gt;When I want to see if a particular HT9170 has a valid digit, I put the correspondent OE line in input mode, allowing OE to set in case of DV,&amp;nbsp;driving the data lines (port UA). This was tested and the data lines are asserted normally.&lt;/P&gt;&lt;P&gt;When the HT9170´s&amp;nbsp;are not driving the data lines I see that UA[3:2] are pulled high as expected, but UA[1:0] are weakly pulled down. This and the fact that I only read 1´s in PORTUAP/SETUA[1:0] probably indicates that UA[1:0] are not configured as GPIO´s even with PUAPAR and DDRUA correctly set.&lt;/P&gt;&lt;P&gt;&lt;IMG border="0" height="1" width="1" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2009 00:54:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/PORT-UA-0-1-not-working-as-expected/m-p/180137#M7313</guid>
      <dc:creator>nedilson</dc:creator>
      <dc:date>2009-05-13T00:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: PORT UA[0:1] not working as expected</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/PORT-UA-0-1-not-working-as-expected/m-p/180138#M7314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PortDD is the debug port. PST and Debug-Data.&lt;/P&gt;&lt;P&gt;Debugging will interfere with the steering of the OEs.&lt;/P&gt;&lt;P&gt;Are you sure that the 8 OEs are steered correctly ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you fysically disconnect the OEs and make them all low on the 9170s (thus all data lines hi-z and portDD open), then steer the UA[1:0] lines manually, do they then still read incorrect ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2009 17:17:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/PORT-UA-0-1-not-working-as-expected/m-p/180138#M7314</guid>
      <dc:creator>MrBean</dc:creator>
      <dc:date>2009-05-13T17:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: PORT UA[0:1] not working as expected</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/PORT-UA-0-1-not-working-as-expected/m-p/180139#M7315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MrBean&lt;/P&gt;&lt;P&gt;Yes, I checked many times and it´s working. I will put some scope images later.&lt;/P&gt;&lt;P&gt;But I see only two possibilities: A defective chip (although I tested the port´s in question as outputs and it worked; I´m making a second prototipe to clear this) or a undocumented feature (this will be a nightmare!).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2009 23:48:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/PORT-UA-0-1-not-working-as-expected/m-p/180139#M7315</guid>
      <dc:creator>nedilson</dc:creator>
      <dc:date>2009-05-13T23:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: PORT UA[0:1] not working as expected</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/PORT-UA-0-1-not-working-as-expected/m-p/180140#M7316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Discarded the defective chip... Same problem with a new prototipe...&lt;IMG alt=":smileysad:" class="emoticon emoticon-smileysad" id="smileysad" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-sad.gif" title="Smiley Sad" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2009 02:30:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/PORT-UA-0-1-not-working-as-expected/m-p/180140#M7316</guid>
      <dc:creator>nedilson</dc:creator>
      <dc:date>2009-05-14T02:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: PORT UA[0:1] not working as expected</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/PORT-UA-0-1-not-working-as-expected/m-p/180141#M7317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;I have the same as yours and I found that if I put power on VSTBY pin it's work. It's logic because VSTBY is the power pin for the RTC...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2009 20:58:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/PORT-UA-0-1-not-working-as-expected/m-p/180141#M7317</guid>
      <dc:creator>sergemonnerat</dc:creator>
      <dc:date>2009-06-17T20:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: PORT UA[0:1] not working as expected</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/PORT-UA-0-1-not-working-as-expected/m-p/180142#M7318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sergemonnerat,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That really makes sense! In fact VSTBY is NOT connected in my circuit.&amp;nbsp;I´ll give it a try and post&amp;nbsp;the result&amp;nbsp;later.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2009 02:17:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/PORT-UA-0-1-not-working-as-expected/m-p/180142#M7318</guid>
      <dc:creator>nedilson</dc:creator>
      <dc:date>2009-06-18T02:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: PORT UA[0:1] not working as expected</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/PORT-UA-0-1-not-working-as-expected/m-p/180143#M7319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again sergemonnerat,&lt;/P&gt;&lt;P&gt;Problem solved!!! &lt;IMG alt=":smileyvery-happy:" class="emoticon emoticon-smileyvery-happy" id="smileyvery-happy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-very-happy.gif" title="Smiley Very Happy" /&gt;&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;so much!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2009 05:20:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/PORT-UA-0-1-not-working-as-expected/m-p/180143#M7319</guid>
      <dc:creator>nedilson</dc:creator>
      <dc:date>2009-06-18T05:20:35Z</dc:date>
    </item>
  </channel>
</rss>

