<?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: ADC average values in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-average-values/m-p/1511911#M49959</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, but even setting&amp;nbsp;&lt;SPAN&gt;#define TOTAL_AVERAGE_NUMBER 2 didn't solve the problem &lt;LI-EMOJI id="lia_disappointed-face" title=":disappointed_face:"&gt;&lt;/LI-EMOJI&gt; maybe because I don't have any interrupt in my code. Last time you recommended me not to use interrupt, since I'm using all the 8 adc channels. But, thanks for your help&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 25 Aug 2022 19:06:02 GMT</pubDate>
    <dc:creator>Alexshea</dc:creator>
    <dc:date>2022-08-25T19:06:02Z</dc:date>
    <item>
      <title>ADC average values</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-average-values/m-p/1501654#M49774</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 used the code that you recommended for calculating the average temperature. However, after using that now I don't receive any temperature. Could you please check the code once again and help me resolve that problem. I added the whole project as you asked the last time.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2022 07:53:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-average-values/m-p/1501654#M49774</guid>
      <dc:creator>Alexshea</dc:creator>
      <dc:date>2022-08-05T07:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: ADC average values</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-average-values/m-p/1502233#M49786</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/26034" target="_blank"&gt;@xiangjun_rong&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; is on leave. He will answer you next week when he gets back.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Jun Zhang&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 03:54:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-average-values/m-p/1502233#M49786</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2022-08-08T03:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: ADC average values</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-average-values/m-p/1502458#M49794</link>
      <description>&lt;P&gt;Thank you so much for letting me know. I'll wait for him&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 09:05:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-average-values/m-p/1502458#M49794</guid>
      <dc:creator>Alexshea</dc:creator>
      <dc:date>2022-08-08T09:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: ADC average values</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-average-values/m-p/1506709#M49860</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;you use the code:&lt;/P&gt;
&lt;P&gt;#define TOTAL_AVERAGE_NUMBER 200&lt;BR /&gt;for (uint16_t i=0; i&amp;lt;TOTAL_AVERAGE_NUMBER; i++)&lt;BR /&gt;{&lt;BR /&gt;uivoltage=HW_ADC_Read(0);&lt;BR /&gt;temp=calcTemp(uivoltage);&lt;BR /&gt;totalTemp+=temp;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;The above code takes a lot of time so that the core has not time to handle the interrupt.&lt;/P&gt;
&lt;P&gt;Pls try to change&lt;/P&gt;
&lt;P&gt;#define TOTAL_AVERAGE_NUMBER 2&lt;/P&gt;
&lt;P&gt;and have a try.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 09:12:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-average-values/m-p/1506709#M49860</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2022-08-16T09:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: ADC average values</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-average-values/m-p/1511911#M49959</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, but even setting&amp;nbsp;&lt;SPAN&gt;#define TOTAL_AVERAGE_NUMBER 2 didn't solve the problem &lt;LI-EMOJI id="lia_disappointed-face" title=":disappointed_face:"&gt;&lt;/LI-EMOJI&gt; maybe because I don't have any interrupt in my code. Last time you recommended me not to use interrupt, since I'm using all the 8 adc channels. But, thanks for your help&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 19:06:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-average-values/m-p/1511911#M49959</guid>
      <dc:creator>Alexshea</dc:creator>
      <dc:date>2022-08-25T19:06:02Z</dc:date>
    </item>
  </channel>
</rss>

