<?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: Using Port DD as GPIO on MCF5282</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Using-Port-DD-as-GPIO-on-MCF5282/m-p/172236#M6467</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have to use the BDM Debug pins as GPIO Outputs? You might want to use the BDM on your product.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A simple search in the User Manual for all cases of "ddata" finds:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;14.2.14.7 Debug Data (DDATA[3:0])&lt;BR /&gt;Debug data signals (DDATA[3:0]) display captured processor addresses, data and breakpoint status.&lt;BR /&gt;These pins can also be configured as GPIO PDD[7:4].&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;27.5.3.1 Chip Configuration Register (CCR)&lt;BR /&gt;4 Accessing an unimplemented address has no effect and causes a cycle termination transfer error.&lt;BR /&gt;NOTE&lt;BR /&gt;To safeguard against unintentionally activating test logic, write 0x0000 to&lt;BR /&gt;the above reserved location during initialization (immediately after reset) to&lt;BR /&gt;lock out test features. Setting any bits in the CCR may lead to unpredictable&lt;BR /&gt;results.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;5 PSTEN PST[3:0]/DDATA[3:0] enable. This read/write bit enables the Processor Status (PST) and Debug&lt;BR /&gt;Data (DDATA)n functions of the external pins.&lt;BR /&gt;0 PST/DDATA function disabled.&lt;BR /&gt;1 PST/DDATA function enabled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Dec 2010 08:24:42 GMT</pubDate>
    <dc:creator>TomE</dc:creator>
    <dc:date>2010-12-27T08:24:42Z</dc:date>
    <item>
      <title>Using Port DD as GPIO on MCF5282</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Using-Port-DD-as-GPIO-on-MCF5282/m-p/172235#M6466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm either missing something that should be very simple, or simply trying to do something that isn't possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’ve got an MCF5282 that I’m trying to use PDD4 as a GPIO on.&amp;nbsp; In my setup code, I’ve got:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MCF5282_GPIO_DDRDD = 0x10;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* output on dd4. */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And in my main loop, I’ve got:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MCF5282_GPIO_PORTDD = (mainloop_cnt &amp;amp; 0x10);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which should give me a nice square wave on the oscilloscope, but the port doesn’t seem to be doing as I say.&amp;nbsp; Am I missing some setup steps?&amp;nbsp; I can’t find anything in the 5282 manual about a “Port DD pin-assignment register” to repurpose it from its “primary” role as DDATA.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Dec 2010 05:11:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Using-Port-DD-as-GPIO-on-MCF5282/m-p/172235#M6466</guid>
      <dc:creator>sskuce</dc:creator>
      <dc:date>2010-12-25T05:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using Port DD as GPIO on MCF5282</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Using-Port-DD-as-GPIO-on-MCF5282/m-p/172236#M6467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have to use the BDM Debug pins as GPIO Outputs? You might want to use the BDM on your product.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A simple search in the User Manual for all cases of "ddata" finds:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;14.2.14.7 Debug Data (DDATA[3:0])&lt;BR /&gt;Debug data signals (DDATA[3:0]) display captured processor addresses, data and breakpoint status.&lt;BR /&gt;These pins can also be configured as GPIO PDD[7:4].&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;27.5.3.1 Chip Configuration Register (CCR)&lt;BR /&gt;4 Accessing an unimplemented address has no effect and causes a cycle termination transfer error.&lt;BR /&gt;NOTE&lt;BR /&gt;To safeguard against unintentionally activating test logic, write 0x0000 to&lt;BR /&gt;the above reserved location during initialization (immediately after reset) to&lt;BR /&gt;lock out test features. Setting any bits in the CCR may lead to unpredictable&lt;BR /&gt;results.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;5 PSTEN PST[3:0]/DDATA[3:0] enable. This read/write bit enables the Processor Status (PST) and Debug&lt;BR /&gt;Data (DDATA)n functions of the external pins.&lt;BR /&gt;0 PST/DDATA function disabled.&lt;BR /&gt;1 PST/DDATA function enabled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Dec 2010 08:24:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Using-Port-DD-as-GPIO-on-MCF5282/m-p/172236#M6467</guid>
      <dc:creator>TomE</dc:creator>
      <dc:date>2010-12-27T08:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: Using Port DD as GPIO on MCF5282</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Using-Port-DD-as-GPIO-on-MCF5282/m-p/172237#M6468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have read User's Manual, but have not found solution how to turn DDATA and PST MCU pins into GPIO mode.&lt;/P&gt;&lt;P&gt;And yes, I have to use these pins as GPIO, because hardware is done, not by me, and I have to use it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 14:48:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Using-Port-DD-as-GPIO-on-MCF5282/m-p/172237#M6468</guid>
      <dc:creator>maksimzykov</dc:creator>
      <dc:date>2014-09-29T14:48:05Z</dc:date>
    </item>
  </channel>
</rss>

