<?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 iMX6ULL adc calibration in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX6ULL-adc-calibration/m-p/981985#M145922</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,dears,&lt;/P&gt;&lt;P&gt;I had the same problem as this little friend:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/432516"&gt;iMX6UL adc calibration fails&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My soc is iMx6uLL,but I tested at EVK board. EVK had this problem. So I think it&amp;nbsp;has nothing to do with PCB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Listed my config:&lt;/P&gt;&lt;P&gt;dts:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;adc1 {&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; pinctrl-names = "default";&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; pinctrl-0 = &amp;lt;&amp;amp;pinctrl_adc1&amp;gt;;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; vref-supply = &amp;lt;&amp;amp;reg_vref_3v3&amp;gt;;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; num-channels = &amp;lt;2&amp;gt;;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; status = "okay";&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;};&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; pinctrl_adc1: adc1grp {&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; fsl,pins = &amp;lt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; MX6UL_PAD_GPIO1_IO08__GPIO1_IO08 0xb0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; MX6UL_PAD_GPIO1_IO09__GPIO1_IO09 0xb0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; &amp;gt;;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; };&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vf610_adc.c :&lt;BR /&gt;&lt;STRONG&gt;static const struct iio_chan_spec vf610_adc_iio_channels[] = {&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;VF610_ADC_CHAN(9, IIO_VOLTAGE), &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;VF610_ADC_CHAN(8, IIO_VOLTAGE),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;};&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#cat /sys/bus/iio/devices/iio\:device0/in_voltage8_raw &lt;BR /&gt;3976&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; font-weight: bold;"&gt;In my PCBA board ,ADC_VREFH is OK,3.3V, but why cat out is 3976?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; font-weight: bold;"&gt;When I connected 1.8V, cat out value is 2233.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; font-weight: bold;"&gt;It's strange.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Nov 2019 07:12:27 GMT</pubDate>
    <dc:creator>barry_chen</dc:creator>
    <dc:date>2019-11-13T07:12:27Z</dc:date>
    <item>
      <title>iMX6ULL adc calibration</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6ULL-adc-calibration/m-p/981985#M145922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,dears,&lt;/P&gt;&lt;P&gt;I had the same problem as this little friend:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/432516"&gt;iMX6UL adc calibration fails&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My soc is iMx6uLL,but I tested at EVK board. EVK had this problem. So I think it&amp;nbsp;has nothing to do with PCB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Listed my config:&lt;/P&gt;&lt;P&gt;dts:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;adc1 {&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; pinctrl-names = "default";&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; pinctrl-0 = &amp;lt;&amp;amp;pinctrl_adc1&amp;gt;;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; vref-supply = &amp;lt;&amp;amp;reg_vref_3v3&amp;gt;;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; num-channels = &amp;lt;2&amp;gt;;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; status = "okay";&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;};&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; pinctrl_adc1: adc1grp {&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; fsl,pins = &amp;lt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; MX6UL_PAD_GPIO1_IO08__GPIO1_IO08 0xb0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; MX6UL_PAD_GPIO1_IO09__GPIO1_IO09 0xb0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; &amp;gt;;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; };&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vf610_adc.c :&lt;BR /&gt;&lt;STRONG&gt;static const struct iio_chan_spec vf610_adc_iio_channels[] = {&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;VF610_ADC_CHAN(9, IIO_VOLTAGE), &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;VF610_ADC_CHAN(8, IIO_VOLTAGE),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;};&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#cat /sys/bus/iio/devices/iio\:device0/in_voltage8_raw &lt;BR /&gt;3976&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; font-weight: bold;"&gt;In my PCBA board ,ADC_VREFH is OK,3.3V, but why cat out is 3976?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; font-weight: bold;"&gt;When I connected 1.8V, cat out value is 2233.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; font-weight: bold;"&gt;It's strange.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Nov 2019 07:12:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6ULL-adc-calibration/m-p/981985#M145922</guid>
      <dc:creator>barry_chen</dc:creator>
      <dc:date>2019-11-13T07:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6ULL adc calibration</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6ULL-adc-calibration/m-p/981986#M145923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi cheng&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;adc is not used in linux as it is used in sdk, so one can test it in sdk:&lt;/P&gt;&lt;H5 class=""&gt;&lt;A data-dtmaction="Software &amp;amp; Tools tab: Developer Resources - Download Link click" data-dtmsubaction="SDK2.2_iMX6ULL_WIN" href="https://www.nxp.com/webapp/Download?colCode=SDK2.2_iMX6ULL_WIN&amp;amp;appType=license"&gt;SDK2.2_iMX6ULL_WIN&lt;/A&gt;&lt;/H5&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&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, 13 Nov 2019 09:50:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6ULL-adc-calibration/m-p/981986#M145923</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-11-13T09:50:32Z</dc:date>
    </item>
  </channel>
</rss>

