<?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>Kinetis MicrocontrollersのトピックRe: MKM35Z Vref</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKM35Z-Vref/m-p/1811548#M66071</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;On the TWR-KM35Z75M board, you test the pin2 of J2 which is VREF pin.&lt;/P&gt;
&lt;P&gt;As the following fig, if you want to output 1,2V internal reference to the Vref pin, you must close S2 and S1, in other words, the S2 is connected to 1.2V internal reference.&lt;/P&gt;
&lt;P&gt;Pls configure the two reg:&lt;/P&gt;
&lt;P&gt;S1 corresponds to VREF Buffer Output Enable:&lt;BR /&gt;SIM_MISC_CTL[VREFBUFOUTEN];&lt;BR /&gt;• S2 corresponds to VREF Buffer Input Select:&lt;BR /&gt;SIM_MISC_CTL[VREFBUFINSEL];&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1708412713363.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/263919i025A1751B3111F16/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1708412713363.png" alt="xiangjun_rong_0-1708412713363.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
    <pubDate>Tue, 20 Feb 2024 07:08:23 GMT</pubDate>
    <dc:creator>xiangjun_rong</dc:creator>
    <dc:date>2024-02-20T07:08:23Z</dc:date>
    <item>
      <title>MKM35Z Vref</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKM35Z-Vref/m-p/1809424#M66059</link>
      <description>&lt;P&gt;Hello, I'm trying to set up the Vref on a MKM35ZX512VLL7. &amp;nbsp;I am unable to get voltage on the Vref pin, but I have voltage on the Vrefh pin. &amp;nbsp;I ran the Vref demo on the TWR-KM35Z75M board and the Vref pin has an output. &amp;nbsp;I tried running the demo code on my board, but I still have no output.&lt;/P&gt;&lt;P&gt;I tried pasting the Vref demo configuration into my code, but still no output.&lt;/P&gt;&lt;P&gt;Am I missing something to enable the output pin?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Don&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 18:50:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKM35Z-Vref/m-p/1809424#M66059</guid>
      <dc:creator>dporada</dc:creator>
      <dc:date>2024-02-15T18:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: MKM35Z Vref</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKM35Z-Vref/m-p/1811548#M66071</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;On the TWR-KM35Z75M board, you test the pin2 of J2 which is VREF pin.&lt;/P&gt;
&lt;P&gt;As the following fig, if you want to output 1,2V internal reference to the Vref pin, you must close S2 and S1, in other words, the S2 is connected to 1.2V internal reference.&lt;/P&gt;
&lt;P&gt;Pls configure the two reg:&lt;/P&gt;
&lt;P&gt;S1 corresponds to VREF Buffer Output Enable:&lt;BR /&gt;SIM_MISC_CTL[VREFBUFOUTEN];&lt;BR /&gt;• S2 corresponds to VREF Buffer Input Select:&lt;BR /&gt;SIM_MISC_CTL[VREFBUFINSEL];&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1708412713363.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/263919i025A1751B3111F16/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1708412713363.png" alt="xiangjun_rong_0-1708412713363.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 07:08:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKM35Z-Vref/m-p/1811548#M66071</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-02-20T07:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: MKM35Z Vref</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKM35Z-Vref/m-p/1812201#M66072</link>
      <description>&lt;DIV&gt;I thought you had my answer since I didn't have the registers configured.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Here's how they are currently configured:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;VREFBUFOUTEN Value_1 RW [29] VrefBuffer Output Enable&lt;/DIV&gt;&lt;DIV&gt;VREFBUFINSEL Value_0 RW [30] VrefBuffer Input Select&lt;/DIV&gt;&lt;DIV&gt;VREFBUFPD Value_0 RW [31] VrefBuffer Power Down&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Still no output.&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 20:41:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKM35Z-Vref/m-p/1812201#M66072</guid>
      <dc:creator>dporada</dc:creator>
      <dc:date>2024-02-20T20:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: MKM35Z Vref</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKM35Z-Vref/m-p/1812339#M66076</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Pls try to use the code:&lt;/P&gt;
