<?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: LPC-LinkII ADC speed and progress</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-LinkII-ADC-speed-and-progress/m-p/1303888#M45786</link>
    <description>&lt;P&gt;I honestly don't know, I don't have experience with the LPC4370.&lt;/P&gt;&lt;P&gt;12MHz vs. 80Msps sounds weird and contradictory, yes. But for most Cortex M devices I know, the maximal peripheral clock is core_clock/2, which (assuming 204MHz), would not be sufficient to drive a 12-bit 80Msps ADC in the usual successive-approximation fashion.&lt;/P&gt;&lt;P&gt;The HSADC might use an internal PLL. I would suggest to check the HSADC section of the MCU user manual.&lt;/P&gt;&lt;P&gt;PS: looking into it, the HSADC performs a conversion in one cycle, so it's most probably a flash converter, not a SA-ADC. Maximal ADC clock is stated to be 80MHz.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Jul 2021 10:45:48 GMT</pubDate>
    <dc:creator>frank_m</dc:creator>
    <dc:date>2021-07-07T10:45:48Z</dc:date>
    <item>
      <title>LPC-LinkII ADC speed and progress</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-LinkII-ADC-speed-and-progress/m-p/1300849#M45700</link>
      <description>&lt;P&gt;Hello, experts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to run HSADC to 80M on LPC-Link-2.&lt;/P&gt;&lt;P&gt;But I am confusing about it.&lt;/P&gt;&lt;P&gt;When I set the ADC clock as:&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;Chip_USB0_Init();&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;Chip_Clock_SetDivider(CLK_IDIV_A,CLKIN_USBPLL,4);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;Chip_Clock_SetDivider(CLK_IDIV_B,CLKIN_IDIVA,15);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;Chip_Clock_SetBaseClock(CLK_BASE_ADCHS,CLKIN_IDIVB,true,false);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;Chip_Clock_EnableOpts(CLK_MX_ADCHS, true, true, 1);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;Chip_Clock_Enable(CLK_ADCHS);&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The ADC resault will looks like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JiaAn_0-1625109330977.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/148452i9A337918ABC7B75B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JiaAn_0-1625109330977.png" alt="JiaAn_0-1625109330977.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It did not match the 80M sample rate. It looks only 20~30M. And also this is a sine wave. Why does it break and look not like a sine wave? I tried 8M sampling rate. It works great. But if I try to speed up the ADC sample clock it will do like this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And also I would like to know is it possible to track the progress of ADC?&lt;/P&gt;&lt;P&gt;I know I can use like&amp;nbsp;CH[DMA_CH].DESTADDR to know where the ADC writing now.&lt;/P&gt;&lt;P&gt;But if I can get the signal every time ADC filled up a sample (a RAM) it will be way more better.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate any help.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 03:27:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-LinkII-ADC-speed-and-progress/m-p/1300849#M45700</guid>
      <dc:creator>JiaAn</dc:creator>
      <dc:date>2021-07-01T03:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: LPC-LinkII ADC speed and progress</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-LinkII-ADC-speed-and-progress/m-p/1301084#M45706</link>
      <description>&lt;P&gt;Going out on a limb, since I have no experience with the LPC4370 ...&lt;/P&gt;&lt;P&gt;But you got 3 consecutive samples, and then a "gap", followed by another 3 consecutive samples - and so on.&lt;/P&gt;&lt;P&gt;A interrupt handler routine to clean out ADC results from a "FIFO half-full" interrupt ?&lt;/P&gt;&lt;P&gt;80 MSPS is a serious number, I think it is illusory to handle that throughput with core involvement.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 10:06:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-LinkII-ADC-speed-and-progress/m-p/1301084#M45706</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2021-07-01T10:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: LPC-LinkII ADC speed and progress</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-LinkII-ADC-speed-and-progress/m-p/1301462#M45713</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I had tried both&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;Chip_HSADC_SetupFIFO(LPC_ADCHS, 8, FALSE);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;Chip_HSADC_SetupFIFO(LPC_ADCHS, 8, TURE);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;These two settings has same result.&lt;/P&gt;&lt;P&gt;The datasheets wrote it can be 80M. So I guess it's possible. But might need in a perfect&amp;nbsp;condition...&lt;BR /&gt;Still finding how to do it right now.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 02:46:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-LinkII-ADC-speed-and-progress/m-p/1301462#M45713</guid>
      <dc:creator>JiaAn</dc:creator>
      <dc:date>2021-07-02T02:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: LPC-LinkII ADC speed and progress</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-LinkII-ADC-speed-and-progress/m-p/1301508#M45714</link>
      <description>&lt;P&gt;My point is - I think the 80 Msps data rate is achievable/sustainable only with DMA.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 05:01:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-LinkII-ADC-speed-and-progress/m-p/1301508#M45714</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2021-07-02T05:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: LPC-LinkII ADC speed and progress</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-LinkII-ADC-speed-and-progress/m-p/1301714#M45724</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;JiaAn,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The HSADC demo under LPCopen is 80M .&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 09:13:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-LinkII-ADC-speed-and-progress/m-p/1301714#M45724</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2021-07-02T09:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: LPC-LinkII ADC speed and progress</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-LinkII-ADC-speed-and-progress/m-p/1302133#M45737</link>
      <description>&lt;P&gt;Hi, Alice.&lt;/P&gt;&lt;P&gt;Where can I get that LPCOpen? I guess my LPC Open is too old or incomplete. Can you tell me the example name and where can I get the newest LPC Open? Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 02:25:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-LinkII-ADC-speed-and-progress/m-p/1302133#M45737</guid>
      <dc:creator>JiaAn</dc:creator>
      <dc:date>2021-07-05T02:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: LPC-LinkII ADC speed and progress</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-LinkII-ADC-speed-and-progress/m-p/1302416#M45753</link>
      <description>&lt;P&gt;Hello JiaAn,&lt;/P&gt;
