<?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>S32KのトピックRe: S32K312 temperature sensor inaccurate reading</title>
    <link>https://community.nxp.com/t5/S32K/S32K312-temperature-sensor-inaccurate-reading/m-p/2396279#M59922</link>
    <description>&lt;P&gt;I further switched the ADC voltage reference to &lt;STRONG&gt;0x50&lt;/STRONG&gt;, but the issue persists:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;The temperature readings deviate significantly from the ambient temperature (&lt;STRONG&gt;28°C&lt;/STRONG&gt;).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Temperature data retrieved via the API exhibits severe fluctuations, as shown in the attached plot.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SunLucas_2-1784276930276.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/392573i896E284241697EC3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SunLucas_2-1784276930276.png" alt="SunLucas_2-1784276930276.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;SunLucas_2-1784276930276.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SunLucas_1-1784276815975.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/392572i495368145DA2BC47/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SunLucas_1-1784276815975.png" alt="SunLucas_1-1784276815975.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;SunLucas_1-1784276815975.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jul 2026 08:30:31 GMT</pubDate>
    <dc:creator>SunLucas</dc:creator>
    <dc:date>2026-07-17T08:30:31Z</dc:date>
    <item>
      <title>S32K312 temperature sensor inaccurate reading</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-temperature-sensor-inaccurate-reading/m-p/2396197#M59911</link>
      <description>&lt;P&gt;&lt;FONT color="#000000"&gt;Hello NXP Team,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I am working on the &lt;STRONG&gt;S32K312&lt;/STRONG&gt;​ internal temperature sensor and need help with incorrect temperature readings.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I have reviewed similar threads and confirmed the basic configurations, but the ADC results do not reflect the ambient temperature.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;What I have done so far：&lt;/FONT&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;(1) &lt;STRONG&gt;TEMPSENSE clock enabled​-&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;Screenshot attached&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SunLucas_0-1784265425989.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/392538i864CF7591C1D6020/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SunLucas_0-1784265425989.png" alt="SunLucas_0-1784265425989.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;SunLucas_0-1784265425989.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;(2)&lt;STRONG&gt;ADC configuration&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;ADC instance: ADC0&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Channel: Temperature Sensor (TEMPSENSE)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Trigger mode: Software trigger&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SunLucas_1-1784265855587.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/392539i4D1808EA58D61E35/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SunLucas_1-1784265855587.png" alt="SunLucas_1-1784265855587.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;SunLucas_1-1784265855587.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;(3)&lt;STRONG&gt;Measurement routine&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Periodically start ADC conversion&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Wait for conversion complete flag&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Read ADC data register&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SunLucas_3-1784266057594.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/392541i492D949590FC40EC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SunLucas_3-1784266057594.png" alt="SunLucas_3-1784266057594.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;SunLucas_3-1784266057594.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;(4)&lt;STRONG&gt;Result&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;However, the converted temperature value does not match the actual ambient temperature.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SunLucas_4-1784266156349.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/392542i363D9AF5CC4D9FA4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SunLucas_4-1784266156349.png" alt="SunLucas_4-1784266156349.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;SunLucas_4-1784266156349.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Any guidance, clarification, or reference code for the S32K312 temperature sensor would be greatly appreciated.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Thanks in advance for your support!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Best regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2026 05:34:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-temperature-sensor-inaccurate-reading/m-p/2396197#M59911</guid>
      <dc:creator>SunLucas</dc:creator>
      <dc:date>2026-07-17T05:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312 temperature sensor inaccurate reading</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-temperature-sensor-inaccurate-reading/m-p/2396241#M59917</link>
      <description>&lt;P&gt;Hi@&lt;SPAN&gt;SunLucas&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Please check the "TempSense Voltage Supply" and tell me what your current hardware's VDD_HV_A supply voltage is.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2026 07:29:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-temperature-sensor-inaccurate-reading/m-p/2396241#M59917</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2026-07-17T07:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312 temperature sensor inaccurate reading</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-temperature-sensor-inaccurate-reading/m-p/2396253#M59918</link>
      <description>&lt;P&gt;&lt;SPAN&gt;The TempSense voltage supply is configured as 0x58, hardware's VDD_HV_A supply voltage is 5V&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SunLucas_1-1784274126228.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/392566i98150D1F34AAED1B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SunLucas_1-1784274126228.png" alt="SunLucas_1-1784274126228.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;SunLucas_1-1784274126228.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2026 07:42:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-temperature-sensor-inaccurate-reading/m-p/2396253#M59918</guid>
      <dc:creator>SunLucas</dc:creator>
      <dc:date>2026-07-17T07:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312 temperature sensor inaccurate reading</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-temperature-sensor-inaccurate-reading/m-p/2396256#M59919</link>
      <description>&lt;P&gt;Hi@&lt;SPAN&gt;SunLucas&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Then you should set &lt;SPAN&gt;TempSense voltage supply&amp;nbsp;&lt;/SPAN&gt;to: 5V * 16 = &lt;STRONG&gt;0x50&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2026 07:46:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-temperature-sensor-inaccurate-reading/m-p/2396256#M59919</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2026-07-17T07:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312 temperature sensor inaccurate reading</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-temperature-sensor-inaccurate-reading/m-p/2396279#M59922</link>
      <description>&lt;P&gt;I further switched the ADC voltage reference to &lt;STRONG&gt;0x50&lt;/STRONG&gt;, but the issue persists:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;The temperature readings deviate significantly from the ambient temperature (&lt;STRONG&gt;28°C&lt;/STRONG&gt;).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Temperature data retrieved via the API exhibits severe fluctuations, as shown in the attached plot.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SunLucas_2-1784276930276.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/392573i896E284241697EC3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SunLucas_2-1784276930276.png" alt="SunLucas_2-1784276930276.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;SunLucas_2-1784276930276.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SunLucas_1-1784276815975.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/392572i495368145DA2BC47/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SunLucas_1-1784276815975.png" alt="SunLucas_1-1784276815975.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;SunLucas_1-1784276815975.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2026 08:30:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-temperature-sensor-inaccurate-reading/m-p/2396279#M59922</guid>
      <dc:creator>SunLucas</dc:creator>
      <dc:date>2026-07-17T08:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312 temperature sensor inaccurate reading</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-temperature-sensor-inaccurate-reading/m-p/2396282#M59923</link>
      <description>&lt;P&gt;Hi@&lt;SPAN&gt;SunLucas&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;The temperature channel requires a relatively long sampling time, with a minimum of 1.2 microseconds.&lt;/P&gt;
