<?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: ADC on KL17 in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/ADC-on-KL17/m-p/686848#M42276</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As the NOTe above, PTE30 pin as VREF_OUT and as ADC input (default). How to configure PTE30? very confuse...OUT? input?&lt;/P&gt;&lt;P&gt;I just use Vcc as Vrefrence, what should be PTE30? can this pin as ADC0SE23 like floating?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Oct 2018 18:19:17 GMT</pubDate>
    <dc:creator>albert_zhou</dc:creator>
    <dc:date>2018-10-09T18:19:17Z</dc:date>
    <item>
      <title>ADC on KL17</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/ADC-on-KL17/m-p/686844#M42272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working on a KL17 chip but the reference board I had is a KL27. I try the example code for ADC on reference board and it works but on the KL17 the same code with modification (debugger set for a KL17) doesn't works. On pin PTE16 I read always 0xFFF but this pin is 0 with my multimeter. I looked registers and they look like the same value as KL27.What should I do to find the difference between these 2 chips?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2017 16:06:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/ADC-on-KL17/m-p/686844#M42272</guid>
      <dc:creator>manonberthiaume</dc:creator>
      <dc:date>2017-07-06T16:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: ADC on KL17</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/ADC-on-KL17/m-p/686845#M42273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manon,&lt;/P&gt;&lt;P&gt;The main difference is ADC Reference:&lt;/P&gt;&lt;P&gt;For the &lt;A href="http://www.nxp.com/docs/en/reference-manual/KL27P64M48SF2RM.pdf"&gt;MKL27Z64VLH4(64LQFP)&lt;/A&gt; on FRDM-KL27Z board, it contain dedicated VREFH and VREFL pins. The output of On-chip 1.2V high precision voltage reference &lt;SPAN style="text-decoration: underline;"&gt;VREF_OUT shares with VREFH&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;For the &lt;A href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Freference-manual%2FKL17P64M48SF2RM.pdf"&gt;MKL17Z64VFM4&lt;/A&gt; (32QFN), both VREFH and VREFL pads are internally connected to VDDA and VSSA respectively.The output of On-chip 1.2V high precision voltage reference &lt;SPAN style="text-decoration: underline;"&gt;VREF_OUT shares with with PTE30 pin&lt;/SPAN&gt;. When VREF_OUT is enabled, this pin needs to connect a capacitor to ground.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the &lt;A href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Freference-manual%2FKL17P64M48SF2RM.pdf"&gt;MKL17Z64VFM4&lt;/A&gt; (32QFN):&lt;/P&gt;&lt;P&gt;1. When ADCx_SC2[REFSEL]=0, PTE30/VREF_OUT is selected as ADC Reference.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="24.1.5 ADC Reference Options.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26806i9685FE54CDCA1440/image-size/large?v=v2&amp;amp;px=999" role="button" title="24.1.5 ADC Reference Options.png" alt="24.1.5 ADC Reference Options.png" /&gt;&lt;/span&gt; &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;/P&gt;&lt;P&gt;2. When on-chip 1.2V VREF is enabled, PTE30 pin must be used as VREF_OUT and has to be &lt;STRONG&gt;configured as an analog input, such as ADC0_SE23&lt;/STRONG&gt;. &lt;BR /&gt;It means you need to set PORTE_PCR30[MUX] = 000&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="PTE30 VREF0_B.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26828i5EC52DF98C06193A/image-size/large?v=v2&amp;amp;px=999" role="button" title="PTE30 VREF0_B.png" alt="PTE30 VREF0_B.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;/P&gt;&lt;P&gt;3. PTE30 can also be used as an &lt;STRONG&gt;external reference voltage input&lt;/STRONG&gt; as long as PTE30 is configured as analog input and VREF module is disabled. &lt;BR /&gt;It means you can connect external reference voltage to PTE30 and use it as ADC Reference. For example 3.3V. For the 36-pin and below packages the PTE30 is something like the VREFH pin of 48-pin and higher package.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="PTE30 VREF_OUT and external reference voltage input.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26896i0D50043CBD52B7BC/image-size/large?v=v2&amp;amp;px=999" role="button" title="PTE30 VREF_OUT and external reference voltage input.png" alt="PTE30 VREF_OUT and external reference voltage input.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&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, 27 Jul 2017 01:18:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/ADC-on-KL17/m-p/686845#M42273</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2017-07-27T01:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: ADC on KL17</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/ADC-on-KL17/m-p/686846#M42274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robin,&lt;/P&gt;&lt;P&gt;This helped me to solved my problem. Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Albert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2018 17:09:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/ADC-on-KL17/m-p/686846#M42274</guid>
      <dc:creator>albert_zhou</dc:creator>
      <dc:date>2018-10-09T17:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: ADC on KL17</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/ADC-on-KL17/m-p/686847#M42275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robin,&lt;/P&gt;&lt;P&gt;I configured PTE30 as default (ADC0SE23). The ADC reading is far from accuracy. 18mV reads 2300mV..., Since MKL27Z64VFM4(QFN32) VREFH is internal connected to VDDA, No Reference output needed, should VREF-&amp;gt;TRM and VREF-&amp;gt;SC all be default (=0)?.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2018 17:48:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/ADC-on-KL17/m-p/686847#M42275</guid>
      <dc:creator>albert_zhou</dc:creator>
      <dc:date>2018-10-09T17:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: ADC on KL17</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/ADC-on-KL17/m-p/686848#M42276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As the NOTe above, PTE30 pin as VREF_OUT and as ADC input (default). How to configure PTE30? very confuse...OUT? input?&lt;/P&gt;&lt;P&gt;I just use Vcc as Vrefrence, what should be PTE30? can this pin as ADC0SE23 like floating?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2018 18:19:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/ADC-on-KL17/m-p/686848#M42276</guid>
      <dc:creator>albert_zhou</dc:creator>
      <dc:date>2018-10-09T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: ADC on KL17</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/ADC-on-KL17/m-p/686849#M42277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I connected PTE30(configured default for ADC0SE23) to Vcc. The ADC reading is OK.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2018 21:10:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/ADC-on-KL17/m-p/686849#M42277</guid>
      <dc:creator>albert_zhou</dc:creator>
      <dc:date>2018-10-09T21:10:34Z</dc:date>
    </item>
  </channel>
</rss>

