NGX Technologies LPC1830-Xplorer User manual

User Manual: LPC1830-Xplorer
Page | 1
LPC1830-Xplorer

User Manual: LPC1830-Xplorer
Page | 2
About NGX Technologies
NGX Technologies is a premier supplier of development tools for the ARM7, ARM Cortex M0, M3 and
M4 series of microcontrollers. NGX provides innovative and cost effective design solutions for embedded
systems. We specialize in ARM MCU portfolio, which includes ARM7, Cortex-M0, M3 & M4
microcontrollers. Our experience with developing evaluation platforms for NXP controller enables us to
provide solutions with shortened development time thereby ensuring reduced time to market and lower
development costs for our customers. Our cost effective and feature rich development tool offering, serves
as a testimony for our expertise, cost effectiveness and quality.
Contact Information:
NGX Technologies Pvt. Ltd.
#12, 20th Cross, Malagala, Nagarabhavi 2nd Stage
Bengaluru - 560091
Phone- +91-80-23185507 / 23188306
email:sales@ngxtechnologies.com
CE certification:
NGX Technologies LPC1830-Xplorer board has been tested for radiated emission as per EN55022 class
a standard. The device is under the limits of the standard EN55022 class A and hence CE marked. No
other test have been conducted other than the radiated emission (EN55022 class A standard). The device
was tested with the ports like USB, Serial, and Power excluding the GPIO ports. Any external connection
made to the GPIO ports may alter the EMC behavior. Usage of this device under domestic environment
may cause unwanted interference with other electronic equipment’s. User is expected to take adequate
measures. The device is not intended to be used in and end product or any subsystem unless the user re-
evaluates applicable directive/conformance.

User Manual: LPC1830-Xplorer
Page | 3
Table of Contents
1.0 INTRODUCTION................................................................................................................................... 4
2.0 LPC1830-Xplorer Development Tool Setup .......................................................................................... 5
2.1 LPC-link and LPCXpresso.................................................................................................................. 5
2.2 Installation & Configuration of LPCXpresso software....................................................................... 5
2.3 Setup for NXP LPCLink and LPC1830 Xplorer Board...................................................................... 5
3.0 LPC1830 Xplorer firmware Development.............................................................................................. 7
3.1 Executing the sample projects in LPCXpresso................................................................................... 7
3.2 Creating the sample (Blinky) project in LPCXpresso....................................................................... 11
4.0 Restoring Xplorer to Factory Defaults............................................................................................. 24
4.1 LPCLink and LPCXpresso................................................................................................................ 24
5.0 Schematic & Board Layout................................................................................................................... 27
5.1 Schematic.......................................................................................................................................... 27
5.2 Board layout...................................................................................................................................... 27
6.0 CHANGE HISTORY............................................................................................................................ 28
6.1 Change History.................................................................................................................................. 28

User Manual: LPC1830-Xplorer
Page | 4
1.0 INTRODUCTION
This document is the ‘User Manual’ for LPC1830-Xplorer; a cost effective evaluation platform for NXP’s
LPC18xx MCU. This document reflects its contents which include system setup, debugging, and software
components. This document provides detailed information on the overall design and usage of the board
from a systems perspective.
Before proceeding further please refer the quick start guide for Xplorer features, Xplorer Unboxing and
Xplorer verification.
Before proceeding further please refer the Quick Start Guide for Xplorer features, Xplorer Unboxing and
Xplorer verification. Kindly refer to the product page for the latest information.
Note: To restore the Factory Default for ‘LPC1830 Xplorer Board’ kindly refer to section 4.0

User Manual: LPC1830-Xplorer
Page | 5
2.0 LPC1830-Xplorer Development Tool Setup
2.1 LPC-link and LPCXpresso
NGX’s MCU evaluation platforms are not coupled tightly with any one particular combination of IDE
and debugger. The following sections will explain the setup for LPCXpresso and NXP LPCLink as the
IDE and debugger respectively.
2.2 Installation & Configuration of LPCXpresso software
For installation and configuration of LPCXpresso Click here.
2.3 Setup for NXP LPCLink and LPC1830 Xplorer Board
The Xplorer board has on board ‘10-pin SWD/JTAG box’, the 10-pin ribbon cable is not a part of the
LPC1830 Xplorer package and the user needs to buy 10-pin ribbon cable separately.
To run the LPCXpresso examples you will need the following and the image shown the each component:
•NXP LPC-Link
•10-pin ribbon cable
•LPC1830 Xplorer Board
•One USB AM to Micro B cable
Fig.1
Steps to setup the LPC-Link and LPC1830 Xplorer Board:
(Note: Please refer keil knowledgebase article for Connecting 10-pin ribbon cable to NGX Xplorer)

User Manual: LPC1830-Xplorer
Page | 6
Step 1: Connect one end of 10-pin ribbon cable to ‘LPCLink 10-pin connector’; the 10-pin ribbon cable
header notch should facing towards the ‘NXP LPCLink’ mark as shown in the following image.
Fig.2
Fig.3
Step 2: Connect other end of 10-pin ribbon cable to ‘10-pin box header’ of the LPC1830 Xplorer board
and connect one end of ‘USB AM to Micro B’ cable to LPC1830 Xplorer board and other end to computer,
then connect one end of ‘USB type mini B’ to LPCLink and other end to computer.
Fig.4
Step 4: The setup is now ready to be used for development with LPCXpresso and NXP LPCLink.

