<?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 FRDM-KL03Z Use Internal 1.2 V Reference for ADC in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL03Z-Use-Internal-1-2-V-Reference-for-ADC/m-p/1231084#M59622</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I am attempting to use the FRDM-KL03Z ADC with the internal voltage reference instead of&amp;nbsp;&amp;nbsp;V_REFH which is tied to VDD inside the chip.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the ADC running fine with the VREFH voltage at VDD = 3.3 V.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to instead use the internal voltage reference of 1.2 V.&lt;/P&gt;&lt;P&gt;I have tried the following to change over to the voltage reference:&amp;nbsp;&lt;/P&gt;&lt;P&gt;1)&amp;nbsp;&amp;nbsp;Set PMC_HAL_SetBandgapInLowPowerModeCmd(baseAddr, 1); to enable the voltage reference.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;2) Set PMC_HAL_SetBandgapBufferCmd(baseAddr, 1); to enable the voltage reference buffer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) Set ADC16_HAL_SetRefVoltSrcMode(baseAddr, 1U); to select the alternative reference&amp;nbsp;pair of ValtH and ValtL.&lt;/P&gt;&lt;P&gt;After doing this the ADC producing exactly the same readings as before indicating that it is still using the old reference. Am I missing anything important here?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Feb 2021 16:27:59 GMT</pubDate>
    <dc:creator>Meechy</dc:creator>
    <dc:date>2021-02-15T16:27:59Z</dc:date>
    <item>
      <title>FRDM-KL03Z Use Internal 1.2 V Reference for ADC</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL03Z-Use-Internal-1-2-V-Reference-for-ADC/m-p/1231084#M59622</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I am attempting to use the FRDM-KL03Z ADC with the internal voltage reference instead of&amp;nbsp;&amp;nbsp;V_REFH which is tied to VDD inside the chip.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the ADC running fine with the VREFH voltage at VDD = 3.3 V.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to instead use the internal voltage reference of 1.2 V.&lt;/P&gt;&lt;P&gt;I have tried the following to change over to the voltage reference:&amp;nbsp;&lt;/P&gt;&lt;P&gt;1)&amp;nbsp;&amp;nbsp;Set PMC_HAL_SetBandgapInLowPowerModeCmd(baseAddr, 1); to enable the voltage reference.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;2) Set PMC_HAL_SetBandgapBufferCmd(baseAddr, 1); to enable the voltage reference buffer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) Set ADC16_HAL_SetRefVoltSrcMode(baseAddr, 1U); to select the alternative reference&amp;nbsp;pair of ValtH and ValtL.&lt;/P&gt;&lt;P&gt;After doing this the ADC producing exactly the same readings as before indicating that it is still using the old reference. Am I missing anything important here?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2021 16:27:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL03Z-Use-Internal-1-2-V-Reference-for-ADC/m-p/1231084#M59622</guid>
      <dc:creator>Meechy</dc:creator>
      <dc:date>2021-02-15T16:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL03Z Use Internal 1.2 V Reference for ADC</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL03Z-Use-Internal-1-2-V-Reference-for-ADC/m-p/1233435#M59686</link>
      <description>&lt;P&gt;Hi Meechy,&lt;/P&gt;
&lt;P&gt;what's the voltage of VREF_OUT pin?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jing&lt;/P&gt;</description>
      <pubDate>Fri, 19 Feb 2021 07:53:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL03Z-Use-Internal-1-2-V-Reference-for-ADC/m-p/1233435#M59686</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2021-02-19T07:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL03Z Use Internal 1.2 V Reference for ADC</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL03Z-Use-Internal-1-2-V-Reference-for-ADC/m-p/1234916#M59722</link>
      <description>&lt;P&gt;Hello Jing&lt;/P&gt;&lt;P&gt;Thanks for the fast reply. I get a voltage that floats around 0.05 V when measuring PTB2 with my meter.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I believe this is wrong and is likely causing the problem. Am I right in thinking that the capacitor required for V_REF is already installed on the FRDM-KL03Z board?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any suggestions on how I can troubleshoot this further?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best wishes,&lt;/P&gt;&lt;P&gt;James&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2021 10:14:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL03Z-Use-Internal-1-2-V-Reference-for-ADC/m-p/1234916#M59722</guid>
      <dc:creator>Meechy</dc:creator>
      <dc:date>2021-02-23T10:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL03Z Use Internal 1.2 V Reference for ADC</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL03Z-Use-Internal-1-2-V-Reference-for-ADC/m-p/1236522#M59743</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Please check if you have configure VREF module correctly and mux PTB2 to Vref function.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jing&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 09:52:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL03Z-Use-Internal-1-2-V-Reference-for-ADC/m-p/1236522#M59743</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2021-02-25T09:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL03Z Use Internal 1.2 V Reference for ADC</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL03Z-Use-Internal-1-2-V-Reference-for-ADC/m-p/1238642#M59767</link>
      <description>&lt;P&gt;Hello Jing&lt;/P&gt;&lt;P&gt;I have configured the mux and now a see a voltage of ~ 3 V between PTB2 and GND.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking at document number: KL03P24M48SF0 it is not clear to me what I need to change to make this voltage 1.2 V.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any tips?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 10:41:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL03Z-Use-Internal-1-2-V-Reference-for-ADC/m-p/1238642#M59767</guid>
      <dc:creator>Meechy</dc:creator>
      <dc:date>2021-03-02T10:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL03Z Use Internal 1.2 V Reference for ADC</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL03Z-Use-Internal-1-2-V-Reference-for-ADC/m-p/1242258#M59836</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I use MCUxpresso IDE and KL03 SDK2.3.1.&amp;nbsp; It only need several step to enable VREF_OUT.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;   PORT_SetPinMux(PORTB, 2U, kPORT_PinDisabledOrAnalog);
   VREF_GetDefaultConfig(&amp;amp;vrefConfigStruct);
   VREF_Init(VREF, &amp;amp;vrefConfigStruct);&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jing&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 06:21:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL03Z-Use-Internal-1-2-V-Reference-for-ADC/m-p/1242258#M59836</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2021-03-09T06:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL03Z Use Internal 1.2 V Reference for ADC</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL03Z-Use-Internal-1-2-V-Reference-for-ADC/m-p/1245198#M59879</link>
      <description>&lt;P&gt;Hello Jing&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help, I have this working on my platform now.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;</description>
      <pubDate>Sat, 13 Mar 2021 17:44:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL03Z-Use-Internal-1-2-V-Reference-for-ADC/m-p/1245198#M59879</guid>
      <dc:creator>Meechy</dc:creator>
      <dc:date>2021-03-13T17:44:23Z</dc:date>
    </item>
  </channel>
</rss>

