<?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: Crystal control clock on the 9s08QB processors</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Crystal-control-clock-on-the-9s08QB-processors/m-p/447705#M21585</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is actually the issue that we appear to be having, We can not get the bus to run at 20 MHz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10 MHz bus runs fine but that does not provide the closk output that is needed from the TPM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have ordered some chips from a different batch to see if they will work as described.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Jul 2015 02:55:43 GMT</pubDate>
    <dc:creator>SuperDave</dc:creator>
    <dc:date>2015-07-08T02:55:43Z</dc:date>
    <item>
      <title>Crystal control clock on the 9s08QB processors</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Crystal-control-clock-on-the-9s08QB-processors/m-p/447702#M21582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I previously posted abut this issue on the &lt;SPAN style="font-size: 10pt;"&gt;Crystal control clock on the 9s08QE processors and provided a solution there but that solution appears not to work correctly for the s08QB8 processors. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;_______________&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Using a 10 MHz XTAL, External Osc, FEE will work. RDIV= 3 ( div=256 ), Range=1, produces an accurate 39062.5 Hz Reference Clock. This results in a fixed frequency of 40,000,000 Hz from the FLL, and using BDIV=1 ( div by 2 ) produces a 20 MHz bus Clock.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With this frequency, the TPM can use the buss clock and achieve the desired accuracy and resolution.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, using a BDIV=0 can double the frequency but at a cost of higher dissipation.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;_______________&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I do this with the QB8, I only get about a 5 MHz bus clock?&lt;/P&gt;&lt;P&gt;Using a 10 MHz xtal ( frequency verified on scope )&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ICSSC=$FFAE + #$40&lt;/P&gt;&lt;P&gt;ICSC1=#$18&amp;nbsp;&amp;nbsp; FLL selected, Ext Source, RDIV=256&lt;/P&gt;&lt;P&gt;ICSC2=#$37 BDIV=0, HF=1, HGO=1, ERCLKEN=1,EREFS=OSC&lt;/P&gt;&lt;P&gt; This should produce a 40 Mhz Bus Clock&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;ICSC2=#$77 BDIV=1, HF=1, HGO=1, ERCLKEN=1,EREFS=OSC&lt;/P&gt;&lt;P&gt; This should produce a 20 Mhz Bus Clock&lt;/P&gt;&lt;H1&gt;&lt;/H1&gt;&lt;P&gt;Either way, The BDM reports 4.99 MHZ to a little over 5.01 MHz varies&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Checking out using TPM:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TPMMOD= #$1 ( div by 2 )&lt;/P&gt;&lt;P&gt;TPMSC= #$8 ( Bus Clock used and by 1 )&lt;/P&gt;&lt;P&gt;TPM0SC = #$14 ( Toggle on OVFL )&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Produces 1.25 MHz&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have I overlooked something? It works fine with the QE-32 ( actual values slightly different due to module version differences ).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 18:22:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Crystal-control-clock-on-the-9s08QB-processors/m-p/447702#M21582</guid>
      <dc:creator>SuperDave</dc:creator>
      <dc:date>2015-07-01T18:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Crystal control clock on the 9s08QB processors</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Crystal-control-clock-on-the-9s08QB-processors/m-p/447703#M21583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correction:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ICSC1=#$28&amp;nbsp;&amp;nbsp; FLL selected, Ext Source, RDIV=1024&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, when set up this way, it appears that the RTC does not work properly. The RTC is used to update several counters and seems to work ok at lower Bus Clocks but when the Bus Clock is 20 MHz, the system hangs waiting on a counter that does not increment in the RTC routine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 03:05:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Crystal-control-clock-on-the-9s08QB-processors/m-p/447703#M21583</guid>
      <dc:creator>SuperDave</dc:creator>
      <dc:date>2015-07-02T03:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: Crystal control clock on the 9s08QB processors</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Crystal-control-clock-on-the-9s08QB-processors/m-p/447704#M21584</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;Please note that the Central Processor Unit of the S08QB Series, works up to &lt;STRONG&gt;20 MHZ&lt;/STRONG&gt; as follow:&lt;/P&gt;&lt;P&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="1.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/51890iA405CD496E75CD20/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.jpg" alt="1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;I assume your application does not work as expected due to the &lt;STRONG&gt;FLL factor&lt;/STRONG&gt; corresponding to the DCO frequency range (Table 11-7 - Reference Manual).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="2.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/51900i8DDACFC69BE15836/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.jpg" alt="2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;The resulting bus clock frequency should not exceed the maximum specified bus clock frequency of the device.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Freescale does not guarantee the proper behavior of the device out of the ranges mentioned on the datasheet.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the other hand, the S08QE Series has different operation levels:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="3.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/51907iE730E96F9546D393/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.jpg" alt="3.jpg" /&gt;&lt;/span&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this information will be useful for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have an excellent day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 19:55:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Crystal-control-clock-on-the-9s08QB-processors/m-p/447704#M21584</guid>
      <dc:creator>david_diaz</dc:creator>
      <dc:date>2015-07-07T19:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Crystal control clock on the 9s08QB processors</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Crystal-control-clock-on-the-9s08QB-processors/m-p/447705#M21585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is actually the issue that we appear to be having, We can not get the bus to run at 20 MHz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10 MHz bus runs fine but that does not provide the closk output that is needed from the TPM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have ordered some chips from a different batch to see if they will work as described.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 02:55:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Crystal-control-clock-on-the-9s08QB-processors/m-p/447705#M21585</guid>
      <dc:creator>SuperDave</dc:creator>
      <dc:date>2015-07-08T02:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Crystal control clock on the 9s08QB processors</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Crystal-control-clock-on-the-9s08QB-processors/m-p/447706#M21586</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;In case you are referring to the S08QB Series, it is not recommended to set the bus clock at 20 MHZ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note that &lt;STRONG&gt;the &lt;SPAN class="highlight"&gt;Bus clock&lt;/SPAN&gt; frequency is one-half of the CPU clock frequency&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;If you set the bus clock at 20 MHz implies that the Core is running at 40 MHz which is out of the range. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;As I mentioned before, the resulting bus clock frequency should not exceed the maximum specified bus clock frequency of the device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;Hope this information will be useful for you.&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;Have a great day.&lt;/P&gt;&lt;P style="text-align: justify;"&gt;David &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 15:13:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Crystal-control-clock-on-the-9s08QB-processors/m-p/447706#M21586</guid>
      <dc:creator>david_diaz</dc:creator>
      <dc:date>2015-07-08T15:13:14Z</dc:date>
    </item>
  </channel>
</rss>

