<?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: LPC4370 getting max 80MHz rate</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-getting-max-80MHz-rate/m-p/729281#M29479</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="311227" data-username="ravithakur" href="https://community.nxp.com/people/ravithakur" style="color: #5e89c1; background-color: #ffffff; border: 0px; font-weight: 200; text-decoration: none; font-size: 1.286rem;"&gt;ravi thakur&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;The rate of ADC conversation is determined by the fADC , a conversation will take one clock cycle and you can use the&amp;nbsp;BASE_ADCHS_CLK register to configure it.&lt;/P&gt;&lt;P&gt;However the Match value likes time stamp, the ADC will start convert the input signal when the descriptor timer equals field Match value.&lt;/P&gt;&lt;P&gt;Hope this is clear.&lt;/P&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Have a great day,&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;TIC&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Mar 2018 03:28:38 GMT</pubDate>
    <dc:creator>jeremyzhou</dc:creator>
    <dc:date>2018-03-09T03:28:38Z</dc:date>
    <item>
      <title>LPC4370 getting max 80MHz rate</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-getting-max-80MHz-rate/m-p/729278#M29476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the LPC-link2 that I am using as a development board and using HSADC0. I am using USB0 PLL to generate the 80MHz sampling rate and the base clocks are running at 204MHz. When programming the descriptor tables, I am setting the match value to to '1'. I intend to capture data at 80MHz. It seems like the match value of '1' divides the 80MHz clock by 2. I do not see any overflow interrupts. Setting the match value to '0'&amp;nbsp;causes a descriptor error interrupt as soon as I enable the HSADC interrupts without even updating the descriptor table. My code snippet is pasted below. The match value is set to '1' in it. When I set the value to '0', as soon as the execution comes to the line&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"NVIC_EnableIRQ(ADCHS_IRQn)&lt;/EM&gt;", it goes in to the ADC interrupt handler next. Please advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;static void initHSADC() {&lt;/P&gt;&lt;P&gt;// Setup FIFO trip points for interrupt/DMA to 8 samples, packing&lt;BR /&gt; Chip_HSADC_SetupFIFO(LPC_ADCHS, 8, true);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Software trigger only, 0x90 recovery clocks, do not add channel Info to FIFO entry&lt;BR /&gt; Chip_HSADC_ConfigureTrigger(LPC_ADCHS, HSADC_CONFIG_TRIGGER_SW,&lt;BR /&gt; HSADC_CONFIG_TRIGGER_RISEEXT, HSADC_CONFIG_TRIGGER_NOEXTSYNC,&lt;BR /&gt; HSADC_CHANNEL_ID_EN_NONE, 0x90);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Enable negative pin bias and disable ADCHS 0 bias&lt;BR /&gt; Chip_HSADC_SetACDCBias(LPC_ADCHS, 0, HSADC_CHANNEL_DCBIAS,&lt;BR /&gt; HSADC_CHANNEL_NODCBIAS);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Setup data format for 2's complement and set power and speed values for the set fADC&lt;BR /&gt; Chip_HSADC_SetPowerSpeed(LPC_ADCHS, true);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Enable HSADC power&lt;BR /&gt; Chip_HSADC_EnablePower(LPC_ADCHS);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// table 0 : mapped to input 0, match time to 1, reset timer, branch to next descriptor, no threshold detection&lt;BR /&gt; Chip_HSADC_SetupDescEntry(LPC_ADCHS, 0, 0, (HSADC_DESC_CH(0) | HSADC_DESC_BRANCH_NEXT |&lt;BR /&gt; HSADC_DESC_MATCH(1) | HSADC_DESC_THRESH_NONE|&lt;BR /&gt; HSADC_DESC_RESET_TIMER));&lt;/P&gt;&lt;P&gt;Chip_HSADC_SetupDescEntry(LPC_ADCHS, 0, 1, (HSADC_DESC_CH(0) | HSADC_DESC_BRANCH_NEXT |&lt;BR /&gt; HSADC_DESC_MATCH(1) | HSADC_DESC_THRESH_NONE|&lt;BR /&gt; HSADC_DESC_RESET_TIMER));&lt;/P&gt;&lt;P&gt;Chip_HSADC_SetupDescEntry(LPC_ADCHS, 0, 2, (HSADC_DESC_CH(0) | HSADC_DESC_BRANCH_NEXT |&lt;BR /&gt; HSADC_DESC_MATCH(1) | HSADC_DESC_THRESH_NONE|&lt;BR /&gt; HSADC_DESC_RESET_TIMER));&lt;/P&gt;&lt;P&gt;Chip_HSADC_SetupDescEntry(LPC_ADCHS, 0, 3, (HSADC_DESC_CH(0) | HSADC_DESC_BRANCH_NEXT |&lt;BR /&gt; HSADC_DESC_MATCH(1) | HSADC_DESC_THRESH_NONE|&lt;BR /&gt; HSADC_DESC_RESET_TIMER));&lt;/P&gt;&lt;P&gt;Chip_HSADC_SetupDescEntry(LPC_ADCHS, 0, 4, (HSADC_DESC_CH(0) | HSADC_DESC_BRANCH_NEXT |&lt;BR /&gt; HSADC_DESC_MATCH(1) | HSADC_DESC_THRESH_NONE|&lt;BR /&gt; HSADC_DESC_RESET_TIMER));&lt;/P&gt;&lt;P&gt;Chip_HSADC_SetupDescEntry(LPC_ADCHS, 0, 5, (HSADC_DESC_CH(0) | HSADC_DESC_BRANCH_NEXT |&lt;BR /&gt; HSADC_DESC_MATCH(1) | HSADC_DESC_THRESH_NONE|&lt;BR /&gt; HSADC_DESC_RESET_TIMER));&lt;/P&gt;&lt;P&gt;Chip_HSADC_SetupDescEntry(LPC_ADCHS, 0, 6, (HSADC_DESC_CH(0) | HSADC_DESC_BRANCH_NEXT |&lt;BR /&gt; HSADC_DESC_MATCH(1) | HSADC_DESC_THRESH_NONE|&lt;BR /&gt; HSADC_DESC_RESET_TIMER));&lt;/P&gt;&lt;P&gt;Chip_HSADC_SetupDescEntry(LPC_ADCHS, 0, 7, (HSADC_DESC_CH(0) | HSADC_DESC_BRANCH_FIRST |&lt;BR /&gt; HSADC_DESC_MATCH(1) | HSADC_DESC_THRESH_NONE|&lt;BR /&gt; HSADC_DESC_RESET_TIMER));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Setup HSADC interrupts on group 0 - FIFO trip (full), FIFO overrun error, and descriptor status error&lt;BR /&gt; Chip_HSADC_EnableInts(LPC_ADCHS, 0, (HSADC_INT0_FIFO_FULL | HSADC_INT0_DSCR_ERROR | HSADC_INT0_FIFO_OVERFLOW));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Enable HSADC interrupts in NVIC&lt;BR /&gt; NVIC_DisableIRQ(ADCHS_IRQn);&lt;BR /&gt; NVIC_SetPriority(ADCHS_IRQn, 0x2);&lt;BR /&gt; NVIC_EnableIRQ(ADCHS_IRQn);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Update descriptor tables&lt;BR /&gt; Chip_HSADC_UpdateDescTable(LPC_ADCHS, 0);&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2018 01:29:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-getting-max-80MHz-rate/m-p/729278#M29476</guid>
      <dc:creator>ravithakur</dc:creator>
      <dc:date>2018-03-06T01:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4370 getting max 80MHz rate</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-getting-max-80MHz-rate/m-p/729279#M29477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="311227" data-username="ravithakur" href="https://community.nxp.com/people/ravithakur" style="color: #5e89c1; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: none; font-size: 11.9994px;"&gt;ravi thakur&lt;/A&gt;,&lt;/P&gt;&lt;DIV style="font-size: 14px;"&gt;&lt;SPAN&gt;Thank you for your interest in NXP Semiconductor products and&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="font-size: 14px;"&gt;&lt;SPAN&gt;the opportunity to serve you.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="font-size: 14px;"&gt;&lt;SPAN&gt;I'm very clear with the issue, whether you can introduce it in details again.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="font-size: 14px;"&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Have a great day,&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;TIC&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV style="font-size: 14px;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 06:49:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-getting-max-80MHz-rate/m-p/729279#M29477</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-03-08T06:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4370 getting max 80MHz rate</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-getting-max-80MHz-rate/m-p/729280#M29478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you jeremy for the reply. I am trying to use the LPC-link2 as a development board for the LPC4370. I need to run the HSADC at 80 MHz sampling rate. Currently I have the following set up, the system base clock is 204 MHz, HSADC base clock is 204 MHz and the sampling clock is 80 MHz. In the code snippet above, I have the descriptor table setup shown and I have the match counter as '1'. I believe this will cause the sampling rate to be 40 MHz effective because the counter starts from '0'. Am I correct about that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I changed the match value to '0' and when I am stepping through the function I posted, as soon as I enable the HSADC IRq, I see it fire and the execution goes in to the interrupt handler. Even though I am enabling on the fifo fill level interrupt, descriptor error interrupt and fifo overflow interrupt. Is a match value of '0' illegal? If it is, then how can I get 80 MHz sampling rate. If a match value of '0' is allowed, then what is causing this firing of the interrupt? Please advise&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 17:46:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-getting-max-80MHz-rate/m-p/729280#M29478</guid>
      <dc:creator>ravithakur</dc:creator>
      <dc:date>2018-03-08T17:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4370 getting max 80MHz rate</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-getting-max-80MHz-rate/m-p/729281#M29479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="311227" data-username="ravithakur" href="https://community.nxp.com/people/ravithakur" style="color: #5e89c1; background-color: #ffffff; border: 0px; font-weight: 200; text-decoration: none; font-size: 1.286rem;"&gt;ravi thakur&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;The rate of ADC conversation is determined by the fADC , a conversation will take one clock cycle and you can use the&amp;nbsp;BASE_ADCHS_CLK register to configure it.&lt;/P&gt;&lt;P&gt;However the Match value likes time stamp, the ADC will start convert the input signal when the descriptor timer equals field Match value.&lt;/P&gt;&lt;P&gt;Hope this is clear.&lt;/P&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Have a great day,&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;TIC&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2018 03:28:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-getting-max-80MHz-rate/m-p/729281#M29479</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-03-09T03:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4370 getting max 80MHz rate</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-getting-max-80MHz-rate/m-p/729282#M29480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the explanation.&amp;nbsp;Is a match value of '0' legal? Can you recommend the clock and HSADC descriptor table values to get samples at 80 MHz rate. I am unable to do so currently.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2018 22:44:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-getting-max-80MHz-rate/m-p/729282#M29480</guid>
      <dc:creator>ravithakur</dc:creator>
      <dc:date>2018-03-09T22:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4370 getting max 80MHz rate</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-getting-max-80MHz-rate/m-p/729283#M29481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi thakur,&lt;/P&gt;&lt;P&gt;Thanks your reply.&lt;/P&gt;&lt;P&gt;You can follow this steps to achieve your goal.&lt;/P&gt;&lt;P&gt;1. Setup up the&amp;nbsp;BASE_ADCHS_CLK: 80 MHz in ADCHS initialization.&lt;/P&gt;&lt;P&gt;2. Descriptors setting:&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="token function"&gt;Chip_HSADC_SetupDescEntry&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;LPC_ADCHS&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;HSADC_DESC_CH&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; HSADC_DESC_BRANCH_NEXT &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;HSADC_DESC_MATCH&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; HSADC_DESC_THRESH_NONE&lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt;