&lt;DIV style="background-color: #ffffff; padding: 0px 0px 0px 2px;"&gt;
&lt;DIV style="color: #000000; background-color: #ffffff; font-family: 'Consolas'; font-size: 10pt; white-space: pre;"&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;void&lt;/SPAN&gt; &lt;SPAN&gt;vrefinit&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;void&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;//enable &lt;/SPAN&gt;&lt;SPAN&gt;Vref&lt;/SPAN&gt;&lt;SPAN&gt; gated clock'&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; SIM-&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;SCGC4&lt;/SPAN&gt;&lt;SPAN&gt;|=1&amp;lt;&amp;lt;15;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;//set the &lt;/SPAN&gt;&lt;SPAN&gt;Vref&lt;/SPAN&gt;&lt;SPAN&gt; output via &lt;/SPAN&gt;&lt;SPAN&gt;Vref&lt;/SPAN&gt;&lt;SPAN&gt; pin&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; SIM-&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;MISC_CTL&lt;/SPAN&gt;&lt;SPAN&gt;&amp;amp;=0x1FFFFFFF;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; SIM-&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;MISC_CTL&lt;/SPAN&gt;&lt;SPAN&gt;|=1&amp;lt;&amp;lt;29;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV style="background-color: #ffffff; padding: 0px 0px 0px 2px;"&gt;
&lt;DIV style="color: #000000; background-color: #ffffff; font-family: 'Consolas'; font-size: 10pt; white-space: pre;"&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;/*&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; * vrefConfig.bufferMode = kVREF_ModeHighPowerBuffer;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; * vrefConfig.enableExternalVoltRef = false;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; * vrefConfig.enableLowRef = false;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; */&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; VREF_GetDefaultConfig(&amp;amp;vrefConfig);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;/* Initialize the VREF mode. */&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; VREF_Init(DEMO_VREF_BASE, &amp;amp;vrefConfig);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;I have not the KM35 tower board on hand, pls try the above code and check the Vref pin voltage.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;If it does not work, I will look for one board and have a test.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;XiangJun Rong&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 21 Feb 2024 03:44:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKM35Z-Vref/m-p/1812339#M66076</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-02-21T03:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: MKM35Z Vref</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKM35Z-Vref/m-p/1812953#M66080</link>
      <description>&lt;P&gt;Just to be sure you understand, programs work on the TWR board, but not on my board.&lt;/P&gt;&lt;P&gt;I tried you code, but the output still reads 0V with 1.2V on VrefH.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 16:20:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKM35Z-Vref/m-p/1812953#M66080</guid>
      <dc:creator>dporada</dc:creator>
      <dc:date>2024-02-21T16:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: MKM35Z Vref</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKM35Z-Vref/m-p/1813371#M66085</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;As you know that the Vref and Vrefh are two independent pins for KM35, if you test vrefh pin voltage, pls see the routing, S3 must switch to 1.2V internal reference.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1708573029245.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/264435iA68FEEE953C1161B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1708573029245.png" alt="xiangjun_rong_0-1708573029245.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pls try to use the code.&lt;/P&gt;
&lt;P&gt;I have not the TWR-KM35 board, I can not have a test, sorry.&lt;/P&gt;
&lt;DIV style="background-color: #ffffff; padding: 0px 0px 0px 2px;"&gt;
&lt;DIV style="color: #000000; background-color: #ffffff; font-family: 'Consolas'; font-size: 10pt; white-space: pre;"&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;/* VrefBuffer Power on: Buffer Enabled */&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; SIM-&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;MISC_CTL&lt;/SPAN&gt;&lt;SPAN&gt; &amp;amp;= ~SIM_MISC_CTL_VREFBUFPD_MASK;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; PRINTF(&lt;/SPAN&gt;&lt;SPAN&gt;"\r\nVREF example\r\n"&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;/*&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; * vrefConfig.bufferMode = kVREF_ModeHighPowerBuffer;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; * vrefConfig.enableExternalVoltRef = false;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; * vrefConfig.enableLowRef = false;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; */&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; VREF_GetDefaultConfig(&amp;amp;vrefConfig);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; vrefConfig.&lt;/SPAN&gt;&lt;SPAN&gt;enableExternalVoltRef&lt;/SPAN&gt;&lt;SPAN&gt;=true;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;/* Initialize the VREF mode. */&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; VREF_Init(DEMO_VREF_BASE, &amp;amp;vrefConfig);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;Pls have a try.&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 03:39:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKM35Z-Vref/m-p/1813371#M66085</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-02-22T03:39:48Z</dc:date>
    </item>
  </channel>
</rss>

