Hardware requirements
Micro USB cable
LPCXpresso54628 board
Personal Computer
Board settings
ADC CH4 input signal J12-2(PIO0-16).
Prepare the Demo
Connect a micro USB cable between the host PC and the LPC-Link USB port (J8) on the target board.
Open a serial terminal with the following settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
Running the demo
Press any key from keyboard and trigger the conversion. The log below shows example output of the ADC DMA example in the terminal window:
ADC DMA example.
ADC Calibration Done.
Configuration Done.
ADC Full Range: XXXX
Type in any key to trigger the conversion ...
Conversion word : 0x80022A70
Conversion value: 679
Conversion word : 0x80022930
Conversion value: 659
Conversion word : 0x800228F0
Conversion value: 655
Conversion word : 0x80022920
Conversion value: 658
Conversion word : 0x80022920
Conversion value: 658
...