&lt;P&gt;Download LPCopen from:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/design/microcontrollers-developer-resources/lpcopen-libraries-and-examples/lpcopen-software-development-platform-lpc43xx:LPCOPEN-SOFTWARE-FOR-LPC43XX" target="_blank" rel="noopener"&gt;https://www.nxp.com/design/microcontrollers-developer-resources/lpcopen-libraries-and-examples/lpcopen-software-development-platform-lpc43xx:LPCOPEN-SOFTWARE-FOR-LPC43XX&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1625483673368.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/148795i7FE7835EB9246167/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1625483673368.png" alt="Alice_Yang_0-1625483673368.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 11:14:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-LinkII-ADC-speed-and-progress/m-p/1302416#M45753</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2021-07-05T11:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: LPC-LinkII ADC speed and progress</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-LinkII-ADC-speed-and-progress/m-p/1303012#M45764</link>
      <description>&lt;P&gt;Hey Alice,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am still confusing about the example. How should I read the UART? I attach the UART on J3 and set baud 9600. The data seems not correct. Can you tell me how to read the ADC results out on this example? Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I recived on UART is:&lt;/P&gt;&lt;H6&gt;ADC VALUE_0]z 00000bga=&lt;BR /&gt;ADC VALUE_0]z 00000x00&amp;#29;&lt;BR /&gt;ADC VALUE_0}z 00000cb1=&lt;BR /&gt;PÔ&amp;#129;VALUE_0}z 000001&amp;#127;d&amp;#29;&lt;BR /&gt;ADC VALUE_0]z 00000cw2=&lt;BR /&gt;ADC VALUE_0]: 00000x00&amp;#29;&lt;BR /&gt;PÔ&amp;#129;VALUE_0}z 00000c00=&lt;BR /&gt;ADC VALUE{0}z 00000113=&lt;BR /&gt;ADC VALUE_0}: 000001xx&amp;#29;&lt;BR /&gt;ADC VALUE_0}z 00000d1d&amp;#29;&lt;BR /&gt;ADC VALUE{0]z 00000x0e&amp;#29;&lt;/H6&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;JiaAn.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 09:07:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-LinkII-ADC-speed-and-progress/m-p/1303012#M45764</guid>
      <dc:creator>JiaAn</dc:creator>
      <dc:date>2021-07-06T09:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: LPC-LinkII ADC speed and progress</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-LinkII-ADC-speed-and-progress/m-p/1303064#M45767</link>
      <description>&lt;P&gt;The UART output is partially recognizeable, which suggest the problem is in your code. Especially in the printf (&lt;FONT face="courier new,courier"&gt;PRINTF()&lt;/FONT&gt; ?) call.&lt;/P&gt;&lt;P&gt;Not sure what you want to ouput there, but I hope you are aware of the bandwidth differences between the ADC and the UART.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 10:02:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-LinkII-ADC-speed-and-progress/m-p/1303064#M45767</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2021-07-06T10:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: LPC-LinkII ADC speed and progress</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-LinkII-ADC-speed-and-progress/m-p/1303437#M45771</link>
      <description>&lt;P&gt;Hey, Frank.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use the example code without change anything. So I wonder how to receive the ADC result from the example code correctly. The code is set band as 115200. But the result is a mess like I wrote early. Is there anything I need to do before I start the code and UART?&lt;/P&gt;&lt;P&gt;With my code early, If the band is higher than 9600 it will be totally a mess. But because it could be my problem so I didn't change any example code but just upload to my LPC Link 2 and test it.&lt;/P&gt;&lt;P&gt;BTW, I did try to set the baud rate to 9600 but with no luck.&lt;/P&gt;&lt;P&gt;Is the UART send out every ADC data without skip any one of them?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another question just popup today. Can the RAM store the 80M ADC result correctly? Do I need to consider the bandwidth differently between RAM and ADC? If so, where can I find more details about this? What's the maximum speed can ADC run and store into RAM?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for keep try to help me. I really need it and appreciate it.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 03:38:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-LinkII-ADC-speed-and-progress/m-p/1303437#M45771</guid>
      <dc:creator>JiaAn</dc:creator>
      <dc:date>2021-07-07T03:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: LPC-LinkII ADC speed and progress</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-LinkII-ADC-speed-and-progress/m-p/1303664#M45776</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/27788"&gt;@Alice_Yang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to output the ADC base clock and it's only 12Mhz.&lt;/P&gt;&lt;P&gt;What I did is just add like:&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;Chip_Clock_SetBaseClock(CLK_BASE_OUT, mappedCGUDuv, true ,false);&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;Chip_SCU_PinMuxSet(0x1, 19, (SCU_PINIO_FAST |SCU_MODE_FUNC4));&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;That shouldn't effect ADC clock. Any idea why is that?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 06:42:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-LinkII-ADC-speed-and-progress/m-p/1303664#M45776</guid>
      <dc:creator>JiaAn</dc:creator>
      <dc:date>2021-07-07T06:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: LPC-LinkII ADC speed and progress</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-LinkII-ADC-speed-and-progress/m-p/1303712#M45779</link>
      <description>&lt;P&gt;I don't have/use a LPC4370, so I cannottest code myself.&lt;/P&gt;&lt;P&gt;But first, it should be clear that you cannot output 120MBps ADC data over a 0,0096Mbps UART channel in realtime. I am pretty sure the LPC4370 has no output channel which can sustain this high data rate in a feed-though manner, you will need to buffer the ADC data in RAM.&lt;/P&gt;&lt;P&gt;Secondly, with a 80Msps rate, internal bus bandwidth can become a problem, and needs at least a consideration. I am quite sure an interrupt-based approach will not work out, you will get ADC overflows immediately. You will need to setup a DMA channel for the number of samples your ADC is supposed to take. I would check the LPC-Link sources, how they do it. Perhaps even use this project as starting point for your project.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;gt; BTW, I did try to set the baud rate to 9600 but with no luck. ...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The simplest way would be to enable semihosting in the project, and add PRINTF calls in the debug version of your code/project. These outputs are routed via the debug adapter, and it's VCOM functionality, and show up in the debug console of the IDE. If you want to a separate UART, you could use a UART example from the LPC4370 SDK, and adapt it if necessary.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As stated before, do not try outputs/printf, or other calls during the sampling phase, this will not work. Run your ADC sampling first, and output via UART/semihosting afterwards.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;gt; Can the RAM store the 80M ADC result correctly? ... What's the maximum speed can ADC run and store into RAM?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sure. But you will need DMA, which transfers the ADC results directly to RAM.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 07:40:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-LinkII-ADC-speed-and-progress/m-p/1303712#M45779</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2021-07-07T07:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: LPC-LinkII ADC speed and progress</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-LinkII-ADC-speed-and-progress/m-p/1303766#M45781</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/137574"&gt;@frank_m&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did try DMA. But the weirdest thing is I tried output ADC clock and find out it's only 12Mhz.&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;/* Now to setup clocks */&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;if (maxCGUDiv == 1) {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;/* CCU divider and base clock only */&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;/* Select best clock as HSADC base clock */&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;Chip_Clock_SetBaseClock(CLK_BASE_ADCHS, savedClkIn, true, false);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;Chip_Clock_SetBaseClock(CLK_BASE_OUT, savedClkIn, true ,false);&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;Chip_SCU_PinMuxSet(0x1, 19, (SCU_PINIO_FAST |SCU_MODE_FUNC4));&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;}&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;else {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;/* CCU divider with base clock routed via a CGU divider */&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;Chip_Clock_SetDivider(bestDivider, savedClkIn, savedMaxCGU);&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;Chip_Clock_SetBaseClock(CLK_BASE_ADCHS, mappedCGUDuv, true, false);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;Chip_Clock_SetBaseClock(CLK_BASE_OUT, mappedCGUDuv, true ,false);&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;Chip_SCU_PinMuxSet(0x1, 19, (SCU_PINIO_FAST |SCU_MODE_FUNC4));&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;}&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;/* Enable ADC clock */&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;Chip_Clock_EnableOpts(CLK_ADCHS, true, true, 1);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;So if the ADC clock is only 12Mhz the ADC sample rate probably won't be&amp;nbsp;80Msps. But I only add the clock output code into the example code without change anything.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 08:25:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-LinkII-ADC-speed-and-progress/m-p/1303766#M45781</guid>
      <dc:creator>JiaAn</dc:creator>
      <dc:date>2021-07-07T08:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: LPC-LinkII ADC speed and progress</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-LinkII-ADC-speed-and-progress/m-p/1303888#M45786</link>
      <description>&lt;P&gt;I honestly don't know, I don't have experience with the LPC4370.&lt;/P&gt;&lt;P&gt;12MHz vs. 80Msps sounds weird and contradictory, yes. But for most Cortex M devices I know, the maximal peripheral clock is core_clock/2, which (assuming 204MHz), would not be sufficient to drive a 12-bit 80Msps ADC in the usual successive-approximation fashion.&lt;/P&gt;&lt;P&gt;The HSADC might use an internal PLL. I would suggest to check the HSADC section of the MCU user manual.&lt;/P&gt;&lt;P&gt;PS: looking into it, the HSADC performs a conversion in one cycle, so it's most probably a flash converter, not a SA-ADC. Maximal ADC clock is stated to be 80MHz.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 10:45:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-LinkII-ADC-speed-and-progress/m-p/1303888#M45786</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2021-07-07T10:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: LPC-LinkII ADC speed and progress</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-LinkII-ADC-speed-and-progress/m-p/1304475#M45798</link>
      <description>&lt;P&gt;I guess I need to check UART first. Why can't it work? Do you have any idea?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 05:28:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-LinkII-ADC-speed-and-progress/m-p/1304475#M45798</guid>
      <dc:creator>JiaAn</dc:creator>
      <dc:date>2021-07-08T05:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: LPC-LinkII ADC speed and progress</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-LinkII-ADC-speed-and-progress/m-p/1305353#M45826</link>
      <description>&lt;P&gt;Hello Jia,&lt;/P&gt;
&lt;P&gt;Try to this thread code: &lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-HSADC-does-not-work-correctly-with-clocking-from/m-p/858458" target="_blank"&gt;https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-HSADC-does-not-work-correctly-with-clocking-from/m-p/858458&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 09 Jul 2021 09:28:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-LinkII-ADC-speed-and-progress/m-p/1305353#M45826</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2021-07-09T09:28:36Z</dc:date>
    </item>
  </channel>
</rss>

