Hardware requirements#
Micro USB cable
LPCXpresso54628 board
Personal Computer
Board settings#
No special settings are required.
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.
Running the demo#
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
The following lines are printed to the serial terminal when the demo program is executed.
GPIO Driver example
The LED is taking turns to shine.
Standard port read: ffbffffe
Masked port read: ffbffffe
Port state: ffbffffe
Then press the SW2, the LED3 will start to shine.
Press corresponding switches to generate events This example project does not call for any special hardware configurations. Although not required, the recommendation is to leave the development board’s jumper settings and configurations in default state when running this example.