<?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 gpio problem on mcf52259 in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/gpio-problem-on-mcf52259/m-p/195104#M8619</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;i use gpio function on mcf52259 have following problem,i can read data throu porttc,but when i read data from porttc ,i cant read data from porttc,always is fffff.&lt;/P&gt;&lt;P&gt;do you know this problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jun 2009 12:24:29 GMT</pubDate>
    <dc:creator>robert_zhang</dc:creator>
    <dc:date>2009-06-30T12:24:29Z</dc:date>
    <item>
      <title>gpio problem on mcf52259</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/gpio-problem-on-mcf52259/m-p/195104#M8619</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;i use gpio function on mcf52259 have following problem,i can read data throu porttc,but when i read data from porttc ,i cant read data from porttc,always is fffff.&lt;/P&gt;&lt;P&gt;do you know this problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 12:24:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/gpio-problem-on-mcf52259/m-p/195104#M8619</guid>
      <dc:creator>robert_zhang</dc:creator>
      <dc:date>2009-06-30T12:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: gpio problem on mcf52259</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/gpio-problem-on-mcf52259/m-p/195105#M8620</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;This is a common mistake. The &lt;SPAN&gt;PORTTC&lt;/SPAN&gt; register is an output register and, when read, returns the value in the output register. Therefore its doesn't return the pin states.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To read the port inputs you need to read from the &lt;SPAN&gt;SETTC&lt;/SPAN&gt; register.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The same is generally true for all ports, that is, write outputs using &lt;SPAN&gt;PORTXX&lt;/SPAN&gt; and read inputs using &lt;SPAN&gt;SETXX&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To make this less cryptic I have renamed the &lt;SPAN&gt;SETXX&lt;/SPAN&gt; registers to &lt;SPAN&gt;PORTIN_SETXX&lt;/SPAN&gt;.&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="_blank"&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, 30 Jun 2009 17:01:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/gpio-problem-on-mcf52259/m-p/195105#M8620</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2009-06-30T17:01:38Z</dc:date>
    </item>
  </channel>
</rss>

