<?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: imx6ULL ADC high CPU</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx6ULL-ADC-high-CPU/m-p/946864#M141614</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;In you are using a Variscite board, you may consider directly contact them:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.variscite.com/support/" title="https://www.variscite.com/support/"&gt;Variscite Support Center - Variscite&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As complementary informaiton, you could take a look to the following threads:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/491390"&gt;IMX6ULL ADC&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/447774"&gt;i.MX6 DMA and ADC&lt;/A&gt;&amp;nbsp;&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:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Sep 2019 21:59:52 GMT</pubDate>
    <dc:creator>CarlosCasillas</dc:creator>
    <dc:date>2019-09-19T21:59:52Z</dc:date>
    <item>
      <title>imx6ULL ADC high CPU</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ULL-ADC-high-CPU/m-p/946863#M141613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using a script to read an ADC 1000 times:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;root@imx6ul-var-dart:~# cat adc.sh&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;for i in `seq 1 1000`;&lt;BR /&gt;do&lt;BR /&gt; cat /sys/bus/iio/devices/iio\:device0/in_voltage0_raw &amp;gt; /dev/null&lt;BR /&gt;done&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It takes just over 11 seconds to run so just under 100 samples per second.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;root@imx6ul-var-dart:~# time ./adc.sh&lt;BR /&gt;real 0m 11.32s&lt;BR /&gt;user 0m 0.22s&lt;BR /&gt;sys 0m 1.08s&lt;BR /&gt;root@imx6ul-var-dart:~# time ./adc.sh&lt;BR /&gt;real 0m 11.34s&lt;BR /&gt;user 0m 0.21s&lt;BR /&gt;sys 0m 1.27s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can cope with the slow sample rate but why does it take 10-20% cpu?&lt;/P&gt;&lt;P&gt;I found similar results&amp;nbsp;using stdio to read in_voltageY_raw data from a c program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a less processor intensive way to read the ADC? It's currently consuming around 500k processor cycles to read a 12 bit number from hardware.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2019 13:36:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ULL-ADC-high-CPU/m-p/946863#M141613</guid>
      <dc:creator>chris_f</dc:creator>
      <dc:date>2019-09-19T13:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: imx6ULL ADC high CPU</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ULL-ADC-high-CPU/m-p/946864#M141614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;In you are using a Variscite board, you may consider directly contact them:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.variscite.com/support/" title="https://www.variscite.com/support/"&gt;Variscite Support Center - Variscite&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As complementary informaiton, you could take a look to the following threads:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/491390"&gt;IMX6ULL ADC&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/447774"&gt;i.MX6 DMA and ADC&lt;/A&gt;&amp;nbsp;&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:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2019 21:59:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ULL-ADC-high-CPU/m-p/946864#M141614</guid>
      <dc:creator>CarlosCasillas</dc:creator>
      <dc:date>2019-09-19T21:59:52Z</dc:date>
    </item>
  </channel>
</rss>

