<?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>topic Re: how to calculate on chip temperature? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/how-to-calculate-on-chip-temperature/m-p/430971#M24985</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/338038"&gt;Temp sensor reading on MKL16ZxxM4&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 May 2015 13:00:11 GMT</pubDate>
    <dc:creator>egoodii</dc:creator>
    <dc:date>2015-05-14T13:00:11Z</dc:date>
    <item>
      <title>how to calculate on chip temperature?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/how-to-calculate-on-chip-temperature/m-p/430970#M24984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have got below data from KEA128RM. But I still don't know how to get real chip temperature.&lt;/P&gt;&lt;P&gt;Pls help it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;The ADC module integrates an on-chip temperature sensor. Following actions must be&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;performed to use this temperature sensor.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;• Configure ADC for long sample with a maximum of 1 MHz clock&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;• Convert the bandgap voltage reference channel (AD23)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;• By converting the digital value of the bandgap voltage reference channel using&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;the value of VBG, the user can determine VDD.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;• Convert the temperature sensor channel (AD22)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;• By using the calculated value of VDD, convert the digital value of AD22 into a&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;voltage, VTEMP&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 06:21:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/how-to-calculate-on-chip-temperature/m-p/430970#M24984</guid>
      <dc:creator>anotherone</dc:creator>
      <dc:date>2015-05-14T06:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: how to calculate on chip temperature?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/how-to-calculate-on-chip-temperature/m-p/430971#M24985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/338038"&gt;Temp sensor reading on MKL16ZxxM4&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 13:00:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/how-to-calculate-on-chip-temperature/m-p/430971#M24985</guid>
      <dc:creator>egoodii</dc:creator>
      <dc:date>2015-05-14T13:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to calculate on chip temperature?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/how-to-calculate-on-chip-temperature/m-p/430972#M24986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Earl,&lt;/P&gt;&lt;P&gt;I've had a brief look through the &lt;A _jive_internal="true" data-containerid="2019" data-containertype="14" data-content-finding="Community" data-objectid="338038" data-objecttype="1" href="https://community.nxp.com/thread/338038"&gt;Temp sensor reading on MKL16ZxxM4&lt;/A&gt; and &lt;A _jive_internal="true" data-containerid="2019" data-containertype="14" data-content-finding="Community" data-objectid="350605" data-objecttype="2" href="https://community.nxp.com/message/350605#350605"&gt;Re: K70 Temperature reading - Slopes.&lt;/A&gt;​&lt;/P&gt;&lt;P&gt;In general, I agree with you. The Eqn 1 can work when V&lt;SPAN style="font-size: 8pt;"&gt;DD&lt;/SPAN&gt;=3V, however when the V&lt;SPAN style="font-size: 8pt;"&gt;DD&lt;/SPAN&gt; becomes 3.6V, the V&lt;SPAN style="font-size: 8pt;"&gt;TEM25&lt;/SPAN&gt; can't be as same as when the V&lt;SPAN style="font-size: 8pt;"&gt;DD&lt;/SPAN&gt; is 3.0V according to the Figure 1.&lt;/P&gt;&lt;P&gt;So I think the key point is guaranteeing the V&lt;SPAN style="font-size: 8pt;"&gt;DD&lt;/SPAN&gt; is 3V.&lt;/P&gt;&lt;P&gt;Have a great day,&lt;/P&gt;&lt;P&gt;Ping&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2015 08:10:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/how-to-calculate-on-chip-temperature/m-p/430972#M24986</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2015-11-06T08:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to calculate on chip temperature?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/how-to-calculate-on-chip-temperature/m-p/430973#M24987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Depends on what you mean by 'reading'.&amp;nbsp; Figure 1 looks at readings in ADC counts, and while that IS what you get from the basic hardware, my process immediately dispenses with ADC counts by direct conversion to mV, which of course DOES require inclusion of the 'reference voltage', WHATEVER the value, as a necessary means to find mV/LSB.&amp;nbsp; So I use 3000/65536 from my 3V reference and 16-bit AtoD mode, others use Vref=3300mV, and certainly you could use 3600mV, which on 16 bits would simply indicate .055mV/LSB.&amp;nbsp; A sample 738mV would come in as 13,435 counts, and that times 3600 is some 48million, thence divided by 65536 is back to 738.&amp;nbsp; There are probably 'minor effects' of Vdd on the measured voltage to the extent THAT possibly varies the 'current source' used to drive the Vbe measurement of this on-chip temperature sense, but only as a VERY MINOR secondary effect.&amp;nbsp; In ANY case, without further calibration efforts this process will net you +/-10C at best, including datasheet tolerance on Vtemp25 and other sources.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But once the equations reduce to mV, then the final (integer) "25000-(Vtemp-Vtemp25)*inverse_slope" is the single equation to return temperature in mC.&amp;nbsp; The on-chip temperature voltage is an absolute voltage varying with temperature only.&amp;nbsp; Hence, the datasheet spec that Vtemp25 is an 'absolute' (nominal) 716mV and an (inverse) slope of 617mC/mV (recent K60 data).&amp;nbsp; So using the previous sample-example, 25000-(738-716)*617 yields 11,426mC or 11C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For a reference on the absolute-voltage-nature of on-chip-temp-sense, see also:&lt;/P&gt;&lt;P&gt;&lt;A href="https://en.wikipedia.org/wiki/Silicon_bandgap_temperature_sensor" title="https://en.wikipedia.org/wiki/Silicon_bandgap_temperature_sensor"&gt;Silicon bandgap temperature sensor - Wikipedia, the free encyclopedia&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2015 15:30:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/how-to-calculate-on-chip-temperature/m-p/430973#M24987</guid>
      <dc:creator>egoodii</dc:creator>
      <dc:date>2015-11-06T15:30:19Z</dc:date>
    </item>
  </channel>
</rss>

