<?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 Re: EPORT GPIO on MCF5282 in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/EPORT-GPIO-on-MCF5282/m-p/146392#M3258</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Thanks Arev,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I thought I might be doing the software right, and you seem to do it the same way (albeit with a different micro), so I'm going to take a closer look at my switch hardware and schematic.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I was just unsure because of the other thread I found talking about redirected GPIO ports, and when the 5282 user manual mentioned port NQ, but didn't give an address for it, it confused me more.&amp;nbsp; I guess Freescale just copy-and-pasted the GPIO section of the 5282 user manual (which mentions port NQ) from a similar micro which does have port NQ.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Sep 2007 21:26:52 GMT</pubDate>
    <dc:creator>SamNelson</dc:creator>
    <dc:date>2007-09-17T21:26:52Z</dc:date>
    <item>
      <title>EPORT GPIO on MCF5282</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/EPORT-GPIO-on-MCF5282/m-p/146389#M3255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;SPAN&gt;I'm trying to use the EPORT IRQ1 pin as a general purpose input on an MCF5282, but the input is always the same when I read the EPPDR register, regardless of the physical state of my switch.&amp;nbsp; I found &lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fforums.freescale.com%2Ffreescale%2Fboard%2Fmessage%3Fboard.id%3DCFCOMM%26message.id%3D1186" rel="nofollow" target="_blank"&gt;this thread&lt;/A&gt;&lt;SPAN&gt; on the forums stating that I/O gets redirected to port NQ on the 5213, but the 5282 user manual doesn't specify an address for port NQ (although it does refer to port NQ several times) and I don't see it in any header files for the 5282.&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I leave the EPORT module in its reset state, which if I understand correctly, should be configured for general purpose input on the pins, which is what I want.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do I need to use a different register to read an input from the EPORT module?&amp;nbsp; If so, which register at what address?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Sep 2007 03:23:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/EPORT-GPIO-on-MCF5282/m-p/146389#M3255</guid>
      <dc:creator>SamNelson</dc:creator>
      <dc:date>2007-09-15T03:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: EPORT GPIO on MCF5282</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/EPORT-GPIO-on-MCF5282/m-p/146390#M3256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;On my MCF523x, EPORT uses 3 Registers:&lt;/P&gt;&lt;P&gt;MCF_EPORT_EPDDR for Configuration, MCF_EPORT_EPDR to Write output &amp;amp; MCF_EPORT_EPPDR to Read the Input State.&lt;BR /&gt;&lt;BR /&gt;I Hope this helps..&lt;BR /&gt;&lt;BR /&gt;Bye&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;lt; Freescale MCF5234/35 with CodeWarrior 6.2 &amp;gt;&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 16:13:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/EPORT-GPIO-on-MCF5282/m-p/146390#M3256</guid>
      <dc:creator>Arev</dc:creator>
      <dc:date>2007-09-17T16:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: EPORT GPIO on MCF5282</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/EPORT-GPIO-on-MCF5282/m-p/146391#M3257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I use the 5282&amp;nbsp;edge port like this:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class="msg_source_code"&gt;&lt;DIV class="text_smallest"&gt;Code:&lt;/DIV&gt;&lt;PRE&gt;// Configure EPORT5 to be a level detecting interrupt pinMCF5282_EPORT_EPPAR = (MCF5282_EPORT_EPPAR &amp;amp; ~MCF5282_EPORT_EPPAR_EPPA5_BOTHEDGE)    | MCF5282_EPORT_EPPAR_EPPA5_LEVEL;MCF5282_EPORT_EPDDR = (MCF5282_EPORT_EPDDR &amp;amp; ~MCF5282_EPORT_EPDDR_EPDD5);&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Then I set up an interrupt handler for it, but you could just poll it.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;See Chapter 11 in the 5282 reference manual which explains the meaning of the registers.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Paul.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 08:47:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/EPORT-GPIO-on-MCF5282/m-p/146391#M3257</guid>
      <dc:creator>mccPaul</dc:creator>
      <dc:date>2020-10-29T08:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: EPORT GPIO on MCF5282</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/EPORT-GPIO-on-MCF5282/m-p/146392#M3258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Thanks Arev,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I thought I might be doing the software right, and you seem to do it the same way (albeit with a different micro), so I'm going to take a closer look at my switch hardware and schematic.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I was just unsure because of the other thread I found talking about redirected GPIO ports, and when the 5282 user manual mentioned port NQ, but didn't give an address for it, it confused me more.&amp;nbsp; I guess Freescale just copy-and-pasted the GPIO section of the 5282 user manual (which mentions port NQ) from a similar micro which does have port NQ.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 21:26:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/EPORT-GPIO-on-MCF5282/m-p/146392#M3258</guid>
      <dc:creator>SamNelson</dc:creator>
      <dc:date>2007-09-17T21:26:52Z</dc:date>
    </item>
  </channel>
</rss>

