<?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: Frequency</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Frequency/m-p/211643#M18233</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, and welcome to the forum.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The internal oscillator that you refer is the DCO (digitally controlled oscillator), which is part of the FLL (frequency locked loop) that may be utilized to generate the bus clock.&amp;nbsp; The DCO has a control range of 32-40 MHz.&amp;nbsp; The DCO frequency&amp;nbsp;will be divided down to a lower frequency, to provide the bus frequency (20 MHz maximum).&amp;nbsp; The minimum division factor is 2.&amp;nbsp; The division factor may be increased above this using the BDIV setting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An internal reference oscillator is provided&amp;nbsp;to control of the FLL frequency.&amp;nbsp; This has a trimmable frequency range 31.25 - 39.0625 kHz.&amp;nbsp; The FLL will lock at a frequency of 1024 times the internal reference frequency (32 - 40 MHz).&amp;nbsp;&amp;nbsp;The FLL will provide the bus frequency&amp;nbsp;using the&amp;nbsp;internal reference, whenever FEI mode is selected.&amp;nbsp; This is actually&amp;nbsp;the power-up default mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Before trimming is applied, the internal reference frequency will be within the approximate&amp;nbsp;range 35kHz +/- 25%, and the default BDIV setting will give a total division factor of 4.&amp;nbsp; The resulting bus frequency will be about 9 MHz +/- 25%.&amp;nbsp; The trim value needs to be calibrated for each individual device, to achieve a specific reference frequency.&amp;nbsp; This calibration is particularly important if you need to operate&amp;nbsp;close to the&amp;nbsp;maximum allowable bus frequency.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To achieve 20MHz bus frequency, using FEI mode, the following steps would be required -&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;During the flash programming process, the internal reference needs to be calibrated for a frequency of 39.0625 kHz.&amp;nbsp; This is the "non-volatile (NV) trim", and is programmed to a specific flash memory&amp;nbsp;location.&lt;/LI&gt;&lt;LI&gt;During MCU initialisation, the NV trim setting is read from flash, and written to the normal trim register.&amp;nbsp; The bus frequency will now be close to 10 MHz.&lt;/LI&gt;&lt;LI&gt;Now change the BDIV setting from&amp;nbsp;power-up default, to increase the bus frequency to 20 MHz.&amp;nbsp; This should never be done&amp;nbsp;until after the interal reference frequency has been trimmed.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Mar 2012 10:57:44 GMT</pubDate>
    <dc:creator>bigmac</dc:creator>
    <dc:date>2012-03-01T10:57:44Z</dc:date>
    <item>
      <title>Frequency</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Frequency/m-p/211642#M18232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok i hope my english will be clear enough !Also I m new in this forum i'm not sure to be in the good section but it suit pretty well for my problem !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My problem is on the MC9S08SH8 which one has an internal oscilator to 40 MHz, well that's what says datasheet but i don't manage to use it !&lt;/P&gt;&lt;P&gt;I mean in lab i only have 2 MHz &amp;nbsp;for using Timer with bus rate clock ! but in fact someone told me to use it !&lt;/P&gt;&lt;P&gt;So my question is : can we use the 40 MHz frequency (without using external tool) to use with a interruption routine !&lt;/P&gt;&lt;P&gt;And if it's not possible why do the datasheet says there is a 40MHz &lt;SPAN style="text-decoration: underline;"&gt;INTERNAL&lt;/SPAN&gt; oscilator !&lt;/P&gt;&lt;P&gt;Hope i'll get help !&lt;/P&gt;&lt;P&gt;Thanks before you answered !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 05:31:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Frequency/m-p/211642#M18232</guid>
      <dc:creator>Flynn</dc:creator>
      <dc:date>2012-03-01T05:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Frequency</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Frequency/m-p/211643#M18233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, and welcome to the forum.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The internal oscillator that you refer is the DCO (digitally controlled oscillator), which is part of the FLL (frequency locked loop) that may be utilized to generate the bus clock.&amp;nbsp; The DCO has a control range of 32-40 MHz.&amp;nbsp; The DCO frequency&amp;nbsp;will be divided down to a lower frequency, to provide the bus frequency (20 MHz maximum).&amp;nbsp; The minimum division factor is 2.&amp;nbsp; The division factor may be increased above this using the BDIV setting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An internal reference oscillator is provided&amp;nbsp;to control of the FLL frequency.&amp;nbsp; This has a trimmable frequency range 31.25 - 39.0625 kHz.&amp;nbsp; The FLL will lock at a frequency of 1024 times the internal reference frequency (32 - 40 MHz).&amp;nbsp;&amp;nbsp;The FLL will provide the bus frequency&amp;nbsp;using the&amp;nbsp;internal reference, whenever FEI mode is selected.&amp;nbsp; This is actually&amp;nbsp;the power-up default mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Before trimming is applied, the internal reference frequency will be within the approximate&amp;nbsp;range 35kHz +/- 25%, and the default BDIV setting will give a total division factor of 4.&amp;nbsp; The resulting bus frequency will be about 9 MHz +/- 25%.&amp;nbsp; The trim value needs to be calibrated for each individual device, to achieve a specific reference frequency.&amp;nbsp; This calibration is particularly important if you need to operate&amp;nbsp;close to the&amp;nbsp;maximum allowable bus frequency.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To achieve 20MHz bus frequency, using FEI mode, the following steps would be required -&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;During the flash programming process, the internal reference needs to be calibrated for a frequency of 39.0625 kHz.&amp;nbsp; This is the "non-volatile (NV) trim", and is programmed to a specific flash memory&amp;nbsp;location.&lt;/LI&gt;&lt;LI&gt;During MCU initialisation, the NV trim setting is read from flash, and written to the normal trim register.&amp;nbsp; The bus frequency will now be close to 10 MHz.&lt;/LI&gt;&lt;LI&gt;Now change the BDIV setting from&amp;nbsp;power-up default, to increase the bus frequency to 20 MHz.&amp;nbsp; This should never be done&amp;nbsp;until after the interal reference frequency has been trimmed.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 10:57:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Frequency/m-p/211643#M18233</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2012-03-01T10:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Frequency</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Frequency/m-p/211644#M18234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your help really !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ok i feel noobie now !&lt;/P&gt;&lt;P&gt;I understood the last point which is setted in the ICSC2 reg !&lt;/P&gt;&lt;P&gt;the second point &amp;nbsp;about the MCU initialisation, is it supposed to be me to do this ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;And the first i juste don't understand ! the only thing i found is the RDIV bits in the ICSC1 and they are all setled to 0 anyway i don't think i understood this part ! Are there registers or other ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 20:35:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Frequency/m-p/211644#M18234</guid>
      <dc:creator>Flynn</dc:creator>
      <dc:date>2012-03-01T20:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Frequency</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Frequency/m-p/211645#M18235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;UPDATE :&lt;/P&gt;&lt;P&gt;Ok i just understood some things, the only remaining is the 32.0625 kHz calibrated clock i don't understand how to do that !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 22:28:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Frequency/m-p/211645#M18235</guid>
      <dc:creator>Flynn</dc:creator>
      <dc:date>2012-03-01T22:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Frequency</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Frequency/m-p/211646#M18236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok finally i understood but between you and me i would never search where i found if you didn't put me on the right way thank you so much !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 23:18:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Frequency/m-p/211646#M18236</guid>
      <dc:creator>Flynn</dc:creator>
      <dc:date>2012-03-01T23:18:59Z</dc:date>
    </item>
  </channel>
</rss>