User Manual: LPC1830-Xplorer
Page | 7
3.0 LPC1830 Xplorer firmware Development
3.1 Executing the sample projects in LPCXpresso
Please note that the sample programs are available to download once the product is registered.
Steps to execute the sample project:
Step 1: Open LPCXpresso; Browse the folder which contains lpc1830_Xplorer_LPCXpresso.zip project
and click OK.
Fig.5
Step 2: Click on ‘Import and Export’ then click on ‘Import archived projects (zip)’.
Fig.6

User Manual: LPC1830-Xplorer
Page | 8
Step 3: Click on Browse to select an archived project (zip) and click on Open.
Fig.7
Step 4: Click Finish.
Fig.8

User Manual: LPC1830-Xplorer
Page | 9
Step 5: Right click on “LPC1830_Xplorer_Blinky” and left click on ‘Build Project’.
Fig.9
Step 6: The default ‘Debug Option’ will be JTAG (If user needs to debug from JTAG skip the following
steps and continue from Step 8), for selecting a SWD debug option, right click on
LPC1830_Xplorer_Blinky project, go to ‘Lunch Configurations’ then select ‘Open Current Launch
Configurations’.
Fig.10

User Manual: LPC1830-Xplorer
Page | 10
Step 7: Select ‘LPC1830_Xplorer_Blinky Debug’ then select Debugger and select ‘NXP LPC18xx (SWD)
option’ and click on Apply.
Fig.11
Step 8: After building project click on Debug.
Fig.12

User Manual: LPC1830-Xplorer
Page | 11
Step 9: Click Run and select Resume (F8) to start debugging the project. The two LED’s (D2 and D3)
start blinking on Xplorer.
Fig.13
3.2 Creating the sample (Blinky) project in LPCXpresso
Step 1: Open an LPCXpresso v4.2.3_292 or higher version.
Fig.14

User Manual: LPC1830-Xplorer
Page | 12
Step 2: Click Browse.. as shown below.
Fig.15
Step 3: Please select lpc1830_Xplorer_LPCXpresso folder which downloaded from website and click OK
as shown in the following image.
Fig.16

User Manual: LPC1830-Xplorer
Page | 13
Step 4: Click OK.
Fig.17
Step 5: Click on File -> New -> Project… as shown below image.
Fig.18

User Manual: LPC1830-Xplorer
Page | 14
Step 6: Select ‘LPCXpresso C Project’ and click Next as shown in the following image.
Fig.19
Step 7: Select NXP LPC1800 projects -> ‘C Project’ and click Next as shown in the following image
Fig.20

User Manual: LPC1830-Xplorer
Page | 15
Step 8: Give project name (example: Blinky) and click Next.
Fig.21
Step 9: Select the target MCU is LPC1830 and click Next as shown in the following image.
Fig.22

User Manual: LPC1830-Xplorer
Page | 16
Step 10: Click Next.
Fig.23
Step 11: Click Finish.
Fig.24
Step 12: The new blinky project is created, double click on main.c file as shown in the following image.

User Manual: LPC1830-Xplorer
Page | 17
Fig.25
Step 13: After double click the main.c file will open in LPCXpresso as shown in the following image.
Fig.26

User Manual: LPC1830-Xplorer
Page | 18
Step 14: Implement the C instructions need to blink a LED on Xplorer and click on Save. (Note:
Please refer Downloaded LPC1830_Xplorer_Blinky example)
Fig.27
Step 15: To add an ‘External SPIFI flash’ driver right click on ‘Blinky Project’ and click on properties.
Fig.28

User Manual: LPC1830-Xplorer
Page | 19
Step 16: Select C/C++ Build -> ‘MCU settings’ and click Edit.. as shown in the following image.
Fig.29
Step 17: Click ‘Add Flash’, rename ‘new_Flash’ to SPIFlash, edit Location to 0x14000000 and size to 0x40000
then click Browse.. as shown in the following image.
Fig.30

User Manual: LPC1830-Xplorer
Page | 20
Step 18: Select the ‘LPC1850A_4350A_SPIFI.cfx file’, the ‘LPC1850A_4350A_SPIFI.cfx file’ is normally
found at LPCXpresso installation folder (here is the path:
‘C:\nxp\LPCXpresso_4.2.3_292\lpcxpresso\bin\Flash’) click Open.
Fig.31
Step 19: Select Flash and click on Up button until it reach first position, then click OK.
Fig.32
Other manuals for LPC1830-Xplorer
1
Table of contents
Other NGX Technologies Microcontroller manuals
Popular Microcontroller manuals by other brands

Cypress Semiconductor
Cypress Semiconductor MoBL-USB CY7C68053 Specification sheet

Cypress
Cypress CY8CKIT-026 manual

ZiLOG
ZiLOG Z8 Encore! 8K Series user manual

mikroElektronika
mikroElektronika clicker STM32 M4 manual

STMicroelectronics
STMicroelectronics STM32F050G6 manual

Infineon
Infineon XC164 Series Application note