<?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: How sensitive is the S12ZVC on-chip temperature ? in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-sensitive-is-the-S12ZVC-on-chip-temperature/m-p/589442#M12957</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you find a fix for your reading internal temp sensor value ? I am getting a 275 and the value is not changing !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regrds,&lt;/P&gt;&lt;P&gt;Basil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Aug 2018 22:58:45 GMT</pubDate>
    <dc:creator>basilmathew</dc:creator>
    <dc:date>2018-08-20T22:58:45Z</dc:date>
    <item>
      <title>How sensitive is the S12ZVC on-chip temperature ?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-sensitive-is-the-S12ZVC-on-chip-temperature/m-p/589438#M12953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using PE to set the ADC to measure temperature with the on-chip VREG temp sensor:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="158229_158229.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122099iC1C65A1D6955C5D6/image-size/large?v=v2&amp;amp;px=999" role="button" title="158229_158229.PNG" alt="158229_158229.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="temp sensor PE setup.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/2639iC711E04DE802DF03/image-size/large?v=v2&amp;amp;px=999" role="button" title="temp sensor PE setup.PNG" alt="temp sensor PE setup.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I can switch the CPMUHTCTL register between the band-gap voltage and temperature to get a calibration point for the conversion calculation: CPMUHTCTL_HTE = 1, CPMUHTCTL_VSEL = 1 for bandagap voltage; CPMUHTCTL_HTE = 1, CPMUHTCTL_VSEL = 0 for sensor voltage.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My problem is that the sensor voltage ADC reading doesn't vary over temperature. I have tested it over a range of +- 10 degrees and always get exactly the same ADC reading, to the last bit. The ADC value is quite different from the ADC value with the bandgap voltage set, so I know I'm not still measuring the constant bandgap voltage. I'm using the GetChanValue16 method to read the ADC after calling the Measure method.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anything I've missed, because as I understand from all the various references, there is a sensitivity of about 1.75 mv / degree C, which should make the ADC value change over the temp range I'm testing it at ? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 10:05:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-sensitive-is-the-S12ZVC-on-chip-temperature/m-p/589438#M12953</guid>
      <dc:creator>mahtabsarwar</dc:creator>
      <dc:date>2016-08-10T10:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: How sensitive is the S12ZVC on-chip temperature ?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-sensitive-is-the-S12ZVC-on-chip-temperature/m-p/589439#M12954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to add, I am using the S12ZVC demo board..I know the ADC is connected to something on the demo board but because the temp sensor is internally routed in the chip I assumed external settings are irrelevant..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 11:01:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-sensitive-is-the-S12ZVC-on-chip-temperature/m-p/589439#M12954</guid>
      <dc:creator>mahtabsarwar</dc:creator>
      <dc:date>2016-08-10T11:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: How sensitive is the S12ZVC on-chip temperature ?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-sensitive-is-the-S12ZVC-on-chip-temperature/m-p/589440#M12955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahtab,&lt;/P&gt;&lt;P&gt;Unfortunately, currently, I don’t have here VLG-S12ZVC board for testing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some basic S12Z ADC example code (no PE) could be downloaded here:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-332384"&gt;https://community.nxp.com/docs/DOC-332384&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In fact, the external settings are not irrelevant. You configured ADC to use VRH_0/VRL_0 signals as the reference. According to RM: ”ADC reference Voltage signal VRH_1 is mapped to VDDA and VRH_0 is mapped to PAD3. VRL_1 is mapped to VSSA and VRL_0 is mapped to VSSA.”&lt;/P&gt;&lt;P&gt;So, if you didn’t connect any external reference voltage to PAD3 pin, please use VRH_1/VRL_1 signals as the reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Temperature Sensor Slope should be around 5.25mV/°C. See Table E-1. Voltage Regulator Electrical Characteristics (Junction Temperature From –40°C To +175°C) in RM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In fact, there is also second temperature sensor directly as part of ADC module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some more details about this temperature sensor you could get from our application note AN3624 S12X Temperature Sensor&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/files/microcontrollers/doc/app_note/AN3624.pdf"&gt;http://www.nxp.com/files/microcontrollers/doc/app_note/AN3624.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The calibration methods are nicely described in AN3031 Temperature Sensor for the HCS08 Microcontroller Family&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/files/microcontrollers/doc/app_note/AN3031.pdf"&gt;http://www.nxp.com/files/microcontrollers/doc/app_note/AN3031.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Radek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 12:35:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-sensitive-is-the-S12ZVC-on-chip-temperature/m-p/589440#M12955</guid>
      <dc:creator>RadekS</dc:creator>
      <dc:date>2016-08-11T12:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: How sensitive is the S12ZVC on-chip temperature ?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-sensitive-is-the-S12ZVC-on-chip-temperature/m-p/589441#M12956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Radek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I came back to this after testing properly and calibrating with some known temperatures. You are right, using VRH_0/ VRL_0 isn't correct and gives a wrong reading. Thanks !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2016 14:05:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-sensitive-is-the-S12ZVC-on-chip-temperature/m-p/589441#M12956</guid>
      <dc:creator>mahtabsarwar</dc:creator>
      <dc:date>2016-08-24T14:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: How sensitive is the S12ZVC on-chip temperature ?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-sensitive-is-the-S12ZVC-on-chip-temperature/m-p/589442#M12957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you find a fix for your reading internal temp sensor value ? I am getting a 275 and the value is not changing !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regrds,&lt;/P&gt;&lt;P&gt;Basil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2018 22:58:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-sensitive-is-the-S12ZVC-on-chip-temperature/m-p/589442#M12957</guid>
      <dc:creator>basilmathew</dc:creator>
      <dc:date>2018-08-20T22:58:45Z</dc:date>
    </item>
  </channel>
</rss>

