<?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>8-bit MicrocontrollersのトピックRe: MC9S08SH8 ACMP output and BKGD pin</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08SH8-ACMP-output-and-BKGD-pin/m-p/186638#M14028</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Diego,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; Unfortunately this pin is shared by AMCPO and BKGD, as you noted.&amp;nbsp; You cannot use both at the same time.&amp;nbsp; I would develop as much code as possible with BKGD enabled, and then keep going with BKGD disabled (SOPT1[BKGDPE] = 0).&amp;nbsp;&amp;nbsp; You can toggle an LED, use a scope, DVM, or a GPIO to debug your application without the benefit of the Multilink BDM.&amp;nbsp;&amp;nbsp; It isn't as easy, but with low pin count packages you end up with pin multiplexing.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; You program the MCU with the Mulitlink BDM, then remove the 6 pin BDM connector, and run your test.&amp;nbsp; Then you have to reconnect the Multilink BDM and cycle power on the MCU a couple of times to allow the Multilink BDM to regain control over the MCU so you can reprogram it.&amp;nbsp; A bit more time consuming, for sure.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; Thanks,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; Rick&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Feb 2008 10:46:16 GMT</pubDate>
    <dc:creator>RickN</dc:creator>
    <dc:date>2008-02-06T10:46:16Z</dc:date>
    <item>
      <title>MC9S08SH8 ACMP output and BKGD pin</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08SH8-ACMP-output-and-BKGD-pin/m-p/186637#M14027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello, I am willing to use the MC9S08SH8 in a project. I need to enable the ACMP output (ACMPO pin) so that I can add more&amp;nbsp;hysteresis to the comparator. However, this MCU shares this pin with the BKGD pin. My question is: can I use the BDM pod and the ACMPO functions simultaneously? That is, will the ACMPO interfere with the BDM functions? How should I design my circuit so that I can debug it and retain ACMPO functionality?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Any suggestions/help are greatly appreciated. Thanks in advance.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Diego.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2008 06:30:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08SH8-ACMP-output-and-BKGD-pin/m-p/186637#M14027</guid>
      <dc:creator>dismirli</dc:creator>
      <dc:date>2008-02-06T06:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08SH8 ACMP output and BKGD pin</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08SH8-ACMP-output-and-BKGD-pin/m-p/186638#M14028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Diego,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; Unfortunately this pin is shared by AMCPO and BKGD, as you noted.&amp;nbsp; You cannot use both at the same time.&amp;nbsp; I would develop as much code as possible with BKGD enabled, and then keep going with BKGD disabled (SOPT1[BKGDPE] = 0).&amp;nbsp;&amp;nbsp; You can toggle an LED, use a scope, DVM, or a GPIO to debug your application without the benefit of the Multilink BDM.&amp;nbsp;&amp;nbsp; It isn't as easy, but with low pin count packages you end up with pin multiplexing.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; You program the MCU with the Mulitlink BDM, then remove the 6 pin BDM connector, and run your test.&amp;nbsp; Then you have to reconnect the Multilink BDM and cycle power on the MCU a couple of times to allow the Multilink BDM to regain control over the MCU so you can reprogram it.&amp;nbsp; A bit more time consuming, for sure.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; Thanks,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; Rick&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2008 10:46:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08SH8-ACMP-output-and-BKGD-pin/m-p/186638#M14028</guid>
      <dc:creator>RickN</dc:creator>
      <dc:date>2008-02-06T10:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08SH8 ACMP output and BKGD pin</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08SH8-ACMP-output-and-BKGD-pin/m-p/186639#M14029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks a lot for your answer, Rick. It seems I'll have to do as you suggest.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Diego.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2008 10:54:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08SH8-ACMP-output-and-BKGD-pin/m-p/186639#M14029</guid>
      <dc:creator>dismirli</dc:creator>
      <dc:date>2008-02-06T10:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08SH8 ACMP output and BKGD pin</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08SH8-ACMP-output-and-BKGD-pin/m-p/186640#M14030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello Diego,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;It would appear that you will need to forego the nicety of the extra hysteresis for the comparator, during your debug sessions.&amp;nbsp; Can this be accommodated, in your case?&amp;nbsp;&amp;nbsp;I assume that&amp;nbsp;the only connection to the pin, aside from the BDM header, is a resistor.&amp;nbsp; This may need to be disconnected during debug only if it detrimentally affects the comparator operation.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Regards,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Mac&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2008 11:01:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08SH8-ACMP-output-and-BKGD-pin/m-p/186640#M14030</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2008-02-06T11:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08SH8 ACMP output and BKGD pin</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08SH8-ACMP-output-and-BKGD-pin/m-p/186641#M14031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Mac, I need&amp;nbsp;a comparator with hysteresis as the last component of my analog frontend, so I need the feedback resistor between ACMPO and ACMP+.&amp;nbsp;Also, I need BDM to (at least)&amp;nbsp;load the&amp;nbsp;MCU's flash, so I need the BKGD pull-up.&amp;nbsp;I think&amp;nbsp;the only choice I have is to leave room for the two resistors, and choose (with jumpers for example) if&amp;nbsp;each resistor is connected or not. Also, can I use BDM without the external pull-up (although the manual states the pull-up is recommended)? It is now clear, though, that I can't use BDM and the analog&amp;nbsp;comparator at the same time.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Any suggestions are welcome.&lt;/DIV&gt;&lt;DIV&gt;Thanks a lot.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Diego.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2008 07:28:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08SH8-ACMP-output-and-BKGD-pin/m-p/186641#M14031</guid>
      <dc:creator>dismirli</dc:creator>
      <dc:date>2008-02-08T07:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08SH8 ACMP output and BKGD pin</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08SH8-ACMP-output-and-BKGD-pin/m-p/186642#M14032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello Diego,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;I suspect that the pullup resistor required for BDM operation should not affect the comparator output too much, but you would need to check that the comparator output low state is at satisfactory voltage level.&amp;nbsp; I was more concerned that the BDM signal would fluctuate the comparator threshold. during debug, and affect your testing.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;In my previous post, I was alluding to whether you could do useful testing without the extra hysteresis on the comparator.&amp;nbsp; Obviously, for normal operation the hysteresis would be present.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Another possibility might be to construct a "jig" specifically for test and debug purposes, and use an external comparator, with suitable hysteresis, for your test signal.&amp;nbsp; The output of the external comparator would be fed directly to the input of the internal comparator.&amp;nbsp; Under these test conditions, the feedback resistor for the internal comparator would probably not need to be disconnected during debug.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Regards,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Mac&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2008 20:04:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08SH8-ACMP-output-and-BKGD-pin/m-p/186642#M14032</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2008-02-08T20:04:45Z</dc:date>
    </item>
  </channel>
</rss>

