<?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: Hardware trigger: ADC start on CT16B0_MAT0 doesnt work... in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Hardware-trigger-ADC-start-on-CT16B0-MAT0-doesnt-work/m-p/591649#M22252</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;thanks for your answer jeremyzhou,&lt;/P&gt;&lt;P&gt;the night is long and i have spend lot of time and found the behavior&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i must set the EMC (External Match Register) to "toggle mode" EMC0 = 0x03&lt;/P&gt;&lt;P&gt;but know:&amp;nbsp; in this way my ADC interrupt works at a "doubled time" of MATCH control.&lt;/P&gt;&lt;P&gt;These "external" match bit can connected to the ADC start.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now the adu triggerd in hardware at the doubled samplerate from Timer0 Match Value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dont set the EMC to 0x1 (clear) or 0x02 (set) then you get only one Interrupt&lt;/P&gt;&lt;P&gt;this depends of the Bit "EDGE" Bit in ADC_CR register.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Jul 2016 08:01:18 GMT</pubDate>
    <dc:creator>berndsirozynski</dc:creator>
    <dc:date>2016-07-01T08:01:18Z</dc:date>
    <item>
      <title>Hardware trigger: ADC start on CT16B0_MAT0 doesnt work...</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Hardware-trigger-ADC-start-on-CT16B0-MAT0-doesnt-work/m-p/591646#M22249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Problem:&lt;/P&gt;&lt;P&gt;Hardware trigger: ADC start on CT16B0_MAT0 doesnt work...&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Description in Usermanual UM10524 &lt;/P&gt;&lt;P&gt;LPC1315/16/17/45/46/47 User manual&lt;/P&gt;&lt;P&gt;Rev. 4 — 12 March 2013&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and here Page 356 of 416&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Optional conversion on transition on input pin or Timer Match signal.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Page 359 of 416&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note that this does not require that the timer match function appear on a device pin&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have programmed the Timer 0 to a match on every Millisecond.&lt;/P&gt;&lt;P&gt;To ensurte that it works, i toggle a LED in the Interrupt funktion.&lt;/P&gt;&lt;P&gt;i looked to the Oscilloscope, all is fine.&lt;/P&gt;&lt;P&gt;in this function i started per software the ADC with writing 0x01 to the &lt;STRONG&gt;START&lt;/STRONG&gt; bits&lt;/P&gt;&lt;P&gt;in ADC_CR register. The ADC conversion starts and after conversion i get a ADC Interrupt.&lt;/P&gt;&lt;P&gt;it works correct.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now is want to start the ADC automatically on match,&lt;/P&gt;&lt;P&gt;so i wrote &lt;STRONG&gt;0x06&lt;/STRONG&gt;&amp;nbsp; (start conversion on CT16B0_MAT0) to the &lt;STRONG&gt;START&lt;/STRONG&gt; bits.&amp;nbsp; &lt;/P&gt;&lt;P&gt;but the ADC never startet on match.&lt;/P&gt;&lt;P&gt;i have spend a lot of time to find the problem, but cant find it.&lt;/P&gt;&lt;P&gt;Maybe there is a Problem in the CHIP ? or i misunderstood the User manual ?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Siro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 13:11:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Hardware-trigger-ADC-start-on-CT16B0-MAT0-doesnt-work/m-p/591646#M22249</guid>
      <dc:creator>berndsirozynski</dc:creator>
      <dc:date>2016-06-30T13:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: Hardware trigger: ADC start on CT16B0_MAT0 doesnt work...</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Hardware-trigger-ADC-start-on-CT16B0-MAT0-doesnt-work/m-p/591647#M22250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Siro,&lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and opportunity to serve you.&lt;/P&gt;&lt;P&gt;I was wondering if you can share the demo, then I will replicate the issue on my site.&lt;/P&gt;&lt;P&gt;I think this way can accelerate the investigation of the issue.&lt;/P&gt;&lt;P&gt;I'm looking forward to your reply.&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ping&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jul 2016 02:36:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Hardware-trigger-ADC-start-on-CT16B0-MAT0-doesnt-work/m-p/591647#M22250</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2016-07-01T02:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: Hardware trigger: ADC start on CT16B0_MAT0 doesnt work...</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Hardware-trigger-ADC-start-on-CT16B0-MAT0-doesnt-work/m-p/591648#M22251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;thanks for your answer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the night is long and i have spend lot of time and found the behavior:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i must set the EMC (External Match Register) to "toggle mode" EMC0 = 0x03&lt;/P&gt;&lt;P&gt;but know:&amp;nbsp; in this way my ADC interrupt works at a "doubled time" of MATCH control.&lt;/P&gt;&lt;P&gt;These "external" match bit can connected to the ADC start.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now the adu triggerd in hardware at the double time from Timer0 Match Value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dont set the EMC to 0x1 (clear) or 0x02 (set) then you get only one Interrupt&lt;/P&gt;&lt;P&gt;this depends of the Bit "EDGE" Bit in ADC_CR register.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you dont need to configure the harware pin to Macth out, but you MUST set the EMC0 to toggle mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have a good weekend.&lt;/P&gt;&lt;P&gt;Siro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jul 2016 07:54:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Hardware-trigger-ADC-start-on-CT16B0-MAT0-doesnt-work/m-p/591648#M22251</guid>
      <dc:creator>berndsirozynski</dc:creator>
      <dc:date>2016-07-01T07:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: Hardware trigger: ADC start on CT16B0_MAT0 doesnt work...</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Hardware-trigger-ADC-start-on-CT16B0-MAT0-doesnt-work/m-p/591649#M22252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;thanks for your answer jeremyzhou,&lt;/P&gt;&lt;P&gt;the night is long and i have spend lot of time and found the behavior&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i must set the EMC (External Match Register) to "toggle mode" EMC0 = 0x03&lt;/P&gt;&lt;P&gt;but know:&amp;nbsp; in this way my ADC interrupt works at a "doubled time" of MATCH control.&lt;/P&gt;&lt;P&gt;These "external" match bit can connected to the ADC start.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now the adu triggerd in hardware at the doubled samplerate from Timer0 Match Value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dont set the EMC to 0x1 (clear) or 0x02 (set) then you get only one Interrupt&lt;/P&gt;&lt;P&gt;this depends of the Bit "EDGE" Bit in ADC_CR register.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jul 2016 08:01:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Hardware-trigger-ADC-start-on-CT16B0-MAT0-doesnt-work/m-p/591649#M22252</guid>
      <dc:creator>berndsirozynski</dc:creator>
      <dc:date>2016-07-01T08:01:18Z</dc:date>
    </item>
  </channel>
</rss>

