Hide thumbs Also See for LPC1830-Xplorer:

Advertisement

Quick Links

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

Advertisement

Table of Contents
loading

Summary of Contents for NGX Technologies LPC1830-Xplorer

  • Page 1 User Manual: LPC1830-Xplorer LPC1830-Xplorer Page | 1...
  • Page 2 User Manual: LPC1830-Xplorer 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.
  • Page 3: Table Of Contents

    User Manual: LPC1830-Xplorer 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 ....................
  • Page 4: Introduction

    User Manual: LPC1830-Xplorer 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.
  • Page 5: Lpc1830-Xplorer Development Tool Setup

    User Manual: LPC1830-Xplorer 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.
  • Page 6 User Manual: LPC1830-Xplorer 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’...
  • Page 7: Lpc1830 Xplorer Firmware Development

    User Manual: LPC1830-Xplorer 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.
  • Page 8 User Manual: LPC1830-Xplorer Step 3: Click on Browse to select an archived project (zip) and click on Open. Fig.7 Step 4: Click Finish. Fig.8 Page | 8...
  • Page 9 User Manual: LPC1830-Xplorer 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’...
  • Page 10 User Manual: LPC1830-Xplorer 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 Page | 10...
  • Page 11: Creating The Sample (Blinky) Project In Lpcxpresso

    User Manual: LPC1830-Xplorer 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.
  • Page 12 User Manual: LPC1830-Xplorer 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 Page | 12...
  • Page 13 User Manual: LPC1830-Xplorer Step 4: Click OK. Fig.17 Step 5: Click on File -> New -> Project… as shown below image. Fig.18 Page | 13...
  • Page 14 User Manual: LPC1830-Xplorer 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 Page | 14...
  • Page 15 User Manual: LPC1830-Xplorer 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 Page | 15...
  • Page 16 User Manual: LPC1830-Xplorer 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. Page | 16...
  • Page 17 User Manual: LPC1830-Xplorer Fig.25 Step 13: After double click the main.c file will open in LPCXpresso as shown in the following image. Fig.26 Page | 17...
  • Page 18 User Manual: LPC1830-Xplorer 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.
  • Page 19 User Manual: LPC1830-Xplorer 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.
  • Page 20 User Manual: LPC1830-Xplorer 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.
  • Page 21 User Manual: LPC1830-Xplorer Step 20: Click Apply, OK and OK to completing ‘SPIFI flash driver’. Fig.33 Fig.34 Page | 21...
  • Page 22 User Manual: LPC1830-Xplorer Step 21: Right click on ‘Blinky Project’ and click on ‘Build Project’, build must be error free. Fig.35 Step 22: After successful build, click on Debug as shown in the following image. Fig.36 Page | 22...
  • Page 23 User Manual: LPC1830-Xplorer Step 23: Click Resume for free running, the LED D2 and D3 are start blinking on Xplorer. Fig.37 Page | 23...
  • Page 24: Restoring Xplorer To Factory Defaults

    User Manual: LPC1830-Xplorer 4.0 Restoring Xplorer to Factory Defaults 4.1 LPCLink and LPCXpresso Download the binary files from the NGX website and unzip file to restore the factory defaults for the Xplorer; the user needs to flash LPC1830_Xplorer_PeripheralTest.bin file in Xplorer and RESET the board.
  • Page 25 User Manual: LPC1830-Xplorer Step 3: Unzip the downloaded binary zip file, select the ‘Bin files’ folder and select *.bin extension. Fig.40 Step 4: Select LPC1830_Xplorer_PeripheralTest.bin file and click Open. Fig.41 Page | 25...
  • Page 26 User Manual: LPC1830-Xplorer Step 5: The base address should be 0x14000000 and click OK. Fig.42 Step 6: Wait till the download process is completed then RESET Xplorer twice to restore the ‘Xplorer factory defaults’. Fig.43 Page | 26...
  • Page 27: Schematic & Board Layout

    User Manual: LPC1830-Xplorer 5.0 Schematic & Board Layout 5.1 Schematic This manual will be periodically updated, but for the latest documentations please check our website the latest documents. The Board schematic and sample code are available after the product has been registered on our website.
  • Page 28: Change History

    DEMONSTRATION, and EDUCATION OR EVALUATION PURPOSES ONLY and is not considered by NGX Technologies Pvt. Ltd to be a finished end-product fit for general consumer use. Persons handling the product(s) must have electronics training and observe good engineering practice standards. As such,...
  • Page 29 NGX Technologies reserves the right to make changes to information published in this document, at any time and without notice, including without limitation specifications and product descriptions. This document replaces and supersedes all information supplied prior to the publication hereof.

Table of Contents