<?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 HSADC</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-HSADC/m-p/566121#M17237</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Trung Thanh on Sat Aug 23 13:01:30 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: mshrestha789&lt;/STRONG&gt;&lt;BR /&gt;Hello friends,&lt;BR /&gt;&lt;BR /&gt;Recently I tested HSADC of the LPC4370 microcontroller. By creating FreeRTOS task, I was able to run ADC at the speed of 20 MSPS. But when I used timer interrupt for the same I couldn't get more than 1 MSPS. I set timer interrupt to work at the speed of 2 MHz. I checked and it was working at that speed but when I used same to trigger ADC the maximum ADC speed I got was 1 MSPS. Can anyone please tell me the reason for this? &lt;BR /&gt;&lt;BR /&gt;Any help regarding this will be highly appreciated.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What complier do you use?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now i try to setup ADCHS with Keil C but it really hard? I don't Know how to check base clock's frequencry?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:49:26 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:49:26Z</dc:date>
    <item>
      <title>LPC4370 HSADC</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-HSADC/m-p/566119#M17235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mshrestha789 on Mon Aug 18 10:16:55 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello friends,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Recently I tested HSADC of the LPC4370 microcontroller. By creating FreeRTOS task, I was able to run ADC at the speed of 20 MSPS. But when I used timer interrupt for the same I couldn't get more than 1 MSPS. I set timer interrupt to work at the speed of 2 MHz. I checked and it was working at that speed but when I used same to trigger ADC the maximum ADC speed I got was 1 MSPS. Can anyone please tell me the reason for this? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help regarding this will be highly appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:49:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-HSADC/m-p/566119#M17235</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4370 HSADC</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-HSADC/m-p/566120#M17236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mshrestha789 on Wed Aug 20 08:04:29 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello friends,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's more detail of what I did. I used clock setup from lpcopen. And in the first descriptor entry I halt it and generated interrupt. Here's the descriptor entry table:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Chip_HSADC_SetupDescEntry(LPC_ADCHS_CMSIS, 0, 0, (HSADC_DESC_CH(HSADC_CHANNEL) | HSADC_DESC_HALT | HSADC_DESC_INT | HSADC_DESC_MATCH(HSADC_DESCRIPTOR_TIME) | HSADC_DESC_THRESH_A | HSADC_DESC_RESET_TIMER));&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then when I trigger ADC using RTOS task with port tick 1,&amp;nbsp; I could get up to the speed of 20 MSPS. But when I used timer interrupt, even if I generated timer interrupt at 2 MHz rate, I couldn't get more than 1 MSPS speed of ADC. &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:49:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-HSADC/m-p/566120#M17236</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4370 HSADC</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-HSADC/m-p/566121#M17237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Trung Thanh on Sat Aug 23 13:01:30 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: mshrestha789&lt;/STRONG&gt;&lt;BR /&gt;Hello friends,&lt;BR /&gt;&lt;BR /&gt;Recently I tested HSADC of the LPC4370 microcontroller. By creating FreeRTOS task, I was able to run ADC at the speed of 20 MSPS. But when I used timer interrupt for the same I couldn't get more than 1 MSPS. I set timer interrupt to work at the speed of 2 MHz. I checked and it was working at that speed but when I used same to trigger ADC the maximum ADC speed I got was 1 MSPS. Can anyone please tell me the reason for this? &lt;BR /&gt;&lt;BR /&gt;Any help regarding this will be highly appreciated.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What complier do you use?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now i try to setup ADCHS with Keil C but it really hard? I don't Know how to check base clock's frequencry?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:49:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-HSADC/m-p/566121#M17237</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:49:26Z</dc:date>
    </item>
  </channel>
</rss>

