<?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: QG8 PTA4 does not work as Output pin in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/QG8-PTA4-does-not-work-as-Output-pin/m-p/269440#M20136</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi and thanks for replying&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no startup code present.&lt;/P&gt;&lt;P&gt;If you noticed my original post, i am using RESET as PTA5 to get a push button status and drive an LED connected to PTB5, so SOPT1 is getting written to 0.&lt;/P&gt;&lt;P&gt;I checked on other QG8 chips but same thing repeated.&lt;/P&gt;&lt;P&gt;I browsed through many threads here explaining this phenomena but each and every explanation is void in my case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help appreciated&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Apr 2013 04:56:24 GMT</pubDate>
    <dc:creator>abicash</dc:creator>
    <dc:date>2013-04-17T04:56:24Z</dc:date>
    <item>
      <title>QG8 PTA4 does not work as Output pin</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/QG8-PTA4-does-not-work-as-Output-pin/m-p/269438#M20134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have initialised as thus&lt;/P&gt;&lt;P&gt; SOPT1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0x00;&amp;nbsp;&amp;nbsp; // RESET and BKGD disabled&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The idea is to use the RESET/PTA5 pin as input pulled up to Vdd and connected to ground through a push button switch.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once the switch is pressed , i poll it and turn on a LED for 10 seconds (&lt;STRONG&gt;currently PTA4 is not connected to any LED or transistor&lt;/STRONG&gt;) &lt;/P&gt;&lt;P&gt;Now this scheme works with LED connected to PTB5, but with PTA4 ,it never goes high.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It does not change state with or without pull up.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am i doing something fundamentally wrong?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The entire design is complete and only this small issue might make me change the MCU..&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help appreciated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Apr 2013 12:11:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/QG8-PTA4-does-not-work-as-Output-pin/m-p/269438#M20134</guid>
      <dc:creator>abicash</dc:creator>
      <dc:date>2013-04-16T12:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: QG8 PTA4 does not work as Output pin</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/QG8-PTA4-does-not-work-as-Output-pin/m-p/269439#M20135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SOPT1 is write-once, so maybe something (e.g., startup code) writes it before you do.&amp;nbsp; Have you checked that it is indeed written with zero? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Apr 2013 14:24:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/QG8-PTA4-does-not-work-as-Output-pin/m-p/269439#M20135</guid>
      <dc:creator>tonyp</dc:creator>
      <dc:date>2013-04-16T14:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: QG8 PTA4 does not work as Output pin</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/QG8-PTA4-does-not-work-as-Output-pin/m-p/269440#M20136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi and thanks for replying&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no startup code present.&lt;/P&gt;&lt;P&gt;If you noticed my original post, i am using RESET as PTA5 to get a push button status and drive an LED connected to PTB5, so SOPT1 is getting written to 0.&lt;/P&gt;&lt;P&gt;I checked on other QG8 chips but same thing repeated.&lt;/P&gt;&lt;P&gt;I browsed through many threads here explaining this phenomena but each and every explanation is void in my case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help appreciated&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2013 04:56:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/QG8-PTA4-does-not-work-as-Output-pin/m-p/269440#M20136</guid>
      <dc:creator>abicash</dc:creator>
      <dc:date>2013-04-17T04:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: QG8 PTA4 does not work as Output pin</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/QG8-PTA4-does-not-work-as-Output-pin/m-p/269441#M20137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the datasheet for the 'QG8 (refer to Fig. 1.1), PTA4 is an input-only pin, whereas PTA5 is an output only pin (when BKGD/MS is disabled).&amp;nbsp; All other GPIO pins are bi-directional, as controlled by the data direction registers.&amp;nbsp; Also see paragraph 6.4.1.2, where it is confirmed that the DDR bit settings have no effect.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2013 07:09:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/QG8-PTA4-does-not-work-as-Output-pin/m-p/269441#M20137</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2013-04-17T07:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: QG8 PTA4 does not work as Output pin</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/QG8-PTA4-does-not-work-as-Output-pin/m-p/269442#M20138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello bigmac&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a mistake in your reply?&lt;/P&gt;&lt;P&gt;PTA4 is an output-only pin and PTA5 is an input-only pin as i understand&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can test this by getting PTA5 as i/p pin to control LED connected at PTB5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2013 07:17:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/QG8-PTA4-does-not-work-as-Output-pin/m-p/269442#M20138</guid>
      <dc:creator>abicash</dc:creator>
      <dc:date>2013-04-17T07:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: QG8 PTA4 does not work as Output pin</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/QG8-PTA4-does-not-work-as-Output-pin/m-p/269443#M20139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I confused the two pins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also assume that you disconnect the Multilink programmer/debugger when you test this arrangement.&amp;nbsp; Otherwise there is likely to be a conflict at PTA4 output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2013 22:25:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/QG8-PTA4-does-not-work-as-Output-pin/m-p/269443#M20139</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2013-04-17T22:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: QG8 PTA4 does not work as Output pin</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/QG8-PTA4-does-not-work-as-Output-pin/m-p/269444#M20140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello mac&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do disconnect the Multilink after programming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have now added a 5k6 pullup on the RESET and BKGD pin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As soon as POR occurs, The BKGD pin goes to 0v and never pulls up to 3.3v, whereas RESET/PTA5 functions as an i/p pin .Here i connect a Push-button switch ,other end of which is connected to ground.Once i press the button, i light an LED at PTB5 and turn&amp;nbsp; PTA4 (BKGD) high (here no other part, other than the pullup resistor is present).&lt;/P&gt;&lt;P&gt;i find that LED lights but the PTA4 doesn't change state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tried this on few other QG8's from the tube , but to no avail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there something fundamentally wrong which i am doing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 10:10:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/QG8-PTA4-does-not-work-as-Output-pin/m-p/269444#M20140</guid>
      <dc:creator>abicash</dc:creator>
      <dc:date>2013-04-18T10:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: QG8 PTA4 does not work as Output pin</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/QG8-PTA4-does-not-work-as-Output-pin/m-p/269445#M20141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can someone throw some light here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 11:26:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/QG8-PTA4-does-not-work-as-Output-pin/m-p/269445#M20141</guid>
      <dc:creator>abicash</dc:creator>
      <dc:date>2013-04-23T11:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: QG8 PTA4 does not work as Output pin</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/QG8-PTA4-does-not-work-as-Output-pin/m-p/269446#M20142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since your SOPT1 sesms to be right, did you check your PTADD init proces? Set PTA4=1? DO you PTA4 shgare any function that may force your pin to be set to 0? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 14:31:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/QG8-PTA4-does-not-work-as-Output-pin/m-p/269446#M20142</guid>
      <dc:creator>Cram</dc:creator>
      <dc:date>2013-05-02T14:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: QG8 PTA4 does not work as Output pin</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/QG8-PTA4-does-not-work-as-Output-pin/m-p/269447#M20143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I´m facing the same problem with ...QD2.&lt;/P&gt;&lt;P&gt;I need to use all device pins, and PTA4 is the "chip enable" of a Serial Flash Memory.&lt;/P&gt;&lt;P&gt;In spite of having one 3.3kohm pull-up, and the SOPT1 is initialized with $00,&lt;/P&gt;&lt;P&gt;its output is always 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 11:59:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/QG8-PTA4-does-not-work-as-Output-pin/m-p/269447#M20143</guid>
      <dc:creator>pauloprecursor</dc:creator>
      <dc:date>2015-04-08T11:59:26Z</dc:date>
    </item>
  </channel>
</rss>

