<?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 TWR-52259 can't configure PTA3 in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/TWR-52259-can-t-configure-PTA3/m-p/218328#M11064</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was configuring several Pins as Input on the 52259 Tower Module.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How I got it from the manual this is the default state after reset anyway and in GPIO mode all pins have an internal pull up activated. Is that correct?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now it all seems to work out fine, the pins show a 3.3V level on the scope, they can be pulled to ground without problems and I can read the state via the corresponding registers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Except for PTA3 (Pin 58 on the LQFP144). On the scope, I read a constant 0,25V. It can't be pulled up with a 10k resistor so there seems to be some drive strength behind this. Browsing the manual i found that the pin has some extra functions in GPT mode, but again after reset these shouldnt be active. I still explicitly tried to disable the GPT features and configure the whole PTA port for input, also activate the GPT pullups, but that had no effect. Here is the code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MCF_GPT_GPTSCR1 = 0;&amp;nbsp;&amp;nbsp;&amp;nbsp; MCF_GPT_GPTSCR2 |= MCF_GPT_GPTSCR2_PUPT;&amp;nbsp;&amp;nbsp;&amp;nbsp; MCF_GPT_GPTDDR = 0;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MCF_GPIO_DDRTA = 0;&amp;nbsp;&amp;nbsp;&amp;nbsp; MCF_GPIO_PTAPAR = 0;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Other than the 52259 board, only the TWR-SER is plugged into my tower. According to the schematics, PTA3 is connected to PWM7 (B37) on the PCI connector which is not connected at all on the TWR-SER board. Also, PTA3 aint used on the MCF board (for LEDs or the like), it simply goes straight to the PCI connector (I checked the Gerber files).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All code is simply the default project that was generated by CW 7.2. That is actually enough to reproduce the issue: I have CW 7.2 create a new 52259 project with main() just running the endless for() loop. When i compile and run that, the ports I checked do indeed default to pulled-up input ports but PTA3 wont. It does instead still drive the 0,25V.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anybody confirm this behaviour, did I (most likely) just overlook something or is it that maybe my MCU board is defective?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your time,&lt;/P&gt;&lt;P&gt;&amp;nbsp;Sven&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Aug 2010 03:38:23 GMT</pubDate>
    <dc:creator>Kopone</dc:creator>
    <dc:date>2010-08-16T03:38:23Z</dc:date>
    <item>
      <title>TWR-52259 can't configure PTA3</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/TWR-52259-can-t-configure-PTA3/m-p/218328#M11064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was configuring several Pins as Input on the 52259 Tower Module.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How I got it from the manual this is the default state after reset anyway and in GPIO mode all pins have an internal pull up activated. Is that correct?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now it all seems to work out fine, the pins show a 3.3V level on the scope, they can be pulled to ground without problems and I can read the state via the corresponding registers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Except for PTA3 (Pin 58 on the LQFP144). On the scope, I read a constant 0,25V. It can't be pulled up with a 10k resistor so there seems to be some drive strength behind this. Browsing the manual i found that the pin has some extra functions in GPT mode, but again after reset these shouldnt be active. I still explicitly tried to disable the GPT features and configure the whole PTA port for input, also activate the GPT pullups, but that had no effect. Here is the code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MCF_GPT_GPTSCR1 = 0;&amp;nbsp;&amp;nbsp;&amp;nbsp; MCF_GPT_GPTSCR2 |= MCF_GPT_GPTSCR2_PUPT;&amp;nbsp;&amp;nbsp;&amp;nbsp; MCF_GPT_GPTDDR = 0;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MCF_GPIO_DDRTA = 0;&amp;nbsp;&amp;nbsp;&amp;nbsp; MCF_GPIO_PTAPAR = 0;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Other than the 52259 board, only the TWR-SER is plugged into my tower. According to the schematics, PTA3 is connected to PWM7 (B37) on the PCI connector which is not connected at all on the TWR-SER board. Also, PTA3 aint used on the MCF board (for LEDs or the like), it simply goes straight to the PCI connector (I checked the Gerber files).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All code is simply the default project that was generated by CW 7.2. That is actually enough to reproduce the issue: I have CW 7.2 create a new 52259 project with main() just running the endless for() loop. When i compile and run that, the ports I checked do indeed default to pulled-up input ports but PTA3 wont. It does instead still drive the 0,25V.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anybody confirm this behaviour, did I (most likely) just overlook something or is it that maybe my MCU board is defective?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your time,&lt;/P&gt;&lt;P&gt;&amp;nbsp;Sven&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Aug 2010 03:38:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/TWR-52259-can-t-configure-PTA3/m-p/218328#M11064</guid>
      <dc:creator>Kopone</dc:creator>
      <dc:date>2010-08-16T03:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-52259 can't configure PTA3</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/TWR-52259-can-t-configure-PTA3/m-p/218329#M11065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sven&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I haven't been able to do a test at the moment but I did have a defective backplane in my TWR-52259 kit where two bus lines were short circuited inside the board. See &lt;A __default_attr="65917" class="jive_macro jive_macro_thread default_title" href="https://community.freescale.com/thread/65917" jivemacro="thread" title="https://community.freescale.com/thread/65917"&gt;https://community.freescale.com/thread/65917&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Therefore it may be worth trying to isolate the pin to see whether the problem is then fixed.&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;&lt;A href="http://www.uTasker.com" rel="nofollow" target="_self"&gt;www.uTasker.com&lt;/A&gt;&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>Tue, 17 Aug 2010 07:18:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/TWR-52259-can-t-configure-PTA3/m-p/218329#M11065</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2010-08-17T07:18:55Z</dc:date>
    </item>
  </channel>
</rss>

