<?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: MK10FN1M0VLQ12: Use the internal band gap voltage for ADC in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK10FN1M0VLQ12-Use-the-internal-band-gap-voltage-for-ADC/m-p/488914#M30138</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello markosiponen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;You need set the VREF bit in SIM_SCGC4 first , then configure &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;VREF-&amp;gt;SC.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Q1:Does the ADC use the buffered reference voltage or the Bandgap voltage?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;A1:&lt;/SPAN&gt;The PMC bandgap 1V reference voltage is one of the input signal for ADC.&amp;nbsp; The 1.195V buffered reference voltage is one of the voltage reference source for ADC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q2:&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;The reference manual says the band gap voltage is 1.2V but the data sheet says 1.195V. Which is correct?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;A2:Data sheet is correct. For more detail you can see the "Table 36. VREF full-range operating behaviors" in the Data sheet (K10P144M120SF3.pdf) .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Robin&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Jan 2016 07:49:06 GMT</pubDate>
    <dc:creator>Robin_Shen</dc:creator>
    <dc:date>2016-01-18T07:49:06Z</dc:date>
    <item>
      <title>MK10FN1M0VLQ12: Use the internal band gap voltage for ADC</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK10FN1M0VLQ12-Use-the-internal-band-gap-voltage-for-ADC/m-p/488913#M30137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to use the internal bandgap voltage as a reference voltage for the internal ADC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I activate the band gap like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; VREF-&amp;gt;SC = VREF_SC_VREFEN_MASK | VREF_SC_REGEN_MASK | VREF_SC_MODE_LV(2);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; while ((VREF-&amp;gt;SC &amp;amp; VREF_SC_VREFST_MASK) == 0); // Wait for the bandgap ref to activate&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 use VREF_SC_MODE_LV(&lt;STRONG&gt;2&lt;/STRONG&gt;) because my debugger (KEIL) says that 2 = Tight regulation buffer enabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0 = Bandgap on only, for stabilization and startup&lt;/P&gt;&lt;P&gt;1 = Reserved&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2 = Tight regulation buffer enabled&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;3 = Reserved&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the reference manual says:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;00 Bandgap on only, for stabilization and startup&lt;/P&gt;&lt;P&gt;01 High-power buffer enabled&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;10 Reserved&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;11 Reserved&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It does not work if i select VREF_SC_MODE_LV(&lt;STRONG&gt;1&lt;/STRONG&gt;) , only if I use VREF_SC_MODE_LV(&lt;STRONG&gt;2&lt;/STRONG&gt;) . But I can't find this information in any datasheet or reference manual? Where can I find this? Where did KEIL find this conflicting information?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And does the ADC use the buffered reference voltage or the Bandgap voltage?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And one more thing. The reference manual says the band gap voltage is 1.2V but the data sheet says 1.195V. Which is correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And finally one more thing. When I measure pin 37 (VREF_OUT) I get 0 V. Do I need to enable the pin? I have tried both VREF_SC_MODE_LV(&lt;STRONG&gt;1&lt;/STRONG&gt;) and VREF_SC_MODE_LV(&lt;STRONG&gt;2&lt;/STRONG&gt;) with no luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 08:20:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK10FN1M0VLQ12-Use-the-internal-band-gap-voltage-for-ADC/m-p/488913#M30137</guid>
      <dc:creator>markosiponen</dc:creator>
      <dc:date>2016-01-14T08:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: MK10FN1M0VLQ12: Use the internal band gap voltage for ADC</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK10FN1M0VLQ12-Use-the-internal-band-gap-voltage-for-ADC/m-p/488914#M30138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello markosiponen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;You need set the VREF bit in SIM_SCGC4 first , then configure &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;VREF-&amp;gt;SC.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Q1:Does the ADC use the buffered reference voltage or the Bandgap voltage?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;A1:&lt;/SPAN&gt;The PMC bandgap 1V reference voltage is one of the input signal for ADC.&amp;nbsp; The 1.195V buffered reference voltage is one of the voltage reference source for ADC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q2:&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;The reference manual says the band gap voltage is 1.2V but the data sheet says 1.195V. Which is correct?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;A2:Data sheet is correct. For more detail you can see the "Table 36. VREF full-range operating behaviors" in the Data sheet (K10P144M120SF3.pdf) .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Robin&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2016 07:49:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK10FN1M0VLQ12-Use-the-internal-band-gap-voltage-for-ADC/m-p/488914#M30138</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2016-01-18T07:49:06Z</dc:date>
    </item>
  </channel>
</rss>

