<?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: LPC1114 ADC Timer Triggered read problem</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1114-ADC-Timer-Triggered-read-problem/m-p/1318949#M46073</link>
    <description>&lt;P&gt;Problem fixed. There was a mistake in my code which causes ch6 remained enable even if I expected it to be disable&lt;/P&gt;</description>
    <pubDate>Thu, 05 Aug 2021 10:49:20 GMT</pubDate>
    <dc:creator>Ebrahim431</dc:creator>
    <dc:date>2021-08-05T10:49:20Z</dc:date>
    <item>
      <title>LPC1114 ADC Timer Triggered read problem</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1114-ADC-Timer-Triggered-read-problem/m-p/1318229#M46057</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to read all ADC Channels in a row, i.e. starting from ch0 to ch7, by triggering it using 16bit Timer0 and proceeding to next channel in ADC ISR. Due to some limitations, I don't want to use Burst Mode and try to emulate it using timer trigger feature.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;Scenario1:&lt;/FONT&gt; Reading ch0 to ch6, &lt;FONT color="#339966"&gt;it works well&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;Scenario2:&lt;/FONT&gt; Reading ch0 to ch7, &lt;FONT color="#FF0000"&gt;it stucks&lt;/FONT&gt; on the transition from ch6 to ch7 (DONE bit is not set in GDR register)&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;Scenario3:&lt;/FONT&gt; Reading ONLY ch6 and ch7,&lt;FONT color="#FF0000"&gt; it stucks&lt;/FONT&gt; on the transition from ch6 to ch7 (DONE bit is not set in GDR register)&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;Scenario4:&lt;/FONT&gt; Reading ONLY ch5 and ch7, &lt;FONT color="#339966"&gt;it works well&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In summary, the transition from ch6 to ch7 causes stuck (GDR bit not set)&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;Question:&lt;/FONT&gt; what could be the problem? Isn't it a hardware problem?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 14:37:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1114-ADC-Timer-Triggered-read-problem/m-p/1318229#M46057</guid>
      <dc:creator>Ebrahim431</dc:creator>
      <dc:date>2021-08-04T14:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1114 ADC Timer Triggered read problem</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1114-ADC-Timer-Triggered-read-problem/m-p/1318654#M46064</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;Ebrahim431,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;What about the part number of your chip? (full name)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;How about testing only use CH6?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Alice&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 03:30:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1114-ADC-Timer-Triggered-read-problem/m-p/1318654#M46064</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2021-08-05T03:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1114 ADC Timer Triggered read problem</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1114-ADC-Timer-Triggered-read-problem/m-p/1318697#M46065</link>
      <description>&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;The exact part number is LPC1114FBD48/302&lt;/P&gt;&lt;P&gt;Sampling only ch6 whenever the timer is triggered works well&lt;/P&gt;&lt;P&gt;Sampling only ch6 and ch7, &lt;U&gt;starting from ch7&lt;/U&gt; leads to sampling ch7, ch6 but when we want to sample ch7 again it stucks&lt;/P&gt;&lt;P&gt;Sampling only ch6 and ch7, &lt;U&gt;starting from ch6&lt;/U&gt; leads to sampling ch6 but when we want to sample ch7, it stucks&lt;/P&gt;&lt;P&gt;The same scenario of sampling ch6 and ch7 works well when I use ch5 and ch7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a workaround I tried to sample all channels in reverse order, i.e. ch7 to ch0, Now after sampling ch0, It returns to sample ch7, and it stucks again.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In summary, there is a problem with ch7 ...&amp;nbsp;it stucks (DONE bit of GDR register is not set and CHN bits of GDR shows ch6 instead of ch7, as if ch6 was sampled)&lt;/P&gt;&lt;P&gt;I guess there might be an issue with MCU hardware&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 06:51:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1114-ADC-Timer-Triggered-read-problem/m-p/1318697#M46065</guid>
      <dc:creator>Ebrahim431</dc:creator>
      <dc:date>2021-08-05T06:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1114 ADC Timer Triggered read problem</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1114-ADC-Timer-Triggered-read-problem/m-p/1318949#M46073</link>
      <description>&lt;P&gt;Problem fixed. There was a mistake in my code which causes ch6 remained enable even if I expected it to be disable&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 10:49:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1114-ADC-Timer-Triggered-read-problem/m-p/1318949#M46073</guid>
      <dc:creator>Ebrahim431</dc:creator>
      <dc:date>2021-08-05T10:49:20Z</dc:date>
    </item>
  </channel>
</rss>

