<?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: s32k358 MCU temperature measurement in S32K</title>
    <link>https://community.nxp.com/t5/S32K/s32k358-MCU-temperature-measurement/m-p/2349079#M57847</link>
    <description>&lt;P&gt;Hi@&lt;SPAN&gt;BillWen&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;First, the calculation process you provided is correct, but I see some obvious errors:&lt;/P&gt;
&lt;P&gt;1. The parameter you entered here is 53, which is 0b00110101.&lt;/P&gt;
&lt;P&gt;This indicates that the reference voltage is 3.5V, not 3.3V.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 389px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/381971iFF9A0F9B5D72843E/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;So this should be wrong :&lt;SPAN&gt;ADC 8208* (&lt;STRONG&gt;3300&lt;/STRONG&gt;/16384)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;---------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I've created a simple table based on the calculation formulas provided in the datasheet for your reference.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 515px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/381970iB21F82B18D9AF616/image-dimensions/515x239?v=v2" width="515" height="239" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 565px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/381972iD35E8729EBE46C28/image-dimensions/565x317?v=v2" width="565" height="317" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Apr 2026 09:05:16 GMT</pubDate>
    <dc:creator>Senlent</dc:creator>
    <dc:date>2026-04-10T09:05:16Z</dc:date>
    <item>
      <title>s32k358 MCU temperature measurement</title>
      <link>https://community.nxp.com/t5/S32K/s32k358-MCU-temperature-measurement/m-p/2348950#M57831</link>
      <description>&lt;P&gt;Hi :&lt;/P&gt;&lt;P&gt;I have some problem on measure s32k358 mcu temperature, I also check other post on NXP community, but I can't find the problem, please help us check, thanks.&lt;/P&gt;&lt;P&gt;The following is my ADC setting :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BillWen_1-1775803665355.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/381925i283AEAEAF3654867/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BillWen_1-1775803665355.png" alt="BillWen_1-1775803665355.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BillWen_2-1775803680527.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/381928iB288B2D812684C73/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BillWen_2-1775803680527.png" alt="BillWen_2-1775803680527.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BillWen_3-1775803723072.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/381929iF0576F95C7C0425C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BillWen_3-1775803723072.png" alt="BillWen_3-1775803723072.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Function code I follow the formula from S32K3RM&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BillWen_0-1775803642764.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/381924i996D90A8D2E65C9F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BillWen_0-1775803642764.png" alt="BillWen_0-1775803642764.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I get Mcu temp raw data about 8208, and after ADC 8208* (3300/16384)&lt;/P&gt;&lt;P&gt;and formula from RM then can get MCU temp = 48~49, I think the value is not correct.&lt;/P&gt;&lt;P&gt;Is there any wrong setting in my MCAL or code?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;BR, BillWen&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2026 06:49:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k358-MCU-temperature-measurement/m-p/2348950#M57831</guid>
      <dc:creator>BillWen</dc:creator>
      <dc:date>2026-04-10T06:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: s32k358 MCU temperature measurement</title>
      <link>https://community.nxp.com/t5/S32K/s32k358-MCU-temperature-measurement/m-p/2349079#M57847</link>
      <description>&lt;P&gt;Hi@&lt;SPAN&gt;BillWen&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;First, the calculation process you provided is correct, but I see some obvious errors:&lt;/P&gt;
&lt;P&gt;1. The parameter you entered here is 53, which is 0b00110101.&lt;/P&gt;
&lt;P&gt;This indicates that the reference voltage is 3.5V, not 3.3V.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 389px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/381971iFF9A0F9B5D72843E/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;So this should be wrong :&lt;SPAN&gt;ADC 8208* (&lt;STRONG&gt;3300&lt;/STRONG&gt;/16384)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;---------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I've created a simple table based on the calculation formulas provided in the datasheet for your reference.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 515px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/381970iB21F82B18D9AF616/image-dimensions/515x239?v=v2" width="515" height="239" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 565px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/381972iD35E8729EBE46C28/image-dimensions/565x317?v=v2" width="565" height="317" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2026 09:05:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k358-MCU-temperature-measurement/m-p/2349079#M57847</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2026-04-10T09:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: s32k358 MCU temperature measurement</title>
      <link>https://community.nxp.com/t5/S32K/s32k358-MCU-temperature-measurement/m-p/2350382#M57920</link>
      <description>Hi Senlent:&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;For the parameter you entered here is 53, which is 0b00110101.&lt;BR /&gt;I change the value to 3.3V(51) or 5V(80), I still get the same raw data. I use the same way to get mcu temp just like how I get other ADC value, is it correct? or do I need to use Adc_TempSenseGetTemp function?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;BR,BillWen</description>
      <pubDate>Tue, 14 Apr 2026 01:01:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k358-MCU-temperature-measurement/m-p/2350382#M57920</guid>
      <dc:creator>BillWen</dc:creator>
      <dc:date>2026-04-14T01:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: s32k358 MCU temperature measurement</title>
      <link>https://community.nxp.com/t5/S32K/s32k358-MCU-temperature-measurement/m-p/2350389#M57922</link>
      <description>&lt;P&gt;Hi@&lt;SPAN&gt;BillWen&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I think that's incorrect, because this should change.&lt;/P&gt;
