<?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: Oscillator stops on MC9S08</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Oscillator-stops-on-MC9S08/m-p/166734#M10689</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;How are you setting your MCGC2 register?&amp;nbsp; Note there are specific settings based on if you are telling the micro that you want to use an external oscillator or resonator, the crystal/resonator frequency range, and if the oscillator is to be driven in a high gain mode.&amp;nbsp;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;/*&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Transition to BLPE mode&lt;BR /&gt;Setup clock control register 2&lt;BR /&gt;b7:b6 BDIV = &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; 00 Set freq divider to divide by 1&lt;BR /&gt;b5:&amp;nbsp;&amp;nbsp; RANGE = &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;1&amp;nbsp; Configure for ext osc range of 1MHz to 16MHz&lt;BR /&gt;b4:&amp;nbsp;&amp;nbsp; HGO = &amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; 1&amp;nbsp; Config external osc for high gain operation&lt;BR /&gt;b3:&amp;nbsp;&amp;nbsp; LP = &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp; FLL or PLL is disabled in bypass modes&lt;BR /&gt;b2:&amp;nbsp;&amp;nbsp; EREFS = &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;1&amp;nbsp; Indicate external oscillator is requested&lt;BR /&gt;b1:&amp;nbsp;&amp;nbsp; ERCLKEN = &amp;nbsp;&amp;nbsp; 1&amp;nbsp; Enable MCGERCLK external ref clock&lt;BR /&gt;b0:&amp;nbsp;&amp;nbsp; EREFSTEN =&amp;nbsp;&amp;nbsp; 0&amp;nbsp; External ref clock MCGERCLK is disabled in stop mode&amp;nbsp; */&lt;BR /&gt;MCGC2 = 0x3E;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Dec 2010 23:10:27 GMT</pubDate>
    <dc:creator>Denikar</dc:creator>
    <dc:date>2010-12-03T23:10:27Z</dc:date>
    <item>
      <title>Oscillator stops on MC9S08</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Oscillator-stops-on-MC9S08/m-p/166733#M10688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hi&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I am using a resonator&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;10.0MHz +/-0.5% Built-in caps Chip type:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Murata CSTCC10M0G53-R0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The resonator is connected in parallel with a resistor 1MOhm and 220R in series.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The chip uses the internal oscillator. The 10 MHz is used for Baud rate generation for the UART.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;It happens that oscillator stops.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Any ideas?&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Dec 2010 16:16:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Oscillator-stops-on-MC9S08/m-p/166733#M10688</guid>
      <dc:creator>ratatosk</dc:creator>
      <dc:date>2010-12-02T16:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Oscillator stops on MC9S08</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Oscillator-stops-on-MC9S08/m-p/166734#M10689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;How are you setting your MCGC2 register?&amp;nbsp; Note there are specific settings based on if you are telling the micro that you want to use an external oscillator or resonator, the crystal/resonator frequency range, and if the oscillator is to be driven in a high gain mode.&amp;nbsp;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;/*&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Transition to BLPE mode&lt;BR /&gt;Setup clock control register 2&lt;BR /&gt;b7:b6 BDIV = &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; 00 Set freq divider to divide by 1&lt;BR /&gt;b5:&amp;nbsp;&amp;nbsp; RANGE = &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;1&amp;nbsp; Configure for ext osc range of 1MHz to 16MHz&lt;BR /&gt;b4:&amp;nbsp;&amp;nbsp; HGO = &amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; 1&amp;nbsp; Config external osc for high gain operation&lt;BR /&gt;b3:&amp;nbsp;&amp;nbsp; LP = &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp; FLL or PLL is disabled in bypass modes&lt;BR /&gt;b2:&amp;nbsp;&amp;nbsp; EREFS = &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;1&amp;nbsp; Indicate external oscillator is requested&lt;BR /&gt;b1:&amp;nbsp;&amp;nbsp; ERCLKEN = &amp;nbsp;&amp;nbsp; 1&amp;nbsp; Enable MCGERCLK external ref clock&lt;BR /&gt;b0:&amp;nbsp;&amp;nbsp; EREFSTEN =&amp;nbsp;&amp;nbsp; 0&amp;nbsp; External ref clock MCGERCLK is disabled in stop mode&amp;nbsp; */&lt;BR /&gt;MCGC2 = 0x3E;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Dec 2010 23:10:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Oscillator-stops-on-MC9S08/m-p/166734#M10689</guid>
      <dc:creator>Denikar</dc:creator>
      <dc:date>2010-12-03T23:10:27Z</dc:date>
    </item>
  </channel>
</rss>

