
NXP Semiconductors
UM10855
LPCXpresso board for LPC54100 family of MCUs
UM10855_OM1377.docm
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2014. All rights reserved.
User manual
Rev. 1.0
— 4th November 2014
7 of 19
1) Download and install the LPCXpresso Link2 USB driver package installer from
http://www.lpcware.com/content/nxpfile/lpcxpresso-link2-usb-driver-package
(only required if using Windows).
2) When the installer has completed, connect the LPCXpresso54102 board to the
USB port of your host computer, connecting a micro USB cable to connector J6
(“Link”).
3) Allow about 30 seconds for the LPCXpresso54102 devices to enumerate. There
will be four devices: CMSIS-DAP, LPC-LinkII, LPC-SIO Port, and VCOM.
4) Download the LPCOpen examples & drivers from
http://www.lpcware.com/content/nxpfile/lpcopen-software-development-platform-
lpc5410x-packages
, selecting the version for the toolchain you are using; project
files for LPCXpresso IDE, Keil and IAR tools are available.
5) Start the LPCXpresso IDE and import the LPCOpen zip file by clicking Import
project(s) in the “Start here panel.”
6) The simplest example is periph_blinky, which will blink the tricolor LED on the
LPCXpresso54102. Click on the periph_blinky
in the “Project Explorer” panel,
then click Debug ‘periph_blinky’ in the “Start here” panel. This will build the
project and then launch the debug session.
The LPCXpresso IDE can also be used with the Link2 configured for DFU boot (JP5
fitted); in this configuration the LPCXpresso IDE will load the Redlink protocol driver into
the Link2. Note that if the jumper setting of JP5 is changed with the board powered then
the USB connection must be removed and reconnected to J6 in order to force the Link2
to reset and enter DFU boot mode. Redlink protocol is required for multicore debug using
the LPCXpresso IDE.
4. LPC54102 Serial ports
By default the LPC54102 UART0 is connected to the FTDI header at J5. This can be
used for ISP booting or sending debug messages out to a host computer via a suitable
cable. The LPC54102 UART0 can also be connected through a virtual communication
port (VCOM) UART bridge Link2 function to a host computer connected to the J6 USB
Link2.
The factory default CMSIS-DAP Link2 image includes UART bridge functionality (VCOM
support), and this firmware is also available with the Link Configuration Tool (LCT),
available at http://www.lpcware.com/. When running this firmware the default source of
data to the LPC54102 RXD is the FTDI header. Once the Link2 receives any data via the
VCOM port of a host computer it will set P2_2 low to select the Link2 UART0 data to the
LPC54102. In order to reset this so the FTDI connection can be used it is necessary to
power cycle the board.
4.1 J5 FTDI header
The FTDI header J5 mates with FTDI cable TTL-232R-3V3. J5 interfaces the LPC54102
UART0 to a Host PC virtual serial port. The J5 location is shown in Figure 2
The pin out
and a description of the signals at J5 are listed in
Table 2. By default there may be no header installed at J5.