<?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: Setting ADC to Temperature Sensor in S32 SDK</title>
    <link>https://community.nxp.com/t5/S32-SDK/Setting-ADC-to-Temperature-Sensor/m-p/700023#M114</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Making progress on this - figured out that you just need to set ADC0 to channel AD26 for temp input. The other options can be found in S32K144_features.h&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#define ADC_INPUTCHAN_TEMP ADC_INPUTCHAN_AD26&lt;BR /&gt;#define ADC_INPUTCHAN_BANDGAP ADC_INPUTCHAN_AD27&lt;BR /&gt;#define ADC_INPUTCHAN_VREFSH ADC_INPUTCHAN_AD29&lt;BR /&gt;#define ADC_INPUTCHAN_VREFSL ADC_INPUTCHAN_AD30&lt;BR /&gt;#define ADC_INPUTCHAN_DISABLED ADC_INPUTCHAN_AD31&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm still not 100% sure how to scale the ADC reading to temperature - so if someone could help there it would be great!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Aug 2017 14:18:40 GMT</pubDate>
    <dc:creator>gearhead1107</dc:creator>
    <dc:date>2017-08-17T14:18:40Z</dc:date>
    <item>
      <title>Setting ADC to Temperature Sensor</title>
      <link>https://community.nxp.com/t5/S32-SDK/Setting-ADC-to-Temperature-Sensor/m-p/700022#M113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to set my ADC component to use the S32's internal temperature sensor, however when setting the Input Channel, there's only options for channel AD0 - AD31, however the reference manual (ch38, Chip-specific ADC information) mentions that Vref and temp sensor should also be available. I assume I need to just manually set the ADC to the corresponding value, but is there a way to do it in Processor Expert?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2017 22:13:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Setting-ADC-to-Temperature-Sensor/m-p/700022#M113</guid>
      <dc:creator>gearhead1107</dc:creator>
      <dc:date>2017-08-16T22:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: Setting ADC to Temperature Sensor</title>
      <link>https://community.nxp.com/t5/S32-SDK/Setting-ADC-to-Temperature-Sensor/m-p/700023#M114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Making progress on this - figured out that you just need to set ADC0 to channel AD26 for temp input. The other options can be found in S32K144_features.h&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#define ADC_INPUTCHAN_TEMP ADC_INPUTCHAN_AD26&lt;BR /&gt;#define ADC_INPUTCHAN_BANDGAP ADC_INPUTCHAN_AD27&lt;BR /&gt;#define ADC_INPUTCHAN_VREFSH ADC_INPUTCHAN_AD29&lt;BR /&gt;#define ADC_INPUTCHAN_VREFSL ADC_INPUTCHAN_AD30&lt;BR /&gt;#define ADC_INPUTCHAN_DISABLED ADC_INPUTCHAN_AD31&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm still not 100% sure how to scale the ADC reading to temperature - so if someone could help there it would be great!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Aug 2017 14:18:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Setting-ADC-to-Temperature-Sensor/m-p/700023#M114</guid>
      <dc:creator>gearhead1107</dc:creator>
      <dc:date>2017-08-17T14:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: Setting ADC to Temperature Sensor</title>
      <link>https://community.nxp.com/t5/S32-SDK/Setting-ADC-to-Temperature-Sensor/m-p/700024#M115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/gearhead1107"&gt;gearhead1107&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The temperature sensor of the K144 is not well documented. On newer chip revisions (maskset 0N57U) it's possible that it's not even included on-chip.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Reference Manual, on page 1921, "A.39.2 ADC module changes" there is a mention that the Temperature Sensor bullet was removed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately I cannot find any more information about this feature, as it seems it was a preliminary feature on early hardware revisions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ovidiu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 09:32:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Setting-ADC-to-Temperature-Sensor/m-p/700024#M115</guid>
      <dc:creator>ovidiualexandru</dc:creator>
      <dc:date>2017-08-21T09:32:51Z</dc:date>
    </item>
  </channel>
</rss>