&lt;P&gt;Therefore, please check the sampling time settings.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2026 08:41:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-temperature-sensor-inaccurate-reading/m-p/2396282#M59923</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2026-07-17T08:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312 temperature sensor inaccurate reading</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-temperature-sensor-inaccurate-reading/m-p/2401628#M60198</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;changed the sampling time division ratio from 2 to 4, but the collected temperature data is still incorrect.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt; Please help me troubleshoot the root cause.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt; The detailed configuration is as follows:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SunLucas_0-1785819399965.png" style="width: 177px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/393668i3011773C6CA462FD/image-dimensions/177x138?v=v2" width="177" height="138" role="button" title="SunLucas_0-1785819399965.png" alt="SunLucas_0-1785819399965.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;SunLucas_0-1785819399965.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SunLucas_1-1785819416950.png" style="width: 180px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/393669iE8F7102FD7093FEE/image-dimensions/180x102?v=v2" width="180" height="102" role="button" title="SunLucas_1-1785819416950.png" alt="SunLucas_1-1785819416950.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;SunLucas_1-1785819416950.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SunLucas_2-1785819429465.png" style="width: 183px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/393670i2034B5ECC175200D/image-dimensions/183x53?v=v2" width="183" height="53" role="button" title="SunLucas_2-1785819429465.png" alt="SunLucas_2-1785819429465.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;SunLucas_2-1785819429465.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SunLucas_3-1785819445393.png" style="width: 184px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/393671i002191CC4EC169A8/image-dimensions/184x70?v=v2" width="184" height="70" role="button" title="SunLucas_3-1785819445393.png" alt="SunLucas_3-1785819445393.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;SunLucas_3-1785819445393.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2026 04:58:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-temperature-sensor-inaccurate-reading/m-p/2401628#M60198</guid>
      <dc:creator>SunLucas</dc:creator>
      <dc:date>2026-08-04T04:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312 temperature sensor inaccurate reading</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-temperature-sensor-inaccurate-reading/m-p/2401661#M60202</link>
      <description>&lt;P&gt;Hi@&lt;SPAN&gt;SunLucas&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;You can send me your EB configuration file, and I'll check it for you.&lt;/P&gt;
&lt;P&gt;There are two points to note: first, the reference voltage of the Temper Sensor must match the onboard VDD_HV_A; second, the sampling time. Once you've verified that these two points are correct, then there are no other points to note for this module.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2026 06:43:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-temperature-sensor-inaccurate-reading/m-p/2401661#M60202</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2026-08-04T06:43:51Z</dc:date>
    </item>
  </channel>
</rss>

