<?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: DAC voltage reference on TWR-K64 in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DAC-voltage-reference-on-TWR-K64/m-p/732690#M44796</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; VREF_OUT is the Internally-generated Voltage Reference output, you can check K64 reference manual, Chapter 38&lt;BR /&gt;Voltage Reference (VREFV1).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/8132iE60982B7E41714CB/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;VREFH is used for the ADC,&amp;nbsp; DAC didn't use it, but normally, it recommended to connect to the VDDA.&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&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>Tue, 13 Feb 2018 01:44:53 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2018-02-13T01:44:53Z</dc:date>
    <item>
      <title>DAC voltage reference on TWR-K64</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DAC-voltage-reference-on-TWR-K64/m-p/732687#M44793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The K64 Reference manual states that the onboard 12-bit DACs on the TWR-K64F120M can be set to use DACREF_1 or DACREF_2. Where do I choose the voltages that determine DACREF_1 and DACREF_2?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using jumper J29, I am able to choose V_BRD as:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;1-2: 3.3 V from K20 (default)&lt;/LI&gt;&lt;LI&gt;3-4: 3.3 V from K64&lt;/LI&gt;&lt;LI&gt;5-6: 3.3 V from regulator&lt;/LI&gt;&lt;LI&gt;7-8: 1.8 V from regulator&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But regardless of the jumper setting I use, setting the DACREF to 1 vs. 2 in software has little effect on the maximum DAC output. That is, if I use jumper setting 1-2, I get about 3.3 V out regardless of whether I set the DAC reference to DACREF_1 or DACREF_2 in software. And for jumper setting 7-8, I get about 1.8 V regardless of the software setting. Is there a way to independently set DACREF_1 and DACREF_2?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jan 2018 23:26:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DAC-voltage-reference-on-TWR-K64/m-p/732687#M44793</guid>
      <dc:creator>aberger</dc:creator>
      <dc:date>2018-01-17T23:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: DAC voltage reference on TWR-K64</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DAC-voltage-reference-on-TWR-K64/m-p/732688#M44794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; At first, you need to know DACREF_1 and DACREF_2 is what.&lt;/P&gt;&lt;P&gt;&amp;nbsp; DACREF_1: VREF_OUT&lt;/P&gt;&lt;P&gt;&amp;nbsp; DACREF_2:VDD.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/317i664027AEF1F95044/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The DAC refernce can be selected in the register DACx_C0[DACRFS],&amp;nbsp; you can choose the VDD as your DAC reference voltage, then try the DAC convert.&lt;/P&gt;&lt;P&gt;&amp;nbsp; About the code ,you can use our SDK_2.3_TWR-K64F120M which can be downloaded from this link:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://mcuxpresso.nxp.com/en/welcome" title="https://mcuxpresso.nxp.com/en/welcome"&gt;Welcome | MCUXpresso SDK Builder&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The dac code can be found in the folder:SDK_2.3_TWR-K64F120M\boards\twrk64f120m\driver_examples\dac&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&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>Fri, 19 Jan 2018 03:12:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DAC-voltage-reference-on-TWR-K64/m-p/732688#M44794</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2018-01-19T03:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: DAC voltage reference on TWR-K64</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DAC-voltage-reference-on-TWR-K64/m-p/732689#M44795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did find on pg 131 of the K64 Reference Manual that:&lt;/P&gt;&lt;P&gt;DACREF_1 = VREF_OUT&lt;/P&gt;&lt;P&gt;DACREF_2 = VDDA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's not clear what VREF_OUT is though.&amp;nbsp;How does it differ from VREFH?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, from the TWR-K64F120M schematic, it appears that VREFH is just an LC filtered version of VDDA. What are the typical uses cases for VREFH vs VDDA?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 23:23:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DAC-voltage-reference-on-TWR-K64/m-p/732689#M44795</guid>
      <dc:creator>aberger</dc:creator>
      <dc:date>2018-02-12T23:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: DAC voltage reference on TWR-K64</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DAC-voltage-reference-on-TWR-K64/m-p/732690#M44796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; VREF_OUT is the Internally-generated Voltage Reference output, you can check K64 reference manual, Chapter 38&lt;BR /&gt;Voltage Reference (VREFV1).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/8132iE60982B7E41714CB/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;VREFH is used for the ADC,&amp;nbsp; DAC didn't use it, but normally, it recommended to connect to the VDDA.&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&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>Tue, 13 Feb 2018 01:44:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DAC-voltage-reference-on-TWR-K64/m-p/732690#M44796</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2018-02-13T01:44:53Z</dc:date>
    </item>
  </channel>
</rss>

