<?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 imx8mm temperature sensor calibration in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx8mm-temperature-sensor-calibration/m-p/1754344#M215459</link>
    <description>&lt;P&gt;Hi all,&lt;BR /&gt;I can observe a 10°C dispersion on temperature measured from the chip sensor on different iMX boards.&lt;BR /&gt;(on imx8mm yocto image, using cat /sys/class/thermal/thermal_zone0/temp)&lt;BR /&gt;Here, under same conditions on 2 different chips (chipmin and chipmax):&lt;BR /&gt;Tchipmin=58°&lt;BR /&gt;Tchipmax=69°&lt;BR /&gt;I can also read my chips' TE1 and TE2 temperature values stored in fuses (from the 25°C and 85°C NXP measurement during manufacturing process) :&lt;BR /&gt;TE1chipmin=50° TE2chipmin=112°&lt;BR /&gt;TE1chipmax=61° TE2chipmax=120°&lt;BR /&gt;They follow the same trend : some chips are cooler, some are hotter.&lt;BR /&gt;&lt;STRONG&gt;This feels to me like a sensor offset issue which (I hope) can be corrected by calibration.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;I tried to follow the software calibration as explained in the RM 5.4.5 Temperature Sensor Error Correction Method. But I'm really lost and confused because of poor explanation and a lack of context :&lt;/P&gt;&lt;P&gt;- what are the conditions of TE1 (room temp) and TE2 (hot temp) measures ? What is CPU load, or power consumption, what is the kernel doing, which image is running ? and are the 2 measurements consistent (under same conditions) ?&lt;BR /&gt;&lt;BR /&gt;- Can we simply apply a slope compensation on the sensor value in a different operating condition, as suggested ?&lt;BR /&gt;According to me the temperature error / difference between 2 chips is mainly due to 2 factors : different power consumption / heating (intrinsic, because the chip is physically different) and temp sensor precision. How can we isolate them ? Is it safe to consider it is only due to sensor calibration ?&lt;BR /&gt;&lt;BR /&gt;- Let's try on my 2 chips, chipmin and chipmax samples :&lt;BR /&gt;TCALIBchipmin=(58-50)×(85-25)/(112-50)+25=32° ?&lt;BR /&gt;TCALIBchipmax=(69-61)×(85-25)/(120-61)+25=33° ?&lt;BR /&gt;What is TCALIB meaning ? OK now the values are closer but It's definitely not the chip temp !&lt;/P&gt;&lt;P&gt;- And by the way, what is this reference curve they are talking about ?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="antho_0-1699459357097.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/249044iE1F61A274844D087/image-size/medium?v=v2&amp;amp;px=400" role="button" title="antho_0-1699459357097.png" alt="antho_0-1699459357097.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;We need more context&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Nov 2023 16:48:16 GMT</pubDate>
    <dc:creator>antho</dc:creator>
    <dc:date>2023-11-08T16:48:16Z</dc:date>
    <item>
      <title>imx8mm temperature sensor calibration</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mm-temperature-sensor-calibration/m-p/1754344#M215459</link>
      <description>&lt;P&gt;Hi all,&lt;BR /&gt;I can observe a 10°C dispersion on temperature measured from the chip sensor on different iMX boards.&lt;BR /&gt;(on imx8mm yocto image, using cat /sys/class/thermal/thermal_zone0/temp)&lt;BR /&gt;Here, under same conditions on 2 different chips (chipmin and chipmax):&lt;BR /&gt;Tchipmin=58°&lt;BR /&gt;Tchipmax=69°&lt;BR /&gt;I can also read my chips' TE1 and TE2 temperature values stored in fuses (from the 25°C and 85°C NXP measurement during manufacturing process) :&lt;BR /&gt;TE1chipmin=50° TE2chipmin=112°&lt;BR /&gt;TE1chipmax=61° TE2chipmax=120°&lt;BR /&gt;They follow the same trend : some chips are cooler, some are hotter.&lt;BR /&gt;&lt;STRONG&gt;This feels to me like a sensor offset issue which (I hope) can be corrected by calibration.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;I tried to follow the software calibration as explained in the RM 5.4.5 Temperature Sensor Error Correction Method. But I'm really lost and confused because of poor explanation and a lack of context :&lt;/P&gt;&lt;P&gt;- what are the conditions of TE1 (room temp) and TE2 (hot temp) measures ? What is CPU load, or power consumption, what is the kernel doing, which image is running ? and are the 2 measurements consistent (under same conditions) ?&lt;BR /&gt;&lt;BR /&gt;- Can we simply apply a slope compensation on the sensor value in a different operating condition, as suggested ?&lt;BR /&gt;According to me the temperature error / difference between 2 chips is mainly due to 2 factors : different power consumption / heating (intrinsic, because the chip is physically different) and temp sensor precision. How can we isolate them ? Is it safe to consider it is only due to sensor calibration ?&lt;BR /&gt;&lt;BR /&gt;- Let's try on my 2 chips, chipmin and chipmax samples :&lt;BR /&gt;TCALIBchipmin=(58-50)×(85-25)/(112-50)+25=32° ?&lt;BR /&gt;TCALIBchipmax=(69-61)×(85-25)/(120-61)+25=33° ?&lt;BR /&gt;What is TCALIB meaning ? OK now the values are closer but It's definitely not the chip temp !&lt;/P&gt;&lt;P&gt;- And by the way, what is this reference curve they are talking about ?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="antho_0-1699459357097.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/249044iE1F61A274844D087/image-size/medium?v=v2&amp;amp;px=400" role="button" title="antho_0-1699459357097.png" alt="antho_0-1699459357097.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;We need more context&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 16:48:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mm-temperature-sensor-calibration/m-p/1754344#M215459</guid>
      <dc:creator>antho</dc:creator>
      <dc:date>2023-11-08T16:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mm temperature sensor calibration</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mm-temperature-sensor-calibration/m-p/1755661#M215570</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In which i.MX8 is present this situation because the MX8MM the presented scenario is ok, the MX8QX need SCFW porting please check:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/how-to-get-temperature-and-set-CPU-frequency-in-sc-fireware/m-p/981493" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/how-to-get-temperature-and-set-CPU-frequency-in-sc-fireware/m-p/981493&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 14:39:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mm-temperature-sensor-calibration/m-p/1755661#M215570</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2023-11-10T14:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mm temperature sensor calibration</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mm-temperature-sensor-calibration/m-p/1755693#M215572</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;It's in the title &lt;LI-EMOJI id="lia_winking-face" title=":winking_face:"&gt;&lt;/LI-EMOJI&gt; I'm working on the IMX8MM.&lt;BR /&gt;How can you explain a 32°C chip temperature ? It seems surprisingly low !&lt;BR /&gt;&lt;BR /&gt;(kernel is based on the linux-imx_5.4.70_2.3.0 NXP branch)&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 15:46:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mm-temperature-sensor-calibration/m-p/1755693#M215572</guid>
      <dc:creator>antho</dc:creator>
      <dc:date>2023-11-10T15:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mm temperature sensor calibration</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mm-temperature-sensor-calibration/m-p/1763257#M216333</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Have you found any solutions?&lt;BR /&gt;I am experiencing a similar issue on two different devices with the same IMX8MM model running the same software.&lt;BR /&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Lucien&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2023 09:37:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mm-temperature-sensor-calibration/m-p/1763257#M216333</guid>
      <dc:creator>lucienlachance</dc:creator>
      <dc:date>2023-11-24T09:37:37Z</dc:date>
    </item>
  </channel>
</rss>

