<?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: Temp sensor reading on MKL16ZxxM4 in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Temp-sensor-reading-on-MKL16ZxxM4/m-p/382764#M20399</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi adrian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)&amp;nbsp; when&amp;nbsp;&amp;nbsp; COCO == 1 , conversion is completed;&lt;/P&gt;&lt;P&gt;2)&amp;nbsp; ADC input measured Value = temp *( Vref /( 0xFFFFFFFF +1) )&lt;/P&gt;&lt;P&gt;3) About the use of&amp;nbsp; temperature sensor , you can refer to this&amp;nbsp;&amp;nbsp; &lt;A href="http://cache.freescale.com/files/microcontrollers/doc/app_note/AN3031.pdf" title="http://cache.freescale.com/files/microcontrollers/doc/app_note/AN3031.pdf"&gt;http://cache.freescale.com/files/microcontrollers/doc/app_note/AN3031.pdf&lt;/A&gt;&amp;nbsp; , even though it about the HCSO8 microcontroller ,&lt;/P&gt;&lt;P&gt;the theory is the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'inherit','serif'; color: #3d3d3d;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'inherit','serif'; color: #3d3d3d;"&gt;Alice&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'inherit','serif'; color: #3d3d3d;"&gt;------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'inherit','serif'; color: #3d3d3d;"&gt;If this post answers your question, please click the Correct Answer button. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;-----------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;If this post help your question, please click the helpful Answer button. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 04 Jan 2015 02:39:10 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2015-01-04T02:39:10Z</dc:date>
    <item>
      <title>Temp sensor reading on MKL16ZxxM4</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Temp-sensor-reading-on-MKL16ZxxM4/m-p/382763#M20398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am just starting to work with ADC and the temp sensor and I have some basic questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I set up my ADC with some basic settings (SC2 = 0x0, CFG = 0x78, SC1 = 0x1F) and write SC1 = 0x1A to trigger the conversion. I after I read COCO == 0, I try to read the R register. Based on my configuration, this should give me a 10-bit, single-ended voltage value at ambient temperature. If I read the value of the R register as &lt;SPAN style="font-family: 'courier new', courier;"&gt;uint32_t temp = &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;*(uint32_t*)0x4003b010&lt;/SPAN&gt;, am I going to get the correct value that I need for my calculations? What unit is this value going to be?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance for your assistance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jan 2015 05:46:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Temp-sensor-reading-on-MKL16ZxxM4/m-p/382763#M20398</guid>
      <dc:creator>adrian11</dc:creator>
      <dc:date>2015-01-02T05:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Temp sensor reading on MKL16ZxxM4</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Temp-sensor-reading-on-MKL16ZxxM4/m-p/382764#M20399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi adrian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)&amp;nbsp; when&amp;nbsp;&amp;nbsp; COCO == 1 , conversion is completed;&lt;/P&gt;&lt;P&gt;2)&amp;nbsp; ADC input measured Value = temp *( Vref /( 0xFFFFFFFF +1) )&lt;/P&gt;&lt;P&gt;3) About the use of&amp;nbsp; temperature sensor , you can refer to this&amp;nbsp;&amp;nbsp; &lt;A href="http://cache.freescale.com/files/microcontrollers/doc/app_note/AN3031.pdf" title="http://cache.freescale.com/files/microcontrollers/doc/app_note/AN3031.pdf"&gt;http://cache.freescale.com/files/microcontrollers/doc/app_note/AN3031.pdf&lt;/A&gt;&amp;nbsp; , even though it about the HCSO8 microcontroller ,&lt;/P&gt;&lt;P&gt;the theory is the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'inherit','serif'; color: #3d3d3d;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'inherit','serif'; color: #3d3d3d;"&gt;Alice&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'inherit','serif'; color: #3d3d3d;"&gt;------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'inherit','serif'; color: #3d3d3d;"&gt;If this post answers your question, please click the Correct Answer button. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;-----------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;If this post help your question, please click the helpful Answer button. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Jan 2015 02:39:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Temp-sensor-reading-on-MKL16ZxxM4/m-p/382764#M20399</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2015-01-04T02:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: Temp sensor reading on MKL16ZxxM4</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Temp-sensor-reading-on-MKL16ZxxM4/m-p/382765#M20400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I cringe every time I hear about AN3031.&amp;nbsp; The temperature reference cell, as well as the bandgap cell, both create an 'absolute' voltage that is independent of Vdd (or more particularly, Vref).&amp;nbsp; Sure, the raw conversion of those analog values returns a 'number of ADC counts' that represents them as a fraction of said Vref, but it is MUCH EASIER to 'think' about them in a pure millivolt realm, rather than doing all the math in the 'ADC counts' realm.&amp;nbsp; The whole chart of Figure 1 is just an example of how it CONFUSES the fact that the temp-ref voltage is a single value for any given temperature, irrespective of Vdd or Vref.&amp;nbsp; And of course the internal Bandgap is only +/-3%, so as a 'reference' to compute Vref FROM it is 'not very good'.&amp;nbsp; You might look at my conversation in:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/350605"&gt;Re: K70 Temperature reading - Slopes&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 15:27:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Temp-sensor-reading-on-MKL16ZxxM4/m-p/382765#M20400</guid>
      <dc:creator>egoodii</dc:creator>
      <dc:date>2015-01-08T15:27:23Z</dc:date>
    </item>
  </channel>
</rss>

