<?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: imx6ul adc driver in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx6ul-adc-driver/m-p/500971#M81045</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ricardo,&lt;/P&gt;&lt;P&gt;The test procedure for the ADC module can be found on Chapter 56 “ADC Driver” of “i.MX 6 Linux Reference Manual” (attached here). Although it is mentioned that only single conversion is supported (by the driver), it is also mentioned that the sample rate could be configured.&lt;/P&gt;&lt;P&gt;Additionally, in case that you have troubles for the interface to appear in /sys/devices/… , please make sure to enable the adc1 node in the dts file you are using. For a reference, take a look at arch/arm/boot/dts/imx6ul-14x14-ddr3-arm2-adc.dts:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;adc1 {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pinctrl-names = "default";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pinctrl-0 = &amp;lt;&amp;amp;pinctrl_adc1&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vref-supply = &amp;lt;&amp;amp;reg_vref_3v3&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; status = "okay";&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will be useful for you.&lt;BR /&gt;Best regards!&lt;BR /&gt;/Carlos&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, 01 Jun 2016 19:49:34 GMT</pubDate>
    <dc:creator>CarlosCasillas</dc:creator>
    <dc:date>2016-06-01T19:49:34Z</dc:date>
    <item>
      <title>imx6ul adc driver</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ul-adc-driver/m-p/500970#M81044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I configured the adc for the imx6UL based on the following post and it is working:&lt;A href="https://community.nxp.com/thread/384439"&gt;imx6ul adc driver.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;However I need to read the file all the time for getting the adc value which is not optimal as I want to have a sample rate of around 200Hz. I saw that there is the option of continuous sampling but in my driver I only have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/sys/bus/iio/devices/iio:device0# ls&lt;/P&gt;&lt;P&gt;in_voltage0_raw in_voltage0_raw&lt;/P&gt;&lt;P&gt;in_voltage0_raw in_voltage_sampling_frequency&lt;/P&gt;&lt;P&gt;power&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's missing the buffer file. I try to add configuration option (CONFIG_IIO_SYSFS_TRIGGER) in the kernel but is not working. Is there any driver I can add to have this option?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 16:51:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ul-adc-driver/m-p/500970#M81044</guid>
      <dc:creator>ricardoferreira</dc:creator>
      <dc:date>2016-05-25T16:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: imx6ul adc driver</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ul-adc-driver/m-p/500971#M81045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ricardo,&lt;/P&gt;&lt;P&gt;The test procedure for the ADC module can be found on Chapter 56 “ADC Driver” of “i.MX 6 Linux Reference Manual” (attached here). Although it is mentioned that only single conversion is supported (by the driver), it is also mentioned that the sample rate could be configured.&lt;/P&gt;&lt;P&gt;Additionally, in case that you have troubles for the interface to appear in /sys/devices/… , please make sure to enable the adc1 node in the dts file you are using. For a reference, take a look at arch/arm/boot/dts/imx6ul-14x14-ddr3-arm2-adc.dts:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;adc1 {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pinctrl-names = "default";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pinctrl-0 = &amp;lt;&amp;amp;pinctrl_adc1&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vref-supply = &amp;lt;&amp;amp;reg_vref_3v3&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; status = "okay";&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will be useful for you.&lt;BR /&gt;Best regards!&lt;BR /&gt;/Carlos&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, 01 Jun 2016 19:49:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ul-adc-driver/m-p/500971#M81045</guid>
      <dc:creator>CarlosCasillas</dc:creator>
      <dc:date>2016-06-01T19:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: imx6ul adc driver</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ul-adc-driver/m-p/500972#M81046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any news to share on this? Namely I'm also looking for the continuous conversion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Jonas Nyberg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2017 10:38:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ul-adc-driver/m-p/500972#M81046</guid>
      <dc:creator>jonasnyberg</dc:creator>
      <dc:date>2017-08-03T10:38:49Z</dc:date>
    </item>
  </channel>
</rss>

