<?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中的主题 what is Adc_TempSenseGetTemp parameter?</title>
    <link>https://community.nxp.com/t5/S32K/what-is-Adc-TempSenseGetTemp-parameter/m-p/2134540#M50947</link>
    <description>&lt;P&gt;i am using s32ds 3.6version, and RTD 4.0.0. mcu is s32k314 172pin.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Adc_TempSenseGetTemp parameter has 2 parameters in adc document.&amp;nbsp;&lt;/P&gt;&lt;P&gt;but when i use&amp;nbsp;Adc_TempSenseGetTemp function, this needs 3 parameters.&amp;nbsp;&lt;/P&gt;&lt;P&gt;i understand that parameters are hwunitType, tempinstance, tempvaule.&amp;nbsp;&lt;/P&gt;&lt;P&gt;but i don't understand tempinstance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;tempinstance is 49? that is channel number.&amp;nbsp; or other thing?&lt;/P&gt;&lt;P&gt;what i input for tempinstance?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is my adc config.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/347747iEB26AC440BB13EB0/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.png" alt="3.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="5.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/347746i63406AFEFED9E8D2/image-size/large?v=v2&amp;amp;px=999" role="button" title="5.png" alt="5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is function.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/347748i91E1CA2E861121CF/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is document.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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="4.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/347749i92FBBA9881B1FC16/image-size/large?v=v2&amp;amp;px=999" role="button" title="4.png" alt="4.png" /&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;1. i understand hwUnitType is adcHwUnit_1, and tempVaule is for returnning variable value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;but i don't understand what i input tempinstance. channel number or other thing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. and i wanna use senser temp in MCU.&amp;nbsp;&lt;/P&gt;&lt;P&gt;so what process is for using temperature sensor in mcu?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;i think process is &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Adc_Sar_Ip_TempSenseEnable -&amp;gt;&amp;nbsp;Adc_Sar_Ip_TempSenseGetTemp&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. what is&amp;nbsp;Adc_TempSenseCalculateTemp?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;after use&amp;nbsp;Adc_Sar_Ip_TempSenseGetTemp, do i have to use&amp;nbsp;Adc_TempSenseCalculateTemp?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks to help.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Jul 2025 02:19:18 GMT</pubDate>
    <dc:creator>rlaxortn</dc:creator>
    <dc:date>2025-07-16T02:19:18Z</dc:date>
    <item>
      <title>what is Adc_TempSenseGetTemp parameter?</title>
      <link>https://community.nxp.com/t5/S32K/what-is-Adc-TempSenseGetTemp-parameter/m-p/2134540#M50947</link>
      <description>&lt;P&gt;i am using s32ds 3.6version, and RTD 4.0.0. mcu is s32k314 172pin.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Adc_TempSenseGetTemp parameter has 2 parameters in adc document.&amp;nbsp;&lt;/P&gt;&lt;P&gt;but when i use&amp;nbsp;Adc_TempSenseGetTemp function, this needs 3 parameters.&amp;nbsp;&lt;/P&gt;&lt;P&gt;i understand that parameters are hwunitType, tempinstance, tempvaule.&amp;nbsp;&lt;/P&gt;&lt;P&gt;but i don't understand tempinstance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;tempinstance is 49? that is channel number.&amp;nbsp; or other thing?&lt;/P&gt;&lt;P&gt;what i input for tempinstance?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is my adc config.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/347747iEB26AC440BB13EB0/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.png" alt="3.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="5.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/347746i63406AFEFED9E8D2/image-size/large?v=v2&amp;amp;px=999" role="button" title="5.png" alt="5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is function.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/347748i91E1CA2E861121CF/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is document.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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="4.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/347749i92FBBA9881B1FC16/image-size/large?v=v2&amp;amp;px=999" role="button" title="4.png" alt="4.png" /&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;1. i understand hwUnitType is adcHwUnit_1, and tempVaule is for returnning variable value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;but i don't understand what i input tempinstance. channel number or other thing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. and i wanna use senser temp in MCU.&amp;nbsp;&lt;/P&gt;&lt;P&gt;so what process is for using temperature sensor in mcu?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;i think process is &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Adc_Sar_Ip_TempSenseEnable -&amp;gt;&amp;nbsp;Adc_Sar_Ip_TempSenseGetTemp&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. what is&amp;nbsp;Adc_TempSenseCalculateTemp?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;after use&amp;nbsp;Adc_Sar_Ip_TempSenseGetTemp, do i have to use&amp;nbsp;Adc_TempSenseCalculateTemp?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks to help.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jul 2025 02:19:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/what-is-Adc-TempSenseGetTemp-parameter/m-p/2134540#M50947</guid>
      <dc:creator>rlaxortn</dc:creator>
      <dc:date>2025-07-16T02:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: what is Adc_TempSenseGetTemp parameter?</title>
      <link>https://community.nxp.com/t5/S32K/what-is-Adc-TempSenseGetTemp-parameter/m-p/2134739#M50962</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;A href="mailto:Hi@rlaxortn" target="_blank"&gt;Hi@rlaxortn&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;1.The RTD driver includes LLD and HLD, which are no-autosar and autosar compliant. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;These two functions are derived from LLD and HLD respectively.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Adc_&lt;STRONG&gt;Sar_Ip&lt;/STRONG&gt;_TempSenseCalculateTemp();//for lld dirver&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Adc_TempSenseGetTemp&amp;nbsp;();//for hld driver&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I have already provided you with a routine in your previous question.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://community.nxp.com/t5/S32K/s32k344-tempsensor/m-p/2133907#M50911" target="_blank"&gt;https://community.nxp.com/t5/S32K/s32k344-tempsensor/m-p/2133907#M50911&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2.yes&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;3.No.&lt;BR /&gt;a.Adc_Sar_Ip_TempSenseGetTemp() -&amp;gt;This function starts a normal software conversion with one-shot mode on tempsense channel and calculates the temperature on chip from the data conversion &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;b."Adc_TempSenseCalculateTemp()"-&amp;gt;calculates the temperature based on given data(if read directly using ADC)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jul 2025 07:20:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/what-is-Adc-TempSenseGetTemp-parameter/m-p/2134739#M50962</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2025-07-16T07:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: what is Adc_TempSenseGetTemp parameter?</title>
      <link>https://community.nxp.com/t5/S32K/what-is-Adc-TempSenseGetTemp-parameter/m-p/2134750#M50963</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/188029"&gt;@Senlent&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my question is&amp;nbsp;&lt;SPAN&gt;i don't understand what i input tempinstance. channel number or other thing?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;so i show you function parameter.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jul 2025 07:46:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/what-is-Adc-TempSenseGetTemp-parameter/m-p/2134750#M50963</guid>
      <dc:creator>rlaxortn</dc:creator>
      <dc:date>2025-07-16T07:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: what is Adc_TempSenseGetTemp parameter?</title>
      <link>https://community.nxp.com/t5/S32K/what-is-Adc-TempSenseGetTemp-parameter/m-p/2134774#M50964</link>
      <description>&lt;P&gt;Hi@&lt;SPAN&gt;rlaxortn&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Senlent_0-1752653202127.png" style="width: 542px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/347801i8DA4DFEE819CB913/image-dimensions/542x153?v=v2" width="542" height="153" role="button" title="Senlent_0-1752653202127.png" alt="Senlent_0-1752653202127.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;u32AdcInstance-&amp;gt; The ADC instance you're using right now&lt;/P&gt;
&lt;P&gt;u32TempInstance-&amp;gt;0, because only have one Temp Instance&lt;/P&gt;
&lt;P&gt;pTempSenseVal-&amp;gt;the&amp;nbsp;Calculated temperature value&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jul 2025 08:10:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/what-is-Adc-TempSenseGetTemp-parameter/m-p/2134774#M50964</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2025-07-16T08:10:26Z</dc:date>
    </item>
  </channel>
</rss>