&lt;P&gt;Have you enabled the internal temperature sensor?&lt;/P&gt;
&lt;P&gt;It's not mandatory, but our driver already provides an API for calculation.&lt;/P&gt;
&lt;P&gt;You can refer to this example.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K344-TempSenser-S32DS36-RTD600-500-400-p24/ta-p/2136187" target="_blank"&gt;https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K344-TempSenser-S32DS36-RTD600-500-400-p24/ta-p/2136187&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2026 01:23:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k358-MCU-temperature-measurement/m-p/2350389#M57922</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2026-04-14T01:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: s32k358 MCU temperature measurement</title>
      <link>https://community.nxp.com/t5/S32K/s32k358-MCU-temperature-measurement/m-p/2350396#M57924</link>
      <description>Hi Senlent:&lt;BR /&gt;As I know is that we can use Adc_TempSenseGetTemp API to get the temperature value after convert, but I also can convert by myself, right? I also check the following post on community. It seems that I still can just get rawdata and use formula from Reference manual to calculate the real temperature value.&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/S32K/Reading-the-internal-temperature-of-S32K388-using-TEMPSENSE/m-p/1847736/highlight/true" target="_blank"&gt;https://community.nxp.com/t5/S32K/Reading-the-internal-temperature-of-S32K388-using-TEMPSENSE/m-p/1847736/highlight/true&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Btw, I also check the example you uploaded, due to the project is based on driver layer not MCAL layer, I think is different process.&lt;BR /&gt;Thanks&lt;BR /&gt;BR, BillWen</description>
      <pubDate>Tue, 14 Apr 2026 01:43:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k358-MCU-temperature-measurement/m-p/2350396#M57924</guid>
      <dc:creator>BillWen</dc:creator>
      <dc:date>2026-04-14T01:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: s32k358 MCU temperature measurement</title>
      <link>https://community.nxp.com/t5/S32K/s32k358-MCU-temperature-measurement/m-p/2350404#M57925</link>
      <description>&lt;P&gt;Hi@&lt;SPAN&gt;BillWen&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Yes, you can calculate it yourself, but since an API has been provided, there's no need to do it manually.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2026 02:14:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k358-MCU-temperature-measurement/m-p/2350404#M57925</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2026-04-14T02:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: s32k358 MCU temperature measurement</title>
      <link>https://community.nxp.com/t5/S32K/s32k358-MCU-temperature-measurement/m-p/2350405#M57926</link>
      <description>Hi Senlent:&lt;BR /&gt;&lt;BR /&gt;Yes, I know this, but the problem for now is that I can't get right raw data. The real temperature value won't be correct no matter calculate by API or manually if the raw data not correct.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;BR, BillWen</description>
      <pubDate>Tue, 14 Apr 2026 02:18:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k358-MCU-temperature-measurement/m-p/2350405#M57926</guid>
      <dc:creator>BillWen</dc:creator>
      <dc:date>2026-04-14T02:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: s32k358 MCU temperature measurement</title>
      <link>https://community.nxp.com/t5/S32K/s32k358-MCU-temperature-measurement/m-p/2350409#M57927</link>
      <description>&lt;P&gt;Hi@&lt;SPAN&gt;BillWen&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;1. Check if the internal temperature sensor is enabled.&lt;/P&gt;
&lt;P&gt;2. Check if the ADC is configured correctly.&lt;/P&gt;
&lt;P&gt;If the sampling values ​​of your other ADC channels are correct, there's no reason why the temperature sensor's sampling value shouldn't change at all.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2026 02:25:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k358-MCU-temperature-measurement/m-p/2350409#M57927</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2026-04-14T02:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: s32k358 MCU temperature measurement</title>
      <link>https://community.nxp.com/t5/S32K/s32k358-MCU-temperature-measurement/m-p/2350416#M57928</link>
      <description>Hi Senlent:&lt;BR /&gt;I think ADC configuration is correct because I can get correct other ADC value correct like power voltage which according to our project.&lt;BR /&gt;Do you know how to check internal temperature sensor is enabled or not?&lt;BR /&gt;Thanks&lt;BR /&gt;BR, BillWen</description>
      <pubDate>Tue, 14 Apr 2026 02:35:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k358-MCU-temperature-measurement/m-p/2350416#M57928</guid>
      <dc:creator>BillWen</dc:creator>
      <dc:date>2026-04-14T02:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: s32k358 MCU temperature measurement</title>
      <link>https://community.nxp.com/t5/S32K/s32k358-MCU-temperature-measurement/m-p/2350424#M57933</link>
      <description>&lt;P&gt;&lt;A href="mailto:Hi@BillWen" target="_blank"&gt;Hi@BillWen&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The TEMPSENSE output can be read by an ADC on demand so that the software can determine the current die temperature. The software should enable the TEMPSENSE by setting &lt;STRONG&gt;ETSCTL[ETS_EN]&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Secondly, there are requirements for the ADC sampling time of the temperature sensor; it must be greater than 1.2us. I suggest you use a larger value.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 822px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/382187i16152EE2484A5494/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2026 02:47:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k358-MCU-temperature-measurement/m-p/2350424#M57933</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2026-04-14T02:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: s32k358 MCU temperature measurement</title>
      <link>https://community.nxp.com/t5/S32K/s32k358-MCU-temperature-measurement/m-p/2350445#M57935</link>
      <description>Hi Senlent:&lt;BR /&gt;Thanks for your support, I find the problem.&lt;BR /&gt;After I fix my problem, I get the temperature around 35~36, it seems normal I think.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;BR, BillWen</description>
      <pubDate>Tue, 14 Apr 2026 04:07:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k358-MCU-temperature-measurement/m-p/2350445#M57935</guid>
      <dc:creator>BillWen</dc:creator>
      <dc:date>2026-04-14T04:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: s32k358 MCU temperature measurement</title>
      <link>https://community.nxp.com/t5/S32K/s32k358-MCU-temperature-measurement/m-p/2350461#M57938</link>
      <description>&lt;P&gt;Hi@&lt;SPAN&gt;BillWen&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post answers your question, please click the "ACCEPT AS SOLUTION" button.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2026 05:28:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k358-MCU-temperature-measurement/m-p/2350461#M57938</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2026-04-14T05:28:02Z</dc:date>
    </item>
  </channel>
</rss>

