NXP Semiconductors LPCXpresso54102 User Manual Download Page 7

 

 

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.   

Summary of Contents for LPCXpresso54102

Page 1: ...UM10855 LPCXpresso54102 Rev 1 0 4th November 2014 User manual Document information Info Content Keywords LPCXpresso54102 LPC54100 Abstract LPCXpresso54102 User Manual...

Page 2: ...is subject to legal disclaimers NXP B V 2014 All rights reserved User manual Rev 1 0 4th November 2014 2 of 19 Contact information For more information please visit http www nxp com For sales office a...

Page 3: ...and is based on the LPC54102J512BD64 version of the MCU This document describes the LPC54102 LPCXpresso LQFP board hardware The following aspects of interfacing to the board are covered by this guide...

Page 4: ...LPCXpresso54102 board is shown in Figure 1 below P1 JP4 JP3 JP1 JP2 J4 J6 JP5 P3 SW3 SW1 SW2 P2 JP7 JP8 J8 J7 U8 U12 TP1 J3 J5 J1 J2 D1 D2 D3 JP6 D4 Figure 1 Board Layout The function of each identifi...

Page 5: ...ace enabled Normal operating mode where the Target SWD is connected to either the on board Link2 debug probe or an external debug probe 2 Jumper shunted the LPC54102 Target SWD interface is disabled U...

Page 6: ...t is calculated by dividing the measured voltage at P2 by the Vsense resistance value of 8 2 5 1 1 P3 5V External Voltage Input allows for powering the LPC54102 Target side of the board from a bench t...

Page 7: ...sed 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 wi...

Page 8: ...s subject to legal disclaimers NXP B V 2014 All rights reserved User manual Rev 1 0 4th November 2014 8 of 19 1 2 3 4 5 6 Figure 2 FTDI J5 LPC54102 serial port Table 2 J5 FTDI interface LPC54102 Signa...

Page 9: ...ion of 1 8V or 3 3V is made at JP7 with 3 3V set as the default SWD Dual Supply Voltage buffer Link 2 5V LDO U19 Target 3 3V LDO U18 Arduino connector Bridge SPI I2C Link USB Micro B J6 Target Externa...

Page 10: ...current measurement It is not required to use an external sense resistor for LPC54102 current measurement To measure LPC54102 VDD current of less than 4 uA an external resistor is required The extern...

Page 11: ...visit http www lpcware com 5 1 5 Shield board current measurement To use the on board current measurement circuitry any expansion board must match the functionality of the LPCXpresso54102 Refer to the...

Page 12: ...ss pin 1 2 Local Target as shown in Figure 8 Jumper JP1 must be open to enable the target LPC54102 The on board Link debug probe must be unpowered by leaving J6 unconnected Figure 8 Debug local LPC541...

Page 13: ...of 1 6V to 3 6V To keep the on board target LPC54102 MCU from interfering with the SWD interface JP1 must be fitted The Link2 debug probe SWD is connected by a ribbon cable between the P1 connector to...

Page 14: ...led is driven by P0_31 LEDs are on when the LPC54102 port is output low To light any of the tri color leds JP6 must have a shunt between pins 1 2 By default the 0 resistor at JS17 provides the shunt...

Page 15: ...20 are compatible with Arduino Uno rev3 Power connector The odd numbered pins and even numbered pins 2 and 4 are used J8 The even numbered pins 2 12 are compatible with Arduino Uno rev3 Analog connec...

Page 16: ...sistance with applications or customer product design It is customer s sole responsibility to determine whether the NXP Semiconductors product is suitable and fit for the customer s applications and p...

Page 17: ...4 Figure 2 FTDI J5 LPC54102 serial port 8 Figure 3 Board Power block diagram 9 Figure 4 Vsense measurement 10 Figure 5 External vSense resistor 10 Figure 6 Measuring LPC54102 VDD current with current...

Page 18: ...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 18 of 19 12 List of tables Table 1 Board interface componen...

Page 19: ...ctions measurement 9 5 1 LPCXpresso54102 current measurement 9 5 1 1 LPC54102 Vsense resistor current measurement 10 5 1 2 LPC54102 external sense resistor for VDD current measurement 10 5 1 3 LPC5410...

Page 20: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information NXP OM13077 OM13077UL...

Reviews: