<?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: S08P - ICS trimming resolution, in datasheet, is correct ?</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S08P-ICS-trimming-resolution-in-datasheet-is-correct/m-p/511036#M21995</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jose,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;Indeed, the Internal Reference Clock (IRC) is trimmed by a 9-bit value in the ICS registers, which gives a typical resolution of 0.1% of the IRC’s untrimmed frequency. Unlike many other internal references, this IRC can be trimmed to a range of frequencies, from 31.25 kHz to 39.06 kHz. When used as the FLL reference, this allows the user to set the bus frequency anywhere with 0.1% resolution. After trimming, the typical deviation from the trimmed frequency is only +0.5% to –1% typical and only ±2% maximum.&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;/P&gt;&lt;P&gt;In case of the S08PA, you may refer to the following information: &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="trim.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/53309i6FC05176B7CFCD05/image-size/large?v=v2&amp;amp;px=999" role="button" title="trim.jpg" alt="trim.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The parameters mentioned above are based on the &lt;A href="http://www.nxp.com/files/microcontrollers/doc/data_sheet/MC9S08PA16_Rev.1.pdf"&gt;S08PA16 datasheet&lt;/A&gt;, more specifically at Table 10.&lt;/P&gt;&lt;P&gt;Where did you get that formula? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope the last information will be useful for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I misunderstood your question, please let me know. I will be glad to help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Feb 2016 00:53:22 GMT</pubDate>
    <dc:creator>david_diaz</dc:creator>
    <dc:date>2016-02-17T00:53:22Z</dc:date>
    <item>
      <title>S08P - ICS trimming resolution, in datasheet, is correct ?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S08P-ICS-trimming-resolution-in-datasheet-is-correct/m-p/511035#M21994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;All documentation I have consulted about 'S08 5.5V Series - ICS trimming' indicates that 'Trim Resolution' is :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; +/-0.2% typ. of untrimmed frequency (8bit, SCFTRIM not in use)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; +/-0.1% typ. of untrimmed frequency (9 bit, SCFTRIM in use)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But S08PA16 Reference Manual, pag. 186, 'Example 8.3.1.1', says :&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TRIM_VALUE_39K0625HZ; /* FLL output 20MHz, TRIM_VALUE_39K0625HZ is ~0x50 typically&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TRIM_VALUE_31K25HZ; /* FLL output 16MHz, TRIM_VALUE_31K25HZ is ~0x90 typically */&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With these data, and assuming untrimmed frequency = 36kHz typ., I can calculate :&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (39.0625 kHz - 31.25 kHz)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -----------------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (0x50 - 0x90)&lt;/P&gt;&lt;P&gt;------------------------------------------- x100 = 0.34% typ of untrimmed frequency (8 bit)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 36 kHz&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;This calculated 0.34% is slightly&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;worse than&lt;/SPAN&gt; the &lt;SPAN class="hps"&gt;specified 0.2%.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Am I correct ? Is datasheet wrong ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Thank you very much for your assistance&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;JoseAntonio Berruezo&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2016 15:56:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/S08P-ICS-trimming-resolution-in-datasheet-is-correct/m-p/511035#M21994</guid>
      <dc:creator>joseantonioberr</dc:creator>
      <dc:date>2016-02-15T15:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: S08P - ICS trimming resolution, in datasheet, is correct ?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S08P-ICS-trimming-resolution-in-datasheet-is-correct/m-p/511036#M21995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jose,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;Indeed, the Internal Reference Clock (IRC) is trimmed by a 9-bit value in the ICS registers, which gives a typical resolution of 0.1% of the IRC’s untrimmed frequency. Unlike many other internal references, this IRC can be trimmed to a range of frequencies, from 31.25 kHz to 39.06 kHz. When used as the FLL reference, this allows the user to set the bus frequency anywhere with 0.1% resolution. After trimming, the typical deviation from the trimmed frequency is only +0.5% to –1% typical and only ±2% maximum.&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;/P&gt;&lt;P&gt;In case of the S08PA, you may refer to the following information: &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="trim.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/53309i6FC05176B7CFCD05/image-size/large?v=v2&amp;amp;px=999" role="button" title="trim.jpg" alt="trim.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The parameters mentioned above are based on the &lt;A href="http://www.nxp.com/files/microcontrollers/doc/data_sheet/MC9S08PA16_Rev.1.pdf"&gt;S08PA16 datasheet&lt;/A&gt;, more specifically at Table 10.&lt;/P&gt;&lt;P&gt;Where did you get that formula? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope the last information will be useful for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I misunderstood your question, please let me know. I will be glad to help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 00:53:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/S08P-ICS-trimming-resolution-in-datasheet-is-correct/m-p/511036#M21995</guid>
      <dc:creator>david_diaz</dc:creator>
      <dc:date>2016-02-17T00:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: S08P - ICS trimming resolution, in datasheet, is correct ?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S08P-ICS-trimming-resolution-in-datasheet-is-correct/m-p/511037#M21996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp; David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN title="Lo que he hecho es intentar verificar la 'trim resolution' proporcionada por el fabricante mediante mis propios cálculos."&gt;What I have done is to try to verify the 'trim resolution' indicated by Manufacturer, with my own calculations.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN title="Para ello :"&gt;For that :&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN title="1. El ejemplo 8.3.1.1 dice :"&gt;- Example 8.3.1.1 says:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN title="1.1 El IRC da 39.0625kHz con SCTRIM ~ 0x50 típicamente (al despreciar SCFTRIM nosotros estamos trabajando con 8 bits)"&gt;- The IRC gives 39.0625kHz with SCTRIM typically ~ 0x50 (by neglecting SCFTRIM we are working with 8 bits)&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN title="1.2 El IRC da 31.25kHz con SCTRIM ~ 0x90 típicamente"&gt;- The IRC gives 31.25kHz with SCTRIM typically ~ 0x90&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN title="2. Luego, típicamente, una variación de SCTRIM = 0x90 - 0x50 = 0x40 = 64 causa un variación de frecuencia del IRC = 31.25kHz - 39.0625kHz = -7.8125kHz"&gt;- Then, typically, a variation of SCTRIM = 0x90 - 0x50 = 0x40 = 64 causes a frequency variation IRC = 31.25kHz - 39.0625kHz = -7.8125kHz&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN title="3. Por definición, la resolución absoluta es la mínima variación de señal de entrada/salida que un sistema es capaz de medir/generar, por tanto yo entiendo por resolución absoluta del trimer del IRC la mínima variación de frecuencia que es capaz de producir,"&gt;- By definition, the absolute resolution is the minimum change in input / output that a system is able to measure / generate, so I understand that 'absolute resolution of IRC trimer' is the lowest frequency variation which is capable of producing, &lt;/SPAN&gt;&lt;SPAN title="lo que sucede cuando SCTRIM varía 1 punto"&gt;what happens when SCTRIM varies 1 point&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN title="4. Así puedo calcular una resolución absoluta típica = -7.8125kHz / 64 = -0.122kHz."&gt;- So I can calculate a typical absolute resolution = -7.8125kHz / 64 = -0.122kHz. &lt;/SPAN&gt;&lt;SPAN title="Es decir típicamente una variación de 1 punto de SCTRIM causa una variación de -0.122kHz en la frecuencia del IRC"&gt;ie typically a variation of 1 point in SCTRIM causes a variation of -0.122kHz in the frequency of IRC &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN title="5. Y ahora puedo calcular una resolución relativa en porcentaje, y con una untrimmed frequency típica de 36kHz = 0.122kHz / 36kHz · 100 = 0.34%"&gt;- And I can now calculate a 'relative resolution, on a percentage, with a typical untrimmed frequency of 36kHz' = 0.122kHz / 36kHz · 100 = 0.34%&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN title="6. Este dato que yo obtengo con mis cálculos, 0.34%, es peor que el dato que especifica el fabricante, trabajando con 8 bits, del 0.2% Cual es el valor correcto ?"&gt;- The data that I get to my calculations, 0.34%, is worse than the data specified by the manufacturer, working with 8-bit, 0.2% &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN title="6. Este dato que yo obtengo con mis cálculos, 0.34%, es peor que el dato que especifica el fabricante, trabajando con 8 bits, del 0.2% Cual es el valor correcto ?"&gt;Which is the correct value? &lt;/SPAN&gt;&lt;SPAN title="Pienso que necesito tener un valor de 'typical trim resolution' fiable para evitarme tener que calibrar un IRC que quiero hacer trabajar a una frequencia diferente a la que viene factory trimmed."&gt;I think I need to have a value of&amp;nbsp; 'typical trim resolution' reliable to avoid having to calibrate an IRC that I want it works at a different frequency to the factory trimmed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN title="Pienso que necesito tener un valor de 'typical trim resolution' fiable para evitarme tener que calibrar un IRC que quiero hacer trabajar a una frequencia diferente a la que viene factory trimmed."&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN title="Pienso que necesito tener un valor de 'typical trim resolution' fiable para evitarme tener que calibrar un IRC que quiero hacer trabajar a una frequencia diferente a la que viene factory trimmed."&gt;Thank you very much for your assistance&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN title="Pienso que necesito tener un valor de 'typical trim resolution' fiable para evitarme tener que calibrar un IRC que quiero hacer trabajar a una frequencia diferente a la que viene factory trimmed."&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN title="Pienso que necesito tener un valor de 'typical trim resolution' fiable para evitarme tener que calibrar un IRC que quiero hacer trabajar a una frequencia diferente a la que viene factory trimmed."&gt;Have a nice day,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN title="Pienso que necesito tener un valor de 'typical trim resolution' fiable para evitarme tener que calibrar un IRC que quiero hacer trabajar a una frequencia diferente a la que viene factory trimmed."&gt;Jose&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 11:44:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/S08P-ICS-trimming-resolution-in-datasheet-is-correct/m-p/511037#M21996</guid>
      <dc:creator>joseantonioberr</dc:creator>
      <dc:date>2016-02-17T11:44:41Z</dc:date>
    </item>
  </channel>
</rss>

