<?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: MKV5x HSADC sample code in MCUXpresso SDK</title>
    <link>https://community.nxp.com/t5/MCUXpresso-SDK/MKV5x-HSADC-sample-code/m-p/753223#M583</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When revisiting this, I found that I had connection problems. After the correction, everything worked as expected.&lt;/P&gt;&lt;P&gt;Thanks Xiangjun for the help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shelby&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Feb 2018 21:47:02 GMT</pubDate>
    <dc:creator>shelbyzhu</dc:creator>
    <dc:date>2018-02-14T21:47:02Z</dc:date>
    <item>
      <title>MKV5x HSADC sample code</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/MKV5x-HSADC-sample-code/m-p/753220#M580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: 12.8px;"&gt;We are evaluating TWR-KV58F220M development board so we can upgrade from KV46xx MCU to KV5x MCU.&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: 12.8px;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: 12.8px;"&gt;We installed Xpresso development environment and SDK2.2 for MKV5x (SDK_2.2_TWR-KV58F220M).&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: 12.8px;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: 12.8px;"&gt;We tested a few demo apps and they worked properly. But when we tried HSADC sample from driver_examples folder. The ADC readings did not reflect the input at corresponding ADC input pins.&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: 12.8px;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: 12.8px;"&gt;We tried two boards ordered from different sources and they behave the same. None of them worked. What we saw are constant values (with minor variations) from each channels, eg:&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: 12.8px;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: 12.8px;"&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Sample 0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Sample 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Sample 8&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Sample 9&lt;/DIV&gt;&lt;DIV&gt;17688&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;21632&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;8928&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;/DIV&gt;&lt;DIV&gt;16384&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;21576&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;208&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;/DIV&gt;&lt;DIV&gt;16384&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;19976&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;208&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;8&lt;/DIV&gt;&lt;DIV&gt;16384&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;18592&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;264&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;8&lt;/DIV&gt;&lt;DIV&gt;16384&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;18440&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;240&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;/DIV&gt;&lt;DIV&gt;16392&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;18480&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;232&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;/DIV&gt;&lt;DIV&gt;16392&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;21608&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;232&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;/DIV&gt;&lt;DIV&gt;16384&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;20184&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;208&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;/DIV&gt;&lt;DIV&gt;16392&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;19088&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;248&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;8&lt;/DIV&gt;&lt;DIV&gt;16384&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;21624&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;200&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;8&lt;/DIV&gt;&lt;DIV&gt;16392&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;19600&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;200&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: 12.8px;"&gt;The test input voltage was provided using either GND or 1.5v, with 20k ohm series resistor to the input.&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: 12.8px;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: 12.8px;"&gt;Could&amp;nbsp;anyone help us find out there is anything extra we need to do to get it to work? Or you have updated sample code for us to try?&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: 12.8px;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: 12.8px;"&gt;Regards,&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: 12.8px;"&gt;Shelby&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Nov 2017 23:14:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/MKV5x-HSADC-sample-code/m-p/753220#M580</guid>
      <dc:creator>shelbyzhu</dc:creator>
      <dc:date>2017-11-30T23:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: MKV5x HSADC sample code</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/MKV5x-HSADC-sample-code/m-p/753221#M581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Shelby,&lt;/P&gt;&lt;P&gt;I think the 20K ohm serial resistor is too large, if you connect the GND or 1.5V to ananlog pin directly, what is the result?&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Xiangjun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 06:26:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/MKV5x-HSADC-sample-code/m-p/753221#M581</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2017-12-04T06:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: MKV5x HSADC sample code</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/MKV5x-HSADC-sample-code/m-p/753222#M582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xiangjun,&lt;/P&gt;&lt;P&gt;Thanks for helping me on this issue!&lt;/P&gt;&lt;P&gt;I tried connect GND directly to ADC input pin and it did not help. They still show what it would normally show,&amp;nbsp;as if the signal is not connected.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shelby&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 22:50:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/MKV5x-HSADC-sample-code/m-p/753222#M582</guid>
      <dc:creator>shelbyzhu</dc:creator>
      <dc:date>2017-12-04T22:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: MKV5x HSADC sample code</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/MKV5x-HSADC-sample-code/m-p/753223#M583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When revisiting this, I found that I had connection problems. After the correction, everything worked as expected.&lt;/P&gt;&lt;P&gt;Thanks Xiangjun for the help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shelby&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Feb 2018 21:47:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/MKV5x-HSADC-sample-code/m-p/753223#M583</guid>
      <dc:creator>shelbyzhu</dc:creator>
      <dc:date>2018-02-14T21:47:02Z</dc:date>
    </item>
  </channel>
</rss>

