<?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: Tuning the voltage reference of k64f? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Tuning-the-voltage-reference-of-k64f/m-p/474430#M28835</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey, Jorge. Thanks for responding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the dac example of SKD1.3 and inputted the extra line of code inbetween struct and init. &lt;BR /&gt;I tested using an oscilloskop, and setting &lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f6f6f6;"&gt;kDacRefVoltSrcOfVref1&lt;/SPAN&gt; gives no outputvoltage of the DAC. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I first though that maybe the function was wrong, but setting &lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f6f6f6;"&gt;kDacRefVoltSrcOfVref2&lt;/SPAN&gt; works as it should. Am I missing something. Too use the other voltage reference do i have to do something analog? Im kinda stuck with this one. I will try at it at SDK2.0 and see if it works there!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you got any more information, Id appricate that. If not, thanks for helping me!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Runar Haaskjold&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 May 2016 12:50:45 GMT</pubDate>
    <dc:creator>runarhaaskjold</dc:creator>
    <dc:date>2016-05-12T12:50:45Z</dc:date>
    <item>
      <title>Tuning the voltage reference of k64f?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Tuning-the-voltage-reference-of-k64f/m-p/474425#M28830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello guys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question regarding the voltage reference of the K64F. Cause some problem with INA250 (and limited time), I have to get an output of maximum 100mV from the DAC. Haven't tested it with a filter, to remove noise. Is it realistic?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second question is, could I tune the voltage reference so that i get more than 100 steps? (100mV is about 100 steps with 3.3V reference). I read through the reference manual, but with lack of sucess.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kDacRefVoltSrcOfVref 1 or 2 is something I can use?&lt;/P&gt;&lt;P&gt;I know the K64F originally has a vref of 1.2V, how can i use this instead of the 3.3V? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Runar Haaskjold&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2016 14:11:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Tuning-the-voltage-reference-of-k64f/m-p/474425#M28830</guid>
      <dc:creator>runarhaaskjold</dc:creator>
      <dc:date>2016-04-25T14:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: Tuning the voltage reference of k64f?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Tuning-the-voltage-reference-of-k64f/m-p/474426#M28831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: Helvetica, sans-serif;"&gt;I see that I was in a hurry, and my formulation&amp;nbsp; was not ideal. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: Helvetica, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: Helvetica, sans-serif;"&gt;I want to get a maximum of 100mV out from the DAC, and therefore need as many steps as possible between 0 - 100 mV. I’m limited to do this with a circuit, so I want to change the Vref (from 3.3 to 1.2) and thus get a better resolution. &lt;BR /&gt;&amp;nbsp; After some research, I’ve conclued that I’I need to activate DACREF_1. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: Helvetica, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: Helvetica, sans-serif;"&gt;So I have two options: &lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: Helvetica, sans-serif;"&gt;I can either write to its base address (400CC023) and right shift 1 into the different register (DACRFS and others) though I have very limited knowledge on how to do so.&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: Helvetica, sans-serif;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: Helvetica, sans-serif;"&gt;Or I can set kDacRefVoltSrsOfVref1 somewhere, (in a c-file or header), but I can’t find where it’s defined..?&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: Helvetica, sans-serif;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: Helvetica, sans-serif;"&gt;Anyone got any input advice? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for reading!&lt;/P&gt;&lt;P&gt;Runar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 14:22:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Tuning-the-voltage-reference-of-k64f/m-p/474426#M28831</guid>
      <dc:creator>runarhaaskjold</dc:creator>
      <dc:date>2016-04-26T14:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: Tuning the voltage reference of k64f?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Tuning-the-voltage-reference-of-k64f/m-p/474427#M28832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Runar Haaskjol&lt;/P&gt;&lt;P style="margin-left: .5in; text-indent: -.5in;"&gt;What IDE are you using? You are using an example code? &lt;/P&gt;&lt;P style="margin-left: .5in; text-indent: -.5in;"&gt;Yes, as you said you have two option;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;You can select the DACREF_1, in the DACRFS field from the DACx_C0 control register, in the KDS IDE this can be done by:&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;DAC0_C0 |= DAC_C0_DACRFS_MASK;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Or, in case you are using kinetis KSDK, in the main of the dac_example_frdmk64f you will find:&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #3f7f5f;"&gt;// Fill the structure with configuration of software trigger.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black; background: lightgrey;"&gt;DAC_DRV_StructInitUserConfigNormal&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;(&amp;amp;dacUserConfig);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #3f7f5f;"&gt;// Initialize the DAC Converter.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;DAC_DRV_Init(DAC_INSTANCE, &amp;amp;dacUserConfig);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-left: .5in; text-indent: -.5in;"&gt;Where &lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black; text-decoration: underline; font-size: 10.0pt; font-family: Consolas;"&gt;dac_status_t&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt; &lt;STRONG&gt;DAC_DRV_StructInitUserConfigNormal&lt;/STRONG&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #005032;"&gt;dac_converter_config_t&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt; *&lt;SPAN style="background: lightgrey;"&gt;userConfigPtr&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt; &lt;STRONG style="color: #7f0055; font-size: 10.0pt; font-family: Consolas;"&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt; (!&lt;SPAN style="background: lightgrey;"&gt;userConfigPtr&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt; &lt;STRONG style="color: #7f0055; font-size: 10.0pt; font-family: Consolas;"&gt;return&lt;/STRONG&gt; &lt;EM style="color: #0000c0; font-size: 10.0pt; font-family: Consolas;"&gt;kStatus_DAC_InvalidArgument&lt;/EM&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt; &lt;SPAN style="background: lightgrey;"&gt;userConfigPtr&lt;/SPAN&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #0000c0;"&gt;dacRefVoltSrc&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt; = &lt;/SPAN&gt;&lt;EM style="color: #0000c0; font-size: 10.0pt; font-family: Consolas;"&gt;kDacRefVoltSrcOfVref2&lt;/EM&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #3f7f5f;"&gt;/* &lt;SPAN style="text-decoration: underline;"&gt;Vdda&lt;/SPAN&gt; */&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt; &lt;SPAN style="background: lightgrey;"&gt;userConfigPtr&lt;/SPAN&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #0000c0;"&gt;lowPowerEnable&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt; = false;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt; &lt;STRONG style="color: #7f0055; font-size: 10.0pt; font-family: Consolas;"&gt;return&lt;/STRONG&gt; &lt;EM style="color: #0000c0; font-size: 10.0pt; font-family: Consolas;"&gt;kStatus_DAC_Success&lt;/EM&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-left: .5in; text-indent: -.5in;"&gt;When you can see that the refVolt is selected. You can copy this code and put it in your project&lt;/P&gt;&lt;P style="margin-left: .5in; text-indent: -.5in;"&gt;Hope this information helps&lt;/P&gt;&lt;P style="text-align: justify;"&gt;Regards&lt;/P&gt;&lt;P&gt;Jorge Alcala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 21:46:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Tuning-the-voltage-reference-of-k64f/m-p/474427#M28832</guid>
      <dc:creator>jorge_a_vazquez</dc:creator>
      <dc:date>2016-04-26T21:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Tuning the voltage reference of k64f?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Tuning-the-voltage-reference-of-k64f/m-p/474428#M28833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Jorge, sorry for my late respond, things have been hectic. I'm using Keil IDE (uvision), and using example code from KDSK 1.3. I located the function you named in the "fsl_dac_driver", but changing it just prevented me from using the DAC. I went on searching for other ways of changing it, and stumbled over this code:&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;void DAC_HAL_ConfigConverter(DAC_Type * base, const dac_converter_config_t *configPtr)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint8_t c0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; c0 = DAC_RD_C0(base);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; c0 &amp;amp;= ~(&amp;nbsp; DAC_C0_DACRFS_MASK&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | DAC_C0_LPEN_MASK&amp;nbsp; );&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (kDacRefVoltSrcOfVref2 == configPtr-&amp;gt;dacRefVoltSrc)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; c0 = DAC_C0_DACRFS_MASK;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (configPtr-&amp;gt;lowPowerEnable)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; c0 |= DAC_C0_LPEN_MASK;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DAC_WR_C0(base, c0);&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 dont fully understand the code, but changing something here may help me?&lt;BR /&gt;Reading from the datasheet K64F:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0&amp;nbsp; selects DACREF_1 as the reference voltage.&lt;/P&gt;&lt;P&gt;1&amp;nbsp; selects DACREF_2 as the reference voltage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The register is DACRFS in C0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Got any more suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Runar Haaskjold&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 14:32:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Tuning-the-voltage-reference-of-k64f/m-p/474428#M28833</guid>
      <dc:creator>runarhaaskjold</dc:creator>
      <dc:date>2016-05-10T14:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Tuning the voltage reference of k64f?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Tuning-the-voltage-reference-of-k64f/m-p/474429#M28834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Runar Haaskjol&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You don't need to change the driver code, the dacUserConfig is a structure that define the reference voltage and the low power mode, in the example code from KSDK this set it up in a "normal mode", so in main.c, the source reference voltage is defined as kDacRefVoltSrcOfVref2 with the instruction DAC_DRV_StructInitUserConfigNormal(&amp;amp;dacUserConfig);&amp;nbsp; but you can reconfigure this structure before initialize the dac. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="_jivemacro_uid_14629127391491471 jive_macro_code jive_text_macro" data-renderedposition="190_8_1050_96" jivemacro_uid="_14629127391491471" modifiedtitle="true"&gt;&lt;P&gt;&amp;nbsp; // Fill the structure with configuration of software trigger.&lt;/P&gt;&lt;P&gt; DAC_DRV_StructInitUserConfigNormal(&amp;amp;dacUserConfig);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Here: the dacRefVoltSrc is Redefined as kDacRefVoltSrcOfVref1&lt;/P&gt;&lt;P&gt; dacUserConfig.dacRefVoltsrc=kDacRefVoltSrcOfVref1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Initialize the DAC Converter.&lt;/P&gt;&lt;P&gt; DAC_DRV_Init(DAC_INSTANCE, &amp;amp;dacUserConfig);&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;The code above show you how configure your dacUserConfig, please note that this has to be done after fill the structure and &lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="color: #303030; text-decoration: underline;"&gt;before&lt;/SPAN&gt;&lt;/SPAN&gt; you initialize the DAC. &lt;/P&gt;&lt;P&gt;Alternatively, you can configure you structure any time in your code if you change the dacUserConfig and then use the HAL function that you mentioned. Something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14629127815273222 jive_text_macro" data-renderedposition="416_8_1050_32" jivemacro_uid="_14629127815273222" modifiedtitle="true"&gt;&lt;P&gt; dacUserConfig.dacRefVoltsrc=kDacRefVoltSrcOfVref1;&lt;/P&gt;&lt;P&gt; DAC_HAL_ConfigConverter(DAC_INSTANCE, &amp;amp;dacUserConfig);&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this information can help you.&lt;/P&gt;&lt;P&gt;Jorge Alcala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 20:44:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Tuning-the-voltage-reference-of-k64f/m-p/474429#M28834</guid>
      <dc:creator>jorge_a_vazquez</dc:creator>
      <dc:date>2016-05-10T20:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Tuning the voltage reference of k64f?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Tuning-the-voltage-reference-of-k64f/m-p/474430#M28835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey, Jorge. Thanks for responding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the dac example of SKD1.3 and inputted the extra line of code inbetween struct and init. &lt;BR /&gt;I tested using an oscilloskop, and setting &lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f6f6f6;"&gt;kDacRefVoltSrcOfVref1&lt;/SPAN&gt; gives no outputvoltage of the DAC. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I first though that maybe the function was wrong, but setting &lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f6f6f6;"&gt;kDacRefVoltSrcOfVref2&lt;/SPAN&gt; works as it should. Am I missing something. Too use the other voltage reference do i have to do something analog? Im kinda stuck with this one. I will try at it at SDK2.0 and see if it works there!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you got any more information, Id appricate that. If not, thanks for helping me!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Runar Haaskjold&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 12:50:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Tuning-the-voltage-reference-of-k64f/m-p/474430#M28835</guid>
      <dc:creator>runarhaaskjold</dc:creator>
      <dc:date>2016-05-12T12:50:45Z</dc:date>
    </item>
  </channel>
</rss>

