<?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>LPC Microcontrollers中的主题 Re: Calculating average values of ADCs</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Calculating-average-values-of-ADCs/m-p/1522978#M50164</link>
    <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/26034"&gt;@xiangjun_rong&lt;/a&gt;&amp;nbsp;Hi, thanks for the answer. Well, I've tried interrupt before, but I was able to work with only 2 ADCs and when I activated the third ADC the code stopped and locked and didn't execute. I didn't know what to do. I was wondering if you modify my code and add interrupt I can't work with interrupt while using all ADC channels myself&lt;/P&gt;</description>
    <pubDate>Thu, 15 Sep 2022 14:14:51 GMT</pubDate>
    <dc:creator>Alexshea</dc:creator>
    <dc:date>2022-09-15T14:14:51Z</dc:date>
    <item>
      <title>Calculating average values of ADCs</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Calculating-average-values-of-ADCs/m-p/1515781#M50028</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/26034"&gt;@xiangjun_rong&lt;/a&gt;&amp;nbsp;Hi, I tried what you said to calculate average values of adc channels, but when I use for loops, I don't receive any adc values. You told me to set&amp;nbsp;#define TOTAL_AVERAGE_NUMBER 2, but even setting it 2 didn't help. I don't use adc interrupt in this code, since&amp;nbsp; all the 8 adc channels are used and it seems that the for loops don't work either. Could you please once again check my code and help me resolve this issue.&lt;/P&gt;&lt;P&gt;Thanks in advance,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 19:11:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Calculating-average-values-of-ADCs/m-p/1515781#M50028</guid>
      <dc:creator>Alexshea</dc:creator>
      <dc:date>2022-09-01T19:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating average values of ADCs</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Calculating-average-values-of-ADCs/m-p/1522615#M50156</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Sorry for the delay.&lt;/P&gt;
&lt;P&gt;I suggest you use interrupt mode to read ADC result instead of polling mode, the ADC polling mode wastes a lot of time for the core.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 06:35:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Calculating-average-values-of-ADCs/m-p/1522615#M50156</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2022-09-15T06:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating average values of ADCs</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Calculating-average-values-of-ADCs/m-p/1522978#M50164</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/26034"&gt;@xiangjun_rong&lt;/a&gt;&amp;nbsp;Hi, thanks for the answer. Well, I've tried interrupt before, but I was able to work with only 2 ADCs and when I activated the third ADC the code stopped and locked and didn't execute. I didn't know what to do. I was wondering if you modify my code and add interrupt I can't work with interrupt while using all ADC channels myself&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 14:14:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Calculating-average-values-of-ADCs/m-p/1522978#M50164</guid>
      <dc:creator>Alexshea</dc:creator>
      <dc:date>2022-09-15T14:14:51Z</dc:date>
    </item>
  </channel>
</rss>