HSADC_DESC_RESET_TIMER&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;Chip_HSADC_SetupDescEntry&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;LPC_ADCHS&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;HSADC_DESC_CH&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; HSADC_DESC_BRANCH_NEXT &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;HSADC_DESC_MATCH&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; HSADC_DESC_THRESH_NONE&lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt;
HSADC_DESC_RESET_TIMER&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;Chip_HSADC_SetupDescEntry&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;LPC_ADCHS&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;2&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;HSADC_DESC_CH&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; HSADC_DESC_BRANCH_NEXT &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;HSADC_DESC_MATCH&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; HSADC_DESC_THRESH_NONE&lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt;
HSADC_DESC_RESET_TIMER&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;Chip_HSADC_SetupDescEntry&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;LPC_ADCHS&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;3&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;HSADC_DESC_CH&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; HSADC_DESC_BRANCH_NEXT &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;HSADC_DESC_MATCH&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; HSADC_DESC_THRESH_NONE&lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt;
HSADC_DESC_RESET_TIMER&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;Chip_HSADC_SetupDescEntry&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;LPC_ADCHS&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;4&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;HSADC_DESC_CH&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; HSADC_DESC_BRANCH_NEXT &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;HSADC_DESC_MATCH&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; HSADC_DESC_THRESH_NONE&lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt;
HSADC_DESC_RESET_TIMER&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;Chip_HSADC_SetupDescEntry&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;LPC_ADCHS&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;5&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;HSADC_DESC_CH&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; HSADC_DESC_BRANCH_NEXT &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;HSADC_DESC_MATCH&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; HSADC_DESC_THRESH_NONE&lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt;
HSADC_DESC_RESET_TIMER&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;Chip_HSADC_SetupDescEntry&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;LPC_ADCHS&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;6&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;HSADC_DESC_CH&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; HSADC_DESC_BRANCH_NEXT &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;HSADC_DESC_MATCH&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; HSADC_DESC_THRESH_NONE&lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt;
HSADC_DESC_RESET_TIMER&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;Chip_HSADC_SetupDescEntry&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;LPC_ADCHS&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;7&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;HSADC_DESC_CH&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; HSADC_DESC_BRANCH_FIRST &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;HSADC_DESC_MATCH&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; HSADC_DESC_THRESH_NONE&lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt;
HSADC_DESC_RESET_TIMER&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;3 Trigger the HSADC to get it start.&lt;/P&gt;&lt;P&gt;Hope this is clear.&lt;/P&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Have a great day,&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;TIC&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 03:34:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-getting-max-80MHz-rate/m-p/729283#M29481</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-03-13T03:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4370 getting max 80MHz rate</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-getting-max-80MHz-rate/m-p/729284#M29482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the reply. But won't the match value set to '1' effectively divide the fADC by 2, giving you samples at 40MHz instead of 80MHz?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 21:07:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-getting-max-80MHz-rate/m-p/729284#M29482</guid>
      <dc:creator>ravithakur</dc:creator>
      <dc:date>2018-03-13T21:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4370 getting max 80MHz rate</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-getting-max-80MHz-rate/m-p/729285#M29483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="311227" data-username="ravithakur" href="https://community.nxp.com/people/ravithakur" style="color: #5e89c1; background-color: #ffffff; border: 0px; font-weight: 200; text-decoration: none; font-size: 1.286rem;"&gt;ravi thakur&lt;/A&gt;，&lt;/P&gt;&lt;P&gt;Thanks for your.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;1 But won't the match value set to '1' effectively divide the fADC by 2, giving you samples at 40MHz instead of 80MHz?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp; &amp;nbsp;No, I don't think so, as the&amp;nbsp;&lt;SPAN&gt;HSADC will convert the input signal&amp;nbsp;when descriptor timer value equals 1, and descriptor timer also operates at the HSADC cloc kfrequency (fADC).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Hope this is clear.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;TIC&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2018 09:25:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-getting-max-80MHz-rate/m-p/729285#M29483</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-03-15T09:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4370 getting max 80MHz rate</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-getting-max-80MHz-rate/m-p/729286#M29484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the reset value for the match counter is 0 and it has to count to 1 to convert a sample. That is dividing the fADC in half. In the following forum post, a user says that he set the match counter to 0 to get his desired sampling rate&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/429528"&gt;https://community.nxp.com/thread/429528&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I set it to 0, the execution of the code is not as expected. Is there a "issue" with setting match counter to 0?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2018 16:47:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-getting-max-80MHz-rate/m-p/729286#M29484</guid>
      <dc:creator>ravithakur</dc:creator>
      <dc:date>2018-03-15T16:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4370 getting max 80MHz rate</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-getting-max-80MHz-rate/m-p/729287#M29485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to get 80 MHz sampling by following the code in the following link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/embeddedartists/labtool/blob/master/fw/program/source/capture_vadc.c#L198" title="https://github.com/embeddedartists/labtool/blob/master/fw/program/source/capture_vadc.c#L198"&gt;labtool/capture_vadc.c at master · embeddedartists/labtool · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Line 656 adds a descriptor to table 1, this is to prevent the automatic start when the match value is set to 0. The comment talks about a "&lt;SPAN style="color: #6a737d; background-color: #ffffff;"&gt;Appendix A Errata"&lt;/SPAN&gt; which I was unable to find.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2018 23:44:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-getting-max-80MHz-rate/m-p/729287#M29485</guid>
      <dc:creator>ravithakur</dc:creator>
      <dc:date>2018-03-20T23:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4370 getting max 80MHz rate</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-getting-max-80MHz-rate/m-p/729288#M29486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-objectid="311227" data-objecttype="3" href="https://community.nxp.com/people/ravithakur" style="color: #5e89c1; background-color: #ffffff; border: 0px; font-weight: 200; font-size: 1.286rem; padding: 1px 0px 1px calc(12px + 0.35ex);"&gt;ravi thakur&lt;/A&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;，&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Thanks for your sharing.&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV style="border: 0px; font-size: 14px;"&gt;TIC&lt;/DIV&gt;&lt;DIV style="border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV style="border: 0px; font-size: 14px;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/DIV&gt;&lt;DIV style="border: 0px; font-size: 14px;"&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/DIV&gt;&lt;DIV style="border: 0px; font-size: 14px;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2018 09:25:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-getting-max-80MHz-rate/m-p/729288#M29486</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-03-26T09:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4370 getting max 80MHz rate</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-getting-max-80MHz-rate/m-p/729289#M29487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The match number must be 0 to achieve the 80msps. However, there is a problem setting the match number to 0 in the initial descriptor, so the initial descriptor must have a match number other than 0.&lt;/P&gt;&lt;P&gt;in the thread &lt;A _jive_internal="true" href="https://community.nxp.com/thread/429528" rel="nofollow noopener noreferrer" target="_blank"&gt;How to achieve 80MHz using DMA from LPC4370's HSADC? &lt;/A&gt;I put a sample of the descriptors to do this.&lt;/P&gt;&lt;P&gt;Here is the sample.&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;/*&amp;nbsp; Select Table 0 desccriptor 1 */&lt;/SPAN&gt;
LPC_ADCHS&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;DSCR_STS &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;/* Set descriptor 0 to take a measurement at every clock and branch to itself*/&lt;/SPAN&gt;
LPC_ADCHS&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;DESCRIPTOR&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;24&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;/* RESET_TIMER*/&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;22&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;/* THRESH*/&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0x00&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;8&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;/* MATCH*/&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;6&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;/* BRANCH to First*/&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;/* Set descriptor 1 to take a measurement after 0x9A clocks and branch to first descriptor*/&lt;/SPAN&gt;
LPC_ADCHS&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;DESCRIPTOR&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;31&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;/* UPDATE TABLE*/&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;24&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;/* RESET_TIMER*/&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;22&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;/* THRESH*/&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0x9A&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;8&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;/* MATCH*/&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0x01&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;6&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;/* BRANCH to first*/&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2018 17:22:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-getting-max-80MHz-rate/m-p/729289#M29487</guid>
      <dc:creator>Ray_V</dc:creator>
      <dc:date>2018-06-21T17:22:51Z</dc:date>
    </item>
  </channel>
</rss>

