<?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>i.MX ProcessorsのトピックRe: Read ADC on mx28evk</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Read-ADC-on-mx28evk/m-p/366925#M52166</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On a 3.17 kernel you can read the ADC by doing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;root@freescale /$ cat /sys/bus/iio/devices/iio:device0/in_voltage0_raw&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;4095&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Oct 2014 23:45:55 GMT</pubDate>
    <dc:creator>fabio_estevam</dc:creator>
    <dc:date>2014-10-07T23:45:55Z</dc:date>
    <item>
      <title>Read ADC on mx28evk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Read-ADC-on-mx28evk/m-p/366923#M52164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to do a simple read on the lradc pins on the mx28evk. I have read a lot of threads but I could not find the answer to my question or could wrap my head around what I'm missing there.&lt;/P&gt;&lt;P&gt;- In the kernel menuconfig, I have "Low Resolution ADC support" checked, which set CONFIG_MXS_LRADC=y.&lt;/P&gt;&lt;P&gt;- In the target filesystem, I have some files related to lradc:&lt;/P&gt;&lt;P&gt;/sys/devices/platform/mxs-lradc.0&lt;/P&gt;&lt;P&gt;/sys/devices/system/mxs-lradc&lt;/P&gt;&lt;P&gt;/sys/devices/system/mxs-lradc/mxs-lradc-1&lt;/P&gt;&lt;P&gt;/sys/bus/platform/devices/mxs-lradc.0&lt;/P&gt;&lt;P&gt;/sys/bus/platform/drivers/mxs-lradc&lt;/P&gt;&lt;P&gt;/sys/bus/platform/drivers/mxs-lradc/mxs-lradc.0&lt;/P&gt;&lt;P&gt;- I have one dev related to that: /dev/input/ts0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, can I, in the filesystem, read the ADCs?&lt;/P&gt;&lt;P&gt;If not, should I do a simple program that use ioctl of a driver? Which driver file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jerome&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 18:00:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Read-ADC-on-mx28evk/m-p/366923#M52164</guid>
      <dc:creator>JeromeBaron</dc:creator>
      <dc:date>2014-10-03T18:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Read ADC on mx28evk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Read-ADC-on-mx28evk/m-p/366924#M52165</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;There is no driver of ADC in user space. But you can use as reference the touchscreen driver&amp;nbsp; source code to develop your own ADC driver in user space. &lt;/P&gt;&lt;P&gt;If you want to check the touchscreen funcionality in user space you can type:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cat /dev/input/touchscreen0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that there is&amp;nbsp; customer's example at&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/288653"&gt;LRADC with IMX28&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alejandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 22:05:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Read-ADC-on-mx28evk/m-p/366924#M52165</guid>
      <dc:creator>alejandrolozan1</dc:creator>
      <dc:date>2014-10-07T22:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Read ADC on mx28evk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Read-ADC-on-mx28evk/m-p/366925#M52166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On a 3.17 kernel you can read the ADC by doing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;root@freescale /$ cat /sys/bus/iio/devices/iio:device0/in_voltage0_raw&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;4095&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 23:45:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Read-ADC-on-mx28evk/m-p/366925#M52166</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2014-10-07T23:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: Read ADC on mx28evk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Read-ADC-on-mx28evk/m-p/366926#M52167</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 have found adc test code on the following thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/message/313683#313683" title="https://community.freescale.com/message/313683#313683"&gt;https://community.freescale.com/message/313683#313683&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2014 05:33:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Read-ADC-on-mx28evk/m-p/366926#M52167</guid>
      <dc:creator>pt</dc:creator>
      <dc:date>2014-10-08T05:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: Read ADC on mx28evk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Read-ADC-on-mx28evk/m-p/366927#M52168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everyone for your answers. I think I'll go with the register access way like suggested by Pt. I already have a section in my code where I rewrite the PINMUX registers so I'll just do the same for the ADC.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Oct 2014 18:47:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Read-ADC-on-mx28evk/m-p/366927#M52168</guid>
      <dc:creator>JeromeBaron</dc:creator>
      <dc:date>2014-10-09T18:47:53Z</dc:date>
    </item>
  </channel>
</rss>

