<?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のトピックSG8 / SH8 Temperature Sensor Specification Errors</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/SG8-SH8-Temperature-Sensor-Specification-Errors/m-p/155502#M8821</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;My application requires the calculation of temperature from the internal temperature sensor of the S08.&amp;nbsp; We plan on using the SG8 since it is aimed at automotive apps, but we are starting with the SH8 since it&amp;nbsp;is nearly equivalent, and the chips are readily available for prototypes.&amp;nbsp; The processor supply will be 5V.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Due to the significant similarities between the SG8 and SH8 I will only refer to the SH8 from here on out unless there is a specific difference.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The following&amp;nbsp;excerpt is from&amp;nbsp;section "9.1.4 Temperature Sensor" of the SH8 datasheet Rev.1 11/2007:&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P align="left"&gt;&lt;SPAN style=": ; color: #474386; font-size: 2; font-family: 'Times New Roman';"&gt;&lt;STRONG&gt;"Equation 9-1 &lt;SPAN style="color: #000000;"&gt;&lt;SPAN style="font-family: 'Times New Roman';"&gt;provides an approximate transfer function of the on-chip temperature sensor for V&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman'; font-size: 2;"&gt;DD&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style=": ; color: #000000; font-family: 'Times New Roman';"&gt;= 5.0V,&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;&lt;SPAN style="font-family: 'Times New Roman';"&gt;Temp = 25&lt;/SPAN&gt;&lt;SPAN style="font-family: Symbol;"&gt;°&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman';"&gt;C, using the ADC1 at f&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman'; font-size: 2;"&gt;ADCK&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Times New Roman';"&gt;= 1.0MHz and configured for long sample.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Temp&lt;SPAN style="font-family: Arial; font-size: 1;"&gt;C&lt;/SPAN&gt; &lt;SPAN style="font-family: Arial; font-size: 2;"&gt;= 25 - ( (V&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial; font-size: 1;"&gt;TEMP&lt;/SPAN&gt; &lt;SPAN style="font-family: Arial; font-size: 2;"&gt;- 0.7013) / 0.0017 )&lt;/SPAN&gt; &lt;I&gt;&lt;SPAN style="font-family: Arial; font-size: 2;"&gt;Eqn. 9-1&lt;/SPAN&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: 'Times New Roman';"&gt;0.0017 is the uncalibrated voltage versus temperature slope in V/&lt;/SPAN&gt;&lt;SPAN style="font-family: Symbol;"&gt;°&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman';"&gt;C. Uncalibrated accuracy of the temperature sensor is approximately&lt;/SPAN&gt; &lt;SPAN style="font-family: Symbol; font-size: 1;"&gt;±&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Times New Roman';"&gt;12&lt;/SPAN&gt;&lt;SPAN style="font-family: Symbol;"&gt;°&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman';"&gt;C, using&lt;/SPAN&gt; &lt;SPAN style="color: #474386; font-family: 'Times New Roman';"&gt;Equation 9-1&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman';"&gt;."&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The following is my understanding of the preceding excerpt so please reply if I am off in any way...&lt;/DIV&gt;&lt;OL&gt;&lt;LI&gt;The constant 0.0017 (1.7mV/C) is supposed to be the temperature sensors slope with VDD = 5V.&lt;/LI&gt;&lt;LI&gt;The constant 0.7013V is supposed to be the voltage of the temp sensor at 25C with VDD = 5V.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Contrary to these 2 points is the data&amp;nbsp;at the bottom of "&lt;STRONG&gt;&lt;SPAN style="font-family: Arial; font-size: 2;"&gt;Table A-12. ADC Characteristics".&lt;/SPAN&gt;&lt;/STRONG&gt;a&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The temp sensor slopes are 3.266 and 3.638mV/C for -40 to 25C and 25 to 125C respectively with VDD = 5V.&lt;/LI&gt;&lt;LI&gt;The temp sensor voltage is supposed to be 1.396V at 25C with VDD = 5V.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Both of these data pairs cannot be correct.&amp;nbsp; As it turns out, the numbers used in Equation 9-1 of the SH8/SG8 datasheet are incorrect for VDD = 5V, but would be correct for 3V.&amp;nbsp; The data in Table A-12 is correct (with the exception that the 25C/5V temp senor voltage is shown as 1.396mV instead of 1.396V).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My local FAE has confirmed that the numbers in Table A-12 are correct, and the numbers in Equation 9-1 are incorrect for VDD = 5V; however my FAE also thought that the SH8 was a 3V part when it is actually a 5V part.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So to double check, can anyone confirm that for an S08 part (preferably an SH8 or SG8) that with VDD = 5V, that the 25C temp-sensor voltage is ~1.396V and that the slope(s) are near 3.4mV/C?&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 May 2008 04:05:24 GMT</pubDate>
    <dc:creator>nguzzard</dc:creator>
    <dc:date>2008-05-13T04:05:24Z</dc:date>
    <item>
      <title>SG8 / SH8 Temperature Sensor Specification Errors</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/SG8-SH8-Temperature-Sensor-Specification-Errors/m-p/155502#M8821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;My application requires the calculation of temperature from the internal temperature sensor of the S08.&amp;nbsp; We plan on using the SG8 since it is aimed at automotive apps, but we are starting with the SH8 since it&amp;nbsp;is nearly equivalent, and the chips are readily available for prototypes.&amp;nbsp; The processor supply will be 5V.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Due to the significant similarities between the SG8 and SH8 I will only refer to the SH8 from here on out unless there is a specific difference.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The following&amp;nbsp;excerpt is from&amp;nbsp;section "9.1.4 Temperature Sensor" of the SH8 datasheet Rev.1 11/2007:&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P align="left"&gt;&lt;SPAN style=": ; color: #474386; font-size: 2; font-family: 'Times New Roman';"&gt;&lt;STRONG&gt;"Equation 9-1 &lt;SPAN style="color: #000000;"&gt;&lt;SPAN style="font-family: 'Times New Roman';"&gt;provides an approximate transfer function of the on-chip temperature sensor for V&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman'; font-size: 2;"&gt;DD&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style=": ; color: #000000; font-family: 'Times New Roman';"&gt;= 5.0V,&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;&lt;SPAN style="font-family: 'Times New Roman';"&gt;Temp = 25&lt;/SPAN&gt;&lt;SPAN style="font-family: Symbol;"&gt;°&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman';"&gt;C, using the ADC1 at f&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman'; font-size: 2;"&gt;ADCK&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Times New Roman';"&gt;= 1.0MHz and configured for long sample.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Temp&lt;SPAN style="font-family: Arial; font-size: 1;"&gt;C&lt;/SPAN&gt; &lt;SPAN style="font-family: Arial; font-size: 2;"&gt;= 25 - ( (V&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial; font-size: 1;"&gt;TEMP&lt;/SPAN&gt; &lt;SPAN style="font-family: Arial; font-size: 2;"&gt;- 0.7013) / 0.0017 )&lt;/SPAN&gt; &lt;I&gt;&lt;SPAN style="font-family: Arial; font-size: 2;"&gt;Eqn. 9-1&lt;/SPAN&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: 'Times New Roman';"&gt;0.0017 is the uncalibrated voltage versus temperature slope in V/&lt;/SPAN&gt;&lt;SPAN style="font-family: Symbol;"&gt;°&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman';"&gt;C. Uncalibrated accuracy of the temperature sensor is approximately&lt;/SPAN&gt; &lt;SPAN style="font-family: Symbol; font-size: 1;"&gt;±&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Times New Roman';"&gt;12&lt;/SPAN&gt;&lt;SPAN style="font-family: Symbol;"&gt;°&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman';"&gt;C, using&lt;/SPAN&gt; &lt;SPAN style="color: #474386; font-family: 'Times New Roman';"&gt;Equation 9-1&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman';"&gt;."&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The following is my understanding of the preceding excerpt so please reply if I am off in any way...&lt;/DIV&gt;&lt;OL&gt;&lt;LI&gt;The constant 0.0017 (1.7mV/C) is supposed to be the temperature sensors slope with VDD = 5V.&lt;/LI&gt;&lt;LI&gt;The constant 0.7013V is supposed to be the voltage of the temp sensor at 25C with VDD = 5V.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Contrary to these 2 points is the data&amp;nbsp;at the bottom of "&lt;STRONG&gt;&lt;SPAN style="font-family: Arial; font-size: 2;"&gt;Table A-12. ADC Characteristics".&lt;/SPAN&gt;&lt;/STRONG&gt;a&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The temp sensor slopes are 3.266 and 3.638mV/C for -40 to 25C and 25 to 125C respectively with VDD = 5V.&lt;/LI&gt;&lt;LI&gt;The temp sensor voltage is supposed to be 1.396V at 25C with VDD = 5V.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Both of these data pairs cannot be correct.&amp;nbsp; As it turns out, the numbers used in Equation 9-1 of the SH8/SG8 datasheet are incorrect for VDD = 5V, but would be correct for 3V.&amp;nbsp; The data in Table A-12 is correct (with the exception that the 25C/5V temp senor voltage is shown as 1.396mV instead of 1.396V).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My local FAE has confirmed that the numbers in Table A-12 are correct, and the numbers in Equation 9-1 are incorrect for VDD = 5V; however my FAE also thought that the SH8 was a 3V part when it is actually a 5V part.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So to double check, can anyone confirm that for an S08 part (preferably an SH8 or SG8) that with VDD = 5V, that the 25C temp-sensor voltage is ~1.396V and that the slope(s) are near 3.4mV/C?&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2008 04:05:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/SG8-SH8-Temperature-Sensor-Specification-Errors/m-p/155502#M8821</guid>
      <dc:creator>nguzzard</dc:creator>
      <dc:date>2008-05-13T04:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: SG8 / SH8 Temperature Sensor Specification Errors</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/SG8-SH8-Temperature-Sensor-Specification-Errors/m-p/155503#M8822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The formula given as Eqn 9-1 is similar to that given for many other S08 devices that simply use the voltage drop across a single diode as the sensor output.&amp;nbsp; However, if Table A-12 is at least partly deemed correct, this would indicate that a&amp;nbsp;different temperature sensor is used in the SH8 device.&amp;nbsp; I agree that the specified output voltage at 25C would be incorrect, since this would involve negative values at one of the temperature extremes.&amp;nbsp; In all probability the units should be in volts, rather than mV.&amp;nbsp; You might easily check this with an actual measurement of the temperature sensor.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If a new temperature sensor is involved, it cannot be taken for granted that the temperature coefficient will be negative.&amp;nbsp;&amp;nbsp;However, it would appear that the new sensor might consist of two diodes in series, but this would need to be confirmed.&amp;nbsp;&amp;nbsp;So assuming a negative coefficient, I suspect that the previous formula&amp;nbsp;should be as follows, for the high temperature range.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier New"&gt;Temp&lt;FONT size="1"&gt;C&lt;/FONT&gt; &lt;FONT size="2"&gt;= 25 - ((V&lt;/FONT&gt;&lt;FONT size="1"&gt;TEMP&lt;/FONT&gt; &lt;FONT size="2"&gt;- 1.396)/0.003638)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Normally temperature sensors will produce an absolue&amp;nbsp;ouput voltage, and would not be&amp;nbsp;linearly dependent on Vdd, but&amp;nbsp;this needs to be clarified for the SH8 case.&amp;nbsp; It&amp;nbsp;would only be the ADC reading that would be Vdd dependent.&amp;nbsp; Hence the need to also measure the reference voltage, as stated&amp;nbsp;in the descriptive information.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This issue has been discussed in recent threads on this forum, that can be found using the search engine at the bottom of this page.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Mac&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2008 09:51:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/SG8-SH8-Temperature-Sensor-Specification-Errors/m-p/155503#M8822</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2008-05-13T09:51:36Z</dc:date>
    </item>
  </channel>
</rss>

