<?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: LPC11E6x Temperature Sensor Characteristics in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11E6x-Temperature-Sensor-Characteristics/m-p/772979#M31074</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" class="" data-userid="318254" data-username="jamesl-dm" href="https://community.nxp.com/people/jamesl-dm"&gt;jamesl-dm&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I'm working on it now.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&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>Mon, 28 May 2018 09:40:07 GMT</pubDate>
    <dc:creator>jeremyzhou</dc:creator>
    <dc:date>2018-05-28T09:40:07Z</dc:date>
    <item>
      <title>LPC11E6x Temperature Sensor Characteristics</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11E6x-Temperature-Sensor-Characteristics/m-p/772974#M31069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The datasheet for the LPC11E6x says on pages 70 and 71 that the temperature sensor's analog response is approximately Vadc (mv) = -2.36 * T (Celsius) + 606. The only further qualification given to this formula is that the ADC must be set up in single channel burst mode, and the first 8 samples should be discarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I have found that the measured value varies significantly with ADC sampling frequency. Averaging over 350 samples, in single channel burst mode, with the first 50 samples discarded, in an ambient 23C:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;At 500 kHz / 25 = 20 kSps, I measure 32.16 +- 0.28 C&lt;/LI&gt;&lt;LI&gt;At 16 MHz / 25 = 640 kSps, I measure 35.44 +- 0.26 C&lt;/LI&gt;&lt;LI&gt;At 24 MHz / 25 = 960 kSps, I measure 39.13 +- 0.28 C&lt;/LI&gt;&lt;LI&gt;At 48 MHz / 25 = 1.92 MSps, I measure 27.01 +- 0.248&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is presumably due to the variation of the ADC input impedance as the sampling frequency changes - although I can't explain why the trend goes up in temperature (down in voltage) until 24 MHz, then changes to down in temperature at 48 MHz. All readings are higher than expected, particularly at lower sampling rates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two questions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Which peripheral clock and sampling frequency is the datasheet's curve for? (Figure 37, Table 24)&lt;/LI&gt;&lt;LI&gt;Is the sensor still linear and repeatable if a different sampling frequency is used?&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2018 09:51:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11E6x-Temperature-Sensor-Characteristics/m-p/772974#M31069</guid>
      <dc:creator>jamesl-dm</dc:creator>
      <dc:date>2018-05-21T09:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11E6x Temperature Sensor Characteristics</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11E6x-Temperature-Sensor-Characteristics/m-p/772975#M31070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="318254" data-username="jamesl-dm" href="https://community.nxp.com/people/jamesl-dm"&gt;jamesl-dm&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and the opportunity to serve you.&lt;BR /&gt;1) Which peripheral clock and the sampling frequency is the datasheet's curve for? (Figure 37, Table 24)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; It's suited for a full range of sampling frequency.&lt;BR /&gt;2) Is the sensor still linear and repeatable if a different sampling frequency is used?&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yes, it's.&lt;BR /&gt;For an accurate measurement of the temperature sensor by the ADC, the ADC must be&lt;BR /&gt;configured in single-channel burst mode. The last value of a nine-conversion (or more)&lt;BR /&gt;burst provides an accurate result.&lt;BR /&gt;After the Temperature Sensor is powered, it requires some time to stabilize and output a&lt;BR /&gt;voltage that correctly represents the device temperature. A much shorter settling time&lt;BR /&gt;applies after switching the A/D converter to use the sensor output. Software can deal with&lt;BR /&gt;both of these factors by repeatedly converting and reading the Temperature Sensor output&lt;BR /&gt;via the A/D converter until a consistent result is obtained.&lt;/P&gt;&lt;P&gt;Have a great day,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIC&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>Tue, 22 May 2018 03:18:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11E6x-Temperature-Sensor-Characteristics/m-p/772975#M31070</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-05-22T03:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11E6x Temperature Sensor Characteristics</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11E6x-Temperature-Sensor-Characteristics/m-p/772976#M31071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;It's suited for a full range of sampling frequency.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If this is the case, why does the output change by a full 12 degrees when the peripheral clock is changed from 24 to 48 MHz? That's definitely not within the +-5 degree accuracy specification. Surely the given curve and coefficients are only applicable to a single sampling rate?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've complied with all of the settling time requirements, and the output of the sensor is consistent. It just changes drastically when the sampling rate changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 06:31:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11E6x-Temperature-Sensor-Characteristics/m-p/772976#M31071</guid>
      <dc:creator>jamesl-dm</dc:creator>
      <dc:date>2018-05-23T06:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11E6x Temperature Sensor Characteristics</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11E6x-Temperature-Sensor-Characteristics/m-p/772977#M31072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jamesl-dm&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;I was wondering if you can upload a compile-able demo, then I can replicate this phenomenon.&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&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>Thu, 24 May 2018 05:57:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11E6x-Temperature-Sensor-Characteristics/m-p/772977#M31072</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-05-24T05:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11E6x Temperature Sensor Characteristics</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11E6x-Temperature-Sensor-Characteristics/m-p/772978#M31073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test code is attached. You will need a printf function to see the output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 05:37:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11E6x-Temperature-Sensor-Characteristics/m-p/772978#M31073</guid>
      <dc:creator>jamesl-dm</dc:creator>
      <dc:date>2018-05-25T05:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11E6x Temperature Sensor Characteristics</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11E6x-Temperature-Sensor-Characteristics/m-p/772979#M31074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" class="" data-userid="318254" data-username="jamesl-dm" href="https://community.nxp.com/people/jamesl-dm"&gt;jamesl-dm&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I'm working on it now.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&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>Mon, 28 May 2018 09:40:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11E6x-Temperature-Sensor-Characteristics/m-p/772979#M31074</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-05-28T09:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11E6x Temperature Sensor Characteristics</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11E6x-Temperature-Sensor-Characteristics/m-p/772980#M31075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-objectid="318254" data-objecttype="3" href="https://community.nxp.com/people/jamesl-dm"&gt;jamesl-dm&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;I'd like to share the testing resut.&lt;/P&gt;&lt;P&gt;Chip: LPC11E68, IDE: MCUXpresso, Environment: air-conditioning room.&lt;/P&gt;&lt;P&gt;The code will continue sample 415 times, and output the last 15 conversation results via serial port.&lt;/P&gt;&lt;P&gt;1. Sample rate: 500 KHz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;ADC sequencer demo&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x28a (Data sample 650)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x28a (Data sample 650)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x28b (Data sample 651)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x28a (Data sample 650)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x28c (Data sample 652)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x28c (Data sample 652)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x289 (Data sample 649)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x28a (Data sample 650)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x28c (Data sample 652)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x28a (Data sample 650)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x28a (Data sample 650)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x28c (Data sample 652)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x28c (Data sample 652)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x28a (Data sample 650)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x28b (Data sample 651)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt; &lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;2. Sample rate: 16 MHz&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;ADC sequencer demo&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x285 (Data sample 645)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x282 (Data sample 642)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x281 (Data sample 641)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x280 (Data sample 640)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x281 (Data sample 641)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x281 (Data sample 641)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x282 (Data sample 642)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x280 (Data sample 640)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x282 (Data sample 642)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x280 (Data sample 640)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x281 (Data sample 641)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x280 (Data sample 640)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x280 (Data sample 640)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x280 (Data sample 640)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x280 (Data sample 640)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt; &lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;3. Sample rate: 24 MHz&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;ADC sequencer demo&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x286 (Data sample 646)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x27a (Data sample 634)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x278 (Data sample 632)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x27a (Data sample 634)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x279 (Data sample 633)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x279 (Data sample 633)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x27a (Data sample 634)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x279 (Data sample 633)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x27a (Data sample 634)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x27a (Data sample 634)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x27b (Data sample 635)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x279 (Data sample 633)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x279 (Data sample 633)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x27a (Data sample 634)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x279 (Data sample 633)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt; &lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;3. Sample rate: 48 MHz&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;ADC sequencer demo&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x28e (Data sample 654)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x28e (Data sample 654)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x290 (Data sample 656)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x28f (Data sample 655)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x290 (Data sample 656)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x28f (Data sample 655)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x28e (Data sample 654)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x28e (Data sample 654)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x28f (Data sample 655)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x28f (Data sample 655)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x28f (Data sample 655)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x28e (Data sample 654)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x28f (Data sample 655)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x28d (Data sample 653)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Sample value = 0x28f (Data sample 655)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt; &lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;According to these results, we can get the temperature via the formula: Vadc (mv) = -2.36 * T (Celsius) + 606.&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6;" width="100%"&gt;&lt;THEAD&gt;&lt;TR style="background-color: #efefef; height: 17px;"&gt;&lt;TH style="height: 17px; text-align: center;"&gt;Sample rate&lt;/TH&gt;&lt;TH style="height: 17px; text-align: center;"&gt;mV&lt;/TH&gt;&lt;TH style="height: 17px; text-align: center;"&gt;Temperature (C)&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR style="height: 17px;"&gt;&lt;TD style="height: 17px; text-align: center;"&gt;500 kHz&lt;/TD&gt;&lt;TD style="height: 17px; text-align: center;"&gt;524.5&lt;/TD&gt;&lt;TD style="height: 17px; text-align: center;"&gt;34.5&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 17px;"&gt;&lt;TD style="height: 17px; text-align: center;"&gt;16 MHz&lt;/TD&gt;&lt;TD style="height: 17px; text-align: center;"&gt;515.6&lt;/TD&gt;&lt;TD style="height: 17px; text-align: center;"&gt;38.3&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 17px;"&gt;&lt;TD style="height: 17px; text-align: center;"&gt;24 MHz&lt;/TD&gt;&lt;TD style="height: 17px; text-align: center;"&gt;510.8&lt;/TD&gt;&lt;TD style="height: 17px; text-align: center;"&gt;40.3&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 17px;"&gt;&lt;TD style="height: 17px; text-align: center;"&gt;48 MHz&lt;/TD&gt;&lt;TD style="height: 17px; text-align: center;"&gt;526.9&lt;/TD&gt;&lt;TD style="height: 17px; text-align: center;"&gt;33.5&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt; &lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Obviously, it doesn't exceed the +-5 degree accuracy specification, and I've attached the adc.c and please referring to it for details.&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Have a great day,&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIC&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>Tue, 29 May 2018 06:30:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11E6x-Temperature-Sensor-Characteristics/m-p/772980#M31075</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-05-29T06:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11E6x Temperature Sensor Characteristics</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11E6x-Temperature-Sensor-Characteristics/m-p/772981#M31076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for looking into this. I tried running the code sample you provided on my board, and got output consistent with my first attempts:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;iDivider = 0, clk = 48.0 MHz&lt;BR /&gt;Sample value = 0xc00229a0 (Data sample 666 = 29.36)&lt;BR /&gt;Sample value = 0xc00229c0 (Data sample 668 = 28.68)&lt;BR /&gt;Sample value = 0xc00229a0 (Data sample 666 = 29.36)&lt;BR /&gt;Sample value = 0xc00229c0 (Data sample 668 = 28.68)&lt;BR /&gt;Sample value = 0xc00229c0 (Data sample 668 = 28.68)&lt;BR /&gt;Sample value = 0xc00229d0 (Data sample 669 = 28.34)&lt;BR /&gt;Sample value = 0xc00229b0 (Data sample 667 = 29.02)&lt;BR /&gt;Sample value = 0xc00229c0 (Data sample 668 = 28.68)&lt;BR /&gt;Sample value = 0xc00229c0 (Data sample 668 = 28.68)&lt;BR /&gt;iDivider = 1, clk = 24.0 MHz&lt;BR /&gt;Sample value = 0xc0022830 (Data sample 643 = 37.22)&lt;BR /&gt;Sample value = 0xc00227a0 (Data sample 634 = 40.29)&lt;BR /&gt;Sample value = 0xc0022780 (Data sample 632 = 40.97)&lt;BR /&gt;Sample value = 0xc00227a0 (Data sample 634 = 40.29)&lt;BR /&gt;Sample value = 0xc00227a0 (Data sample 634 = 40.29)&lt;BR /&gt;Sample value = 0xc00227b0 (Data sample 635 = 39.95)&lt;BR /&gt;Sample value = 0xc00227a0 (Data sample 634 = 40.29)&lt;BR /&gt;Sample value = 0xc00227b0 (Data sample 635 = 39.95)&lt;BR /&gt;Sample value = 0xc0022790 (Data sample 633 = 40.63)&lt;BR /&gt;iDivider = 2, clk = 16.0 MHz&lt;BR /&gt;Sample value = 0xc00228e0 (Data sample 654 = 33.46)&lt;BR /&gt;Sample value = 0xc0022840 (Data sample 644 = 36.88)&lt;BR /&gt;Sample value = 0xc0022830 (Data sample 643 = 37.22)&lt;BR /&gt;Sample value = 0xc0022840 (Data sample 644 = 36.88)&lt;BR /&gt;Sample value = 0xc0022840 (Data sample 644 = 36.88)&lt;BR /&gt;Sample value = 0xc0022840 (Data sample 644 = 36.88)&lt;BR /&gt;Sample value = 0xc0022850 (Data sample 645 = 36.53)&lt;BR /&gt;Sample value = 0xc0022840 (Data sample 644 = 36.88)&lt;BR /&gt;Sample value = 0xc0022850 (Data sample 645 = 36.53)&lt;BR /&gt;iDivider = 3, clk = 12.0 MHz&lt;BR /&gt;Sample value = 0xc00228d0 (Data sample 653 = 33.80)&lt;BR /&gt;Sample value = 0xc00228a0 (Data sample 650 = 34.83)&lt;BR /&gt;Sample value = 0xc00228b0 (Data sample 651 = 34.49)&lt;BR /&gt;Sample value = 0xc0022890 (Data sample 649 = 35.17)&lt;BR /&gt;Sample value = 0xc00228b0 (Data sample 651 = 34.49)&lt;BR /&gt;Sample value = 0xc00228a0 (Data sample 650 = 34.83)&lt;BR /&gt;Sample value = 0xc00228a0 (Data sample 650 = 34.83)&lt;BR /&gt;Sample value = 0xc00228a0 (Data sample 650 = 34.83)&lt;BR /&gt;Sample value = 0xc0022890 (Data sample 649 = 35.17)&lt;BR /&gt;iDivider = 4, clk = 9.6 MHz&lt;BR /&gt;Sample value = 0xc00228a0 (Data sample 650 = 34.83)&lt;BR /&gt;Sample value = 0xc00228d0 (Data sample 653 = 33.80)&lt;BR /&gt;Sample value = 0xc00228c0 (Data sample 652 = 34.14)&lt;BR /&gt;Sample value = 0xc00228c0 (Data sample 652 = 34.14)&lt;BR /&gt;Sample value = 0xc00228d0 (Data sample 653 = 33.80)&lt;BR /&gt;Sample value = 0xc00228e0 (Data sample 654 = 33.46)&lt;BR /&gt;Sample value = 0xc00228b0 (Data sample 651 = 34.49)&lt;BR /&gt;Sample value = 0xc00228c0 (Data sample 652 = 34.14)&lt;BR /&gt;Sample value = 0xc00228d0 (Data sample 653 = 33.80)&lt;BR /&gt;iDivider = 5, clk = 8.0 MHz&lt;BR /&gt;Sample value = 0xc00228d0 (Data sample 653 = 33.80)&lt;BR /&gt;Sample value = 0xc00228e0 (Data sample 654 = 33.46)&lt;BR /&gt;Sample value = 0xc00228d0 (Data sample 653 = 33.80)&lt;BR /&gt;Sample value = 0xc00228e0 (Data sample 654 = 33.46)&lt;BR /&gt;Sample value = 0xc00228d0 (Data sample 653 = 33.80)&lt;BR /&gt;Sample value = 0xc00228e0 (Data sample 654 = 33.46)&lt;BR /&gt;Sample value = 0xc00228e0 (Data sample 654 = 33.46)&lt;BR /&gt;Sample value = 0xc00228e0 (Data sample 654 = 33.46)&lt;BR /&gt;Sample value = 0xc00228e0 (Data sample 654 = 33.46)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So where you got a variation of (40.3 - 33.5) = 6.8 degrees when switching from 48 to 24 MHz (which may or may not be within spec?), I'm getting closer to (40.3 - 29.0) = 11.3 degrees on my sample, which is definitely out of spec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried on 5 samples - here is a summary (48, 24, 16, 12, 9.6, and 8 MHz):&lt;/P&gt;&lt;P&gt;Sample 1: 28.68, 40.63, 36.53, 35.17, 33.80, 33.46 -&amp;gt; Maximium deviation = 40.63 - 28.68 = 11.95&lt;BR /&gt;Sample 2: 34.49, 40.29, 37.56, 36.19, 36.53, 35.85 -&amp;gt; Maximium deviation = 40.29 - 34.49 = 5.80&lt;BR /&gt;Sample 3: 34.49, 39.61, 36.88, 35.85, 35.51, 35.17 -&amp;gt; Maximium deviation = 39.61 - 34.49 = 5.12&lt;BR /&gt;Sample 4: 35.85, 45.75, 42.00, 39.95, 39.27, 39.27 -&amp;gt; Maximium deviation = 45.75 - 35.85 = 9.9&lt;BR /&gt;Sample 5: 32.78, 40.63, 36.53, 34.49, 34.49, 35.17 -&amp;gt; Maximium deviation = 40.63 - 32.78 = 7.85&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess it's possible that the first sample was damaged in some way...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I still don't expect to see this level of variation between sampling rates. The accuracy spec of +- 5 degrees has to function across process variations, so it seems strange for there to be variations up to the very limits of the spec when you change sampling rate. It doesn't leave any margin for process variation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For instance, with sample 4, the only way it can stay within spec is if the actual temperature was 40.85 degrees, allowing one reading to give 40.85 - 5, and the other to give 40.85 + 5. I can't measure the actual die temperature for comparison, but 40 degrees (15 above ambient) seems suspiciously high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At any rate, we have decided to calibrate our devices at production, and use a low sampling rate, as these seem to be the most consistent. If you've nothing further to add, I'm happy to leave the investigation at that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2018 10:00:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11E6x-Temperature-Sensor-Characteristics/m-p/772981#M31076</guid>
      <dc:creator>jamesl-dm</dc:creator>
      <dc:date>2018-05-29T10:00:11Z</dc:date>
    </item>
  </channel>
</rss>

