<?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 BKGD  in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/BKGD/m-p/827240#M22652</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hoe to use this pin as GPIO pin in MC9S08QE8 microcontroller.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Aug 2018 09:22:04 GMT</pubDate>
    <dc:creator>abhishek_gupta</dc:creator>
    <dc:date>2018-08-07T09:22:04Z</dc:date>
    <item>
      <title>BKGD</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/BKGD/m-p/827240#M22652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hoe to use this pin as GPIO pin in MC9S08QE8 microcontroller.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2018 09:22:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/BKGD/m-p/827240#M22652</guid>
      <dc:creator>abhishek_gupta</dc:creator>
      <dc:date>2018-08-07T09:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: BKGD</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/BKGD/m-p/827241#M22653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;GPO, output&amp;nbsp;only. Did you search through QE8 reference manual? See SOPT1 register. Please note that SOPT1 bits are write once, which means all SOPT1 bits have to be setup simultaneously in same write access.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edward&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2018 16:32:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/BKGD/m-p/827241#M22653</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2018-08-07T16:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: BKGD</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/BKGD/m-p/827242#M22654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then How it is possible to code in the controller while using the BKGD Pin as output .&lt;/P&gt;&lt;P&gt;Since i want to do code from it and also want to use it as GPO after code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 06:04:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/BKGD/m-p/827242#M22654</guid>
      <dc:creator>abhishek_gupta</dc:creator>
      <dc:date>2018-08-08T06:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: BKGD</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/BKGD/m-p/827243#M22655</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;Debugger is not available while BKGDPE is &lt;EM&gt;&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/EM&gt;. You need to debug required pin function perhaps on another pin, on device having spare pins, or just being careful about coding. For debugging the rest of your code you need to use some define to avoid&amp;nbsp;&lt;EM&gt;clearing&lt;/EM&gt; BKGDPE. Yes, it's not very comfortable, but you win extra output pin. On S12 devices there's a MODE register, which helps detecting are you using debugger or not. I don't see such feature on QE8, you need to recompile you code for debug with BKGDPE=&lt;EM&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;BTW you should not load BKGD pin with external pull down load. On power up until you &lt;EM&gt;clear&lt;/EM&gt; BKGDPE this pin still functions as MS/BKGD. Having it pulled low MCU won't start and keep waiting for BDM commands.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edward&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: fixed BKGDPE, 0 - GPO, 1 - BKGD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 11:08:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/BKGD/m-p/827243#M22655</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2018-08-08T11:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: BKGD</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/BKGD/m-p/827244#M22656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Than How can I use the BKGD pin in both work.&lt;/P&gt;&lt;P&gt;I want that this pin can be used as GPO after programming and when i need to program again than i can able to use it.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 04:41:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/BKGD/m-p/827244#M22656</guid>
      <dc:creator>abhishek_gupta</dc:creator>
      <dc:date>2018-08-09T04:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: BKGD</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/BKGD/m-p/827245#M22657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you got the states backwards.&amp;nbsp; BKGDPE=1 means enable the BDM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 17:04:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/BKGD/m-p/827245#M22657</guid>
      <dc:creator>tonyp</dc:creator>
      <dc:date>2018-08-09T17:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: BKGD</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/BKGD/m-p/827246#M22658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tony, thanks, you are right, I reversed states, not something I would have&amp;nbsp;to use a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edward&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2018 06:09:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/BKGD/m-p/827246#M22658</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2018-08-10T06:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: BKGD</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/BKGD/m-p/827247#M22659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhishek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When not able to connect debugger should ask you to cycle power of your device. Before asking to cycle power debugger should pull BKGD low, when you power up your device again MCU will&amp;nbsp;detect background mode request (BKGD/MS=0&amp;nbsp;at power on) and won't run you code but wait instead for BDM commands. See 2.2.4 in QE8 reference manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edward&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2018 06:20:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/BKGD/m-p/827247#M22659</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2018-08-10T06:20:42Z</dc:date>
    </item>
  </channel>
</rss>

