<?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: kl46 driver software for temperature sensor in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/kl46-driver-software-for-temperature-sensor/m-p/244471#M6293</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vtemp25, and the associated slope, are developed from a specific variation of an internal bandgap, and as such are absolutes, irrespective of VDD or VrefH.&amp;nbsp; A great deal of the confusion in AN3031 is the efforts therein to think only in terms of AtoD conversion step sizes and how those come from the AtoD reference voltage, often VDD.&amp;nbsp; That is of course what the AtoD 'answer' represents, but it is better to let your math 'dispense' with that element of the process and keep your code working in the 'absolute' domain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;AN3031 is 'particularly confusing' in its attempts to relate everything to AtoD counts.&amp;nbsp; Granted, at some point 'every measurement is a set of AtoD counts', but there is little point to dragging that metric thru all subsequent calculations.&amp;nbsp; Take the basic measurements in Figure 1, and let's just use 0C as our point:&amp;nbsp; From VDD=3.6V we get about 210 counts, and 210/1024*3.6=0.738V.&amp;nbsp; Dropping all the way to 1.9V nets 400 counts, and 400/1024*1.9=0.742V -- well within 'graph approximation' error to the SAME actual measured voltage for 0C (as opposed to 25C, which is about 200 counts at 3.6V or 0.703V for this example chart). It is like AN3031 is 'going out of their way' to make this measurement confusing...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If we change the measurement-conversion-result to mV, then 'Equation 1' can be applied directly using the mV values directly from the part datasheet.&amp;nbsp; My only change to Equation 1 is that instead of dividing by 0.001715V for the slope, I multiply by the inverse (583) -- better all around.&amp;nbsp; And mV returns mC.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Dec 2013 18:57:29 GMT</pubDate>
    <dc:creator>egoodii</dc:creator>
    <dc:date>2013-12-09T18:57:29Z</dc:date>
    <item>
      <title>kl46 driver software for temperature sensor</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/kl46-driver-software-for-temperature-sensor/m-p/244466#M6288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I need driver software for temperature sensor (kl46 microcontroller).. can any one help me please..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 07:44:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/kl46-driver-software-for-temperature-sensor/m-p/244466#M6288</guid>
      <dc:creator>shabanam</dc:creator>
      <dc:date>2013-12-05T07:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: kl46 driver software for temperature sensor</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/kl46-driver-software-for-temperature-sensor/m-p/244467#M6289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi shabana m,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I want to know which temperature sensor do you used, we don't have the demo code of this now, maybe you should according to the user manual of temperature sensor, make sure how to communicate, then &lt;/P&gt;&lt;P&gt;according to our demo code of KL46 to write your own code, you can download our demo code of KL46 from this link:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=FRDM-KL46Z&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab" title="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=FRDM-KL46Z&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab#"&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=FRDM-KL46Z&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab#&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if you meet the problem when you write your own code, you can contact us!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I wish it helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2013 01:17:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/kl46-driver-software-for-temperature-sensor/m-p/244467#M6289</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2013-12-06T01:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: kl46 driver software for temperature sensor</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/kl46-driver-software-for-temperature-sensor/m-p/244468#M6290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you mean the on-chip sensor, you may get some benefit from this thread:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/302135"&gt;https://community.freescale.com/thread/302135&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2013 17:53:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/kl46-driver-software-for-temperature-sensor/m-p/244468#M6290</guid>
      <dc:creator>egoodii</dc:creator>
      <dc:date>2013-12-06T17:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: kl46 driver software for temperature sensor</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/kl46-driver-software-for-temperature-sensor/m-p/244469#M6291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Jingjing,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Actually i am using on-chip temperature sensor. there is no code for temperature sensor in the link that you have sent. But the link was useful. Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2013 12:29:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/kl46-driver-software-for-temperature-sensor/m-p/244469#M6291</guid>
      <dc:creator>shabanam</dc:creator>
      <dc:date>2013-12-09T12:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: kl46 driver software for temperature sensor</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/kl46-driver-software-for-temperature-sensor/m-p/244470#M6292</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The link was useful. But I still have a doubt that for Vdd = 3.3V can i use the value of Vtemp25 that is specified in electrical characteristics.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2013 13:16:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/kl46-driver-software-for-temperature-sensor/m-p/244470#M6292</guid>
      <dc:creator>shabanam</dc:creator>
      <dc:date>2013-12-09T13:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: kl46 driver software for temperature sensor</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/kl46-driver-software-for-temperature-sensor/m-p/244471#M6293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vtemp25, and the associated slope, are developed from a specific variation of an internal bandgap, and as such are absolutes, irrespective of VDD or VrefH.&amp;nbsp; A great deal of the confusion in AN3031 is the efforts therein to think only in terms of AtoD conversion step sizes and how those come from the AtoD reference voltage, often VDD.&amp;nbsp; That is of course what the AtoD 'answer' represents, but it is better to let your math 'dispense' with that element of the process and keep your code working in the 'absolute' domain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;AN3031 is 'particularly confusing' in its attempts to relate everything to AtoD counts.&amp;nbsp; Granted, at some point 'every measurement is a set of AtoD counts', but there is little point to dragging that metric thru all subsequent calculations.&amp;nbsp; Take the basic measurements in Figure 1, and let's just use 0C as our point:&amp;nbsp; From VDD=3.6V we get about 210 counts, and 210/1024*3.6=0.738V.&amp;nbsp; Dropping all the way to 1.9V nets 400 counts, and 400/1024*1.9=0.742V -- well within 'graph approximation' error to the SAME actual measured voltage for 0C (as opposed to 25C, which is about 200 counts at 3.6V or 0.703V for this example chart). It is like AN3031 is 'going out of their way' to make this measurement confusing...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If we change the measurement-conversion-result to mV, then 'Equation 1' can be applied directly using the mV values directly from the part datasheet.&amp;nbsp; My only change to Equation 1 is that instead of dividing by 0.001715V for the slope, I multiply by the inverse (583) -- better all around.&amp;nbsp; And mV returns mC.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2013 18:57:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/kl46-driver-software-for-temperature-sensor/m-p/244471#M6293</guid>
      <dc:creator>egoodii</dc:creator>
      <dc:date>2013-12-09T18:57:29Z</dc:date>
    </item>
  </channel>
</rss>

