## Overview
-----------
The lpc86x_adc_maxspeed example shows how to reach ADC Maximum Conversion Speed on LPC86x.

In this example, the ADC0 CHANNEL0 is doing ADC conversion continuously using DMA, and in this case, LPC86x can reach ADC Maximum Conversion Speed, about 1.9Msps.

## Functional Description
-------------------------
1.This example demonstrates how to reach ADC Maximum Conversion Speed on LPC86x.
  
2.Before configuration of the ADC begins, the ADC is put through a self-calibration cycle.  

3.Configure the DMA and DMAMUX to work with ADC sequences.

4.Enable the Sequence-Complete DMA for sequences A.
  
5.When the conversion completes, the DMA would be requested.

6.When the DMA transfer completes, DMA will trigger a interrupt and use ping-pong mode to do ADC conversion continuously.

## Toolchain Supported
---------------------
- IAR embedded Workbench  9.30.1
- Keil MDK  5.37
- GCC ARM Embedded  10.3.1
- MCUXpresso  11.9.0

## Hardware Requirements
------------------------
- Micro USB cable
- LPCXpresso860MAX board
- Personal Computer

## Board Settings
------------------------
- ADC CH0 input signal J6-12(PIO0-7).

## Run the Project
------------------------
Run this example by performing the following steps:

1. Connect a micro USB cable between the PC host and the CMSIS DAP port(J4 on the 
   LPCXpresso860MAX board) for receiving debug information.

2. Open a serial terminal in PC(for example PUTTY) with the following settings:
   - 9600 baud rate
   - 8 data bits
   - No parity
   - One stop bit
   - No flow control

3. Compile and download the program to the target board.
   More information about how to compile and program the project can refer to 

   [Getting Started with MCUXpresso SDK](../../../../../docs/Getting Started with MCUXpresso SDK.pdf).




4. Monitor the information on the debug console.

## Expected Result
------------------------
The ADC value and ADC sampling rate will print in the serial terminal and the sampling rate is about 1.9Msps.

