<?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>Kinetis Microcontrollers中的主题 Re: Temperature Logging using internal ADC/TempSensor</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Temperature-Logging-using-internal-ADC-TempSensor/m-p/710590#M43595</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. Earl. I figured it out and used Term! component to display my temperature.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Sep 2017 16:26:55 GMT</pubDate>
    <dc:creator>saipriyasubrama</dc:creator>
    <dc:date>2017-09-12T16:26:55Z</dc:date>
    <item>
      <title>Temperature Logging using internal ADC/TempSensor</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Temperature-Logging-using-internal-ADC-TempSensor/m-p/710588#M43593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using a S9KEAZ16 controller and would like to use one of the ADC channels as a temp sensor to monitor the CPU temp. The ADC is hardware triggered using a FlexTimer module. I am able to read the measured temperature values on FreeMaster although, I am not able to log it in a data logger.&lt;/P&gt;&lt;P&gt;I am using the EEPROM driver from the blog&amp;nbsp;&lt;A class="link-titled" href="https://mcuoneclipse.com/2013/08/18/driver-for-microchip-24xx-serial-eeprom/" title="https://mcuoneclipse.com/2013/08/18/driver-for-microchip-24xx-serial-eeprom/"&gt;Driver for Microchip 24xx Serial EEPROM | MCU on Eclipse&lt;/A&gt;&amp;nbsp; and I would like to log&amp;nbsp;the temp sensor reading as and when I receive them. Is it advisable to write the temp sensor values inside the ADC ISR itself? I am worried about the ADC ISR consuming more time to execute and as a result of which a few triggers missed or vice versa incorrect data written on the EEPROM because of lag.&lt;/P&gt;&lt;P&gt;Also is there a way to write float values on my EEPROM?&lt;/P&gt;&lt;P&gt;I tried writing the temp sensor value inside the ADC ISR and the loop gets hung up in the writeblock routine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #373737; background-color: #ffffff; font-weight: 300;"&gt;do&lt;/SPAN&gt;&lt;BR style="color: #373737; background-color: #ffffff; font-weight: 300;" /&gt;&lt;SPAN style="color: #373737; background-color: #ffffff; font-weight: 300;"&gt;{&lt;/SPAN&gt;&lt;BR style="color: #373737; background-color: #ffffff; font-weight: 300;" /&gt;&lt;SPAN style="color: #373737; background-color: #ffffff; font-weight: 300;"&gt;}while(!GI2C1_deviceData.dataTransmittedFlg);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #373737; background-color: #ffffff; font-weight: 300;"&gt;Is there a way to debug this issue??&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2017 16:21:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Temperature-Logging-using-internal-ADC-TempSensor/m-p/710588#M43593</guid>
      <dc:creator>saipriyasubrama</dc:creator>
      <dc:date>2017-08-29T16:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Temperature Logging using internal ADC/TempSensor</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Temperature-Logging-using-internal-ADC-TempSensor/m-p/710589#M43594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For use of the internal temp sense, you should examine my considerations in:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/390524"&gt;On-chip temperature Calculations&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you've enabled a full-printf library version, then sprintf is a way to get the system to format an internal float value into a string for you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2017 21:33:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Temperature-Logging-using-internal-ADC-TempSensor/m-p/710589#M43594</guid>
      <dc:creator>egoodii</dc:creator>
      <dc:date>2017-08-29T21:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Temperature Logging using internal ADC/TempSensor</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Temperature-Logging-using-internal-ADC-TempSensor/m-p/710590#M43595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. Earl. I figured it out and used Term! component to display my temperature.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Sep 2017 16:26:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Temperature-Logging-using-internal-ADC-TempSensor/m-p/710590#M43595</guid>
      <dc:creator>saipriyasubrama</dc:creator>
      <dc:date>2017-09-12T16:26:55Z</dc:date>
    </item>
  </channel>
</rss>

