Toolchain supported#
IAR embedded Workbench 8.11.3
Keil MDK 5.23
MCUXpresso10.1.0
Hardware requirements#
Micro USB cable
LPCXpresso860MAX board
Personal Computer
Board settings#
J6-8 is ACOMP negative input pin, which can sample external voltage.
Prepare the Demo#
Connect a micro USB cable between the host PC and the LPC-Link USB port (J4) on the target board.
Open a serial terminal with the following settings:
9600 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#
If the ACOMP input pin(J6-8) connects the GND, LED(D1) will be turned on. If the ACOMP input pin(J6-8) connects the 3.3V, LED(D1) will be turned off.