<?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: ADC infinite loop (kinetis + k64)</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/ADC-infinite-loop-kinetis-k64/m-p/951685#M54745</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi vivien,&lt;/P&gt;&lt;P&gt;I try to follow that &lt;A href="https://mcuoneclipse.com/2013/02/10/tutorial-adc-with-the-freedom-board/comment-page-1/"&gt;Tutorial &lt;/A&gt;using KDS3.2 test on FRDM-K64F board.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Tutorial.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/90739i54623969182EF55A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Tutorial.png" alt="Tutorial.png" /&gt;&lt;/span&gt;&lt;BR /&gt;In the Variables View, I can see how the value changes:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="AD1_GetValue16.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/90740i6ABDD13BD2AE2326/image-size/large?v=v2&amp;amp;px=999" role="button" title="AD1_GetValue16.png" alt="AD1_GetValue16.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Would you please let me know the problem that you meet?&lt;/P&gt;&lt;P&gt;If the value is always 0 or 3.3v, then you may need to check the voltage of VREFSH and VDDA.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Table 35-1. ADC signal descriptions.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/90741iA8C3EA512803F66A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Table 35-1. ADC signal descriptions.png" alt="Table 35-1. ADC signal descriptions.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&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>Wed, 10 Jul 2019 01:26:31 GMT</pubDate>
    <dc:creator>Robin_Shen</dc:creator>
    <dc:date>2019-07-10T01:26:31Z</dc:date>
    <item>
      <title>ADC infinite loop (kinetis + k64)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/ADC-infinite-loop-kinetis-k64/m-p/951684#M54744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning everybody,&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 tried to use an ADC to get data from pins (they are either at 0 (ground) or 3.3v).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used this helpful tutorial :&amp;nbsp;&lt;A class="link-titled" href="https://mcuoneclipse.com/2013/02/10/tutorial-adc-with-the-freedom-board/comment-page-1/" title="https://mcuoneclipse.com/2013/02/10/tutorial-adc-with-the-freedom-board/comment-page-1/"&gt;Tutorial: ADC with the Freedom Board | MCU on Eclipse&lt;/A&gt;&amp;nbsp; yet with a break point it get to&amp;nbsp;AD1_GetValue16(&amp;amp;value); but then goes into an infinite loop and value is never updated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get started, i am just trying with only one pin, currently my test pin ADC0_DP1 is grounded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will join my ADC settings and code to show you what i have done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your support :smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2019 08:55:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/ADC-infinite-loop-kinetis-k64/m-p/951684#M54744</guid>
      <dc:creator>vivien_leymarie</dc:creator>
      <dc:date>2019-07-08T08:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: ADC infinite loop (kinetis + k64)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/ADC-infinite-loop-kinetis-k64/m-p/951685#M54745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi vivien,&lt;/P&gt;&lt;P&gt;I try to follow that &lt;A href="https://mcuoneclipse.com/2013/02/10/tutorial-adc-with-the-freedom-board/comment-page-1/"&gt;Tutorial &lt;/A&gt;using KDS3.2 test on FRDM-K64F board.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Tutorial.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/90739i54623969182EF55A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Tutorial.png" alt="Tutorial.png" /&gt;&lt;/span&gt;&lt;BR /&gt;In the Variables View, I can see how the value changes:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="AD1_GetValue16.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/90740i6ABDD13BD2AE2326/image-size/large?v=v2&amp;amp;px=999" role="button" title="AD1_GetValue16.png" alt="AD1_GetValue16.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Would you please let me know the problem that you meet?&lt;/P&gt;&lt;P&gt;If the value is always 0 or 3.3v, then you may need to check the voltage of VREFSH and VDDA.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Table 35-1. ADC signal descriptions.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/90741iA8C3EA512803F66A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Table 35-1. ADC signal descriptions.png" alt="Table 35-1. ADC signal descriptions.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&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>Wed, 10 Jul 2019 01:26:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/ADC-infinite-loop-kinetis-k64/m-p/951685#M54745</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2019-07-10T01:26:31Z</dc:date>
    </item>
  </channel>
</rss>

