Download Print this page

Advertisement

Quick Links

- User's Guide
LPC12D27 QuickStart Board
Copyright 2012 © Embedded Artists AB
LPC12D27 QuickStart Board
User's Guide
Get Up-and-Running Quickly and
Start Developing Your Applications On Day 1!
EA2-USG-1107 Rev B

Advertisement

loading
Need help?

Need help?

Do you have a question about the QuickStart LPC12D27 and is the answer not in the manual?

Questions and answers

Summary of Contents for Embedded Artists QuickStart LPC12D27

  • Page 1 - User’s Guide LPC12D27 QuickStart Board Copyright 2012 © Embedded Artists AB LPC12D27 QuickStart Board User’s Guide Get Up-and-Running Quickly and Start Developing Your Applications On Day 1! EA2-USG-1107 Rev B...
  • Page 2 Embedded Artists AB. Disclaimer Embedded Artists AB makes no representation or warranties with respect to the contents hereof and specifically disclaim any implied warranties or merchantability or fitness for any particular purpose. Information in this publication is subject to change without notice and does not represent a commitment on the part of Embedded Artists AB.
  • Page 3: Table Of Contents

    Demo Application Program Development Compiling the Demo Application Program Download 4.4.1 SWD Interface 4.4.2 Using LPCXpresso IDE/Debugger 4.4.3 UART-ISP Console Interface via UART-to-USB Bridge 4.5.1 FTDI USB Driver 4.5.2 USB Driver Behavior 5 Further Information Copyright 2012 © Embedded Artists AB...
  • Page 4: Document Revision History

    LPC12D27 QuickStart Board - User’s Guide Page 4 1 Document Revision History Revision Date Description 2011-11-24 First version of document. 2012-01-13 Added note about CE marking. Copyright 2012 © Embedded Artists AB...
  • Page 5: Introduction

    LPC12D27 QuickStart Board - User’s Guide Page 5 2 Introduction Thank you for buying Embedded Artists’ LPC12D27 QuickStart Board based on NXP’s LPC12D27 ARM Cortex-M0 microcontroller with integrated LCD controller. This document is a User’s Guide that describes the LPC12D27 QuickStart Board hardware design.
  • Page 6: Esd Precaution

    That way, you will have the same potential as the board and therefore minimize the risk for ESD. Note that Embedded Artists does not replace boards that have been damaged by ESD. General Handling Care Handle the LPC12D27 QuickStart Board with care. The board is not mounted in a protective case/box and is not designed for rough physical handling.
  • Page 7: Other Products From Embedded Artists

    Page 7 Other Products from Embedded Artists Embedded Artists have a broad range of LPC1000/2000/3000/4000 based boards that are very low cost and developed for prototyping / development as well as for OEM applications. Modifications for OEM applications can be done easily, even for modest production volumes. Contact Embedded Artists for further information about design and production services.
  • Page 8: The Lpc12D27 Quickstart Board Design

    I2C interface Reset button Temperature sensor ISP enable I2C interface button Trimming potentiometer AIN7 Wakeup button 4 Capacitive sensors AIN0-3 Start logic button ”555 timer” RC-circuit Figure 1 – LPC12D27 QuickStart Board Block Diagram Copyright 2012 © Embedded Artists AB...
  • Page 9: Board Overview

    555- circuit LPC12D27 current measurment Reset button Ground interface JTAG interface (not mounted) R16 – trimming potentiometer SW2, SW1, SW4 LPC12D27 with pin Capacitive sensors access connectors Figure 2 – LPC12D27 QuickStart Board Overview Copyright 2012 © Embedded Artists AB...
  • Page 10: Usage Of Cpu Pins

    PIO0_25 SWD interface SWDIO (default position) PIO0_26 SWD interface SWCLK (default position) PIO0_27 Connected to LED. Active high. PIO0_28 Connected to LED. Active high. PIO0_29 Connected to “555” circuit for emulation of an RC-timer Copyright 2012 © Embedded Artists AB...
  • Page 11: Schematic Walkthrough

    PCF8576D. Normally a jumper in JP9 is inserted but if removed there are 5 ohm resistors that can be used for measuring the current consumption. 10mA current will give a 50mV voltage drop over a 5 ohm resistor. Copyright 2012 © Embedded Artists AB...
  • Page 12 There is a LED that signals that +3.3V is present on the board. There are also two ground pads (TP4, TP5) for simplifying connection the ground cable of measurement devices, for example oscilloscope probes. Copyright 2012 © Embedded Artists AB...
  • Page 13: Default Jumper Positions

    3.6.1 Rework Wire Revision A of the board contains a layout error that affects the trimming potentiometer, R16. There is a rework wire on the bottom side of the board to fix this problem. Copyright 2012 © Embedded Artists AB...
  • Page 14: Getting Started

    Secondly, import the package containing the demo application into the Eclipse workspace. The package can be downloaded (as a zip-file) from Embedded Artists support page after registering the product. The zip-file contains all project files and is a simple way to distribute complete Eclipse projects.
  • Page 15 1) Browse and select archived project file 2) Select all sub- projects in list 3) Import project Figure 5 – LPCXpresso IDE Import Archived Project Window Copyright 2012 © Embedded Artists AB...
  • Page 16 While resetting the LPC12D27 press the ISP Enable push-button. a. Press both Reset (SW3) and ISP push-button (SW4) b. Release the Reset push-button c. Release the ISP push-button d. The LPC12D27 is now in ISP/bootload mode. Copyright 2012 © Embedded Artists AB...
  • Page 17: Program Download

    Either solder a 2x10 pos, 100 mil pitch shrouded IDC connector to the LPC12D27 QuickStart Board or use Embedded Artists’ adapter for the purpose (article number: EA-ACC-040). See Figure 8 below. Note that the SWD/JTAG debug pod used must support the SWD protocol in order to work.
  • Page 18: Using Lpcxpresso Ide/Debugger

    4. Make sure that the latest version of the LPCXpresso IDE is installed on the PC. 5. Import the sample application software package into the Eclipse workspace. This package can be downloaded from the Embedded Artists support page after registering the product. The demo application is one of the projects in the sample application package.
  • Page 19 LPC12D27 demo application. 1) Find workspace and all sample apps. 4) Select either *.axf 2) Find project or *.bin file top directory 3) Find “Debug” subdirectory Figure 11 – Browse to File to Download Copyright 2012 © Embedded Artists AB...
  • Page 20 Make sure the LPC12D27 is in ISP/bootload mode and try again. Also make sure the small 10-pos flat cable is connected between the LPC12D27 QuickStart Board and LPC-LINK. Figure 13 – LPCXpresso IDE Program Failing to Flash Copyright 2012 © Embedded Artists AB...
  • Page 21: Uart-Isp

    1. Press both the ISP Enable push-button (SW4) and the reset push-button (SW3). 2. Release the reset push-button while keeping the ISP Enable push-button pressed. 3. Then finally release the ISP Enable push-button. The LPC12D27 is now in UART-ISP mode. Copyright 2012 © Embedded Artists AB...
  • Page 22 Figure 15 – LPCXpresso IDE Open Command Prompt 4. Convert the axf file to a hex file. In this example it is assumed that the sample application is named demo. arm-none-eabi-objcopy –O ihex demo.axf demo.hex Copyright 2012 © Embedded Artists AB...
  • Page 23 ISP activation to work. Also not that both jumpers in JP11 must be inserted on the LPC12D27 QuickStart Board. Figure 17 – Flash Magic, Advanced Options – Hardware Config 7. Click the Start button and the application will be downloaded to the target. Copyright 2012 © Embedded Artists AB...
  • Page 24: Console Interface Via Uart-To-Usb Bridge

    To change the UART settings, first open the System Properties dialog, as illustrated in the figure below. Device Manager Figure 18 – System Settings Dialog Then select the Device Manager and open the Ports list, as illustrated in Figure 19 – below. Copyright 2012 © Embedded Artists AB...
  • Page 25 Figure 21 – below. Then select Advanced settings. Please note that different application programs can use different baudrate settings for the serial channel. Other baudrates can also be used, depending on specific application. Copyright 2012 © Embedded Artists AB...
  • Page 26 Finally it is time to test if the USB Serial Port has been successfully installed and configured. Start a terminal program. Connect to the correct COM port, with 38400 bits per second, 8N1, no flow control. Copyright 2012 © Embedded Artists AB...
  • Page 27: Usb Driver Behavior

    A new COM port that can be accessed properly should be created the second time. This problem may occur after every time the PC is started (i.e., is power cycled). Copyright 2012 © Embedded Artists AB...
  • Page 28: Further Information

    This group might be more active than the LPC1000 group. http://tech.groups.yahoo.com/group/lpc2000/ Note that there can be newer versions of the documents than the ones linked to here. Always check for the latest information/version. Copyright 2012 © Embedded Artists AB...
  • Page 29 X-ON Electronics Largest Supplier of Electrical and Electronic Components Click to view similar products for category: Development Boards & Kits - ARM Click to view products by manufacturer: Other Similar products are found below : CWH-CTP-VSPA-YE CY4541 EVAL-ADUCM320IQSPZ FRDM-KV31F POLYPOD-BGA324 POLYPOD-TQ144 POLYPOD-TQ176 KEA128LEDLIGHTRD KIT_XMC42_EE1_001 SAFETI-HSK-RM48 LS1024A-RDB ADM00573 FRDM-KL28Z PICOHOBBITFL MCIMX53-START-R TWR-K65F180M KEA128BLDCRD CC-ACC-MMK-2443 STM8L1528-EVAL YSPKS5D9E10 YGRPEACHFULL TWR-MC-FRDMKE02Z TWR-K80F150M CY14NVSRAMKIT-001 EVALSPEAR320CPU EVB-SCMIMX6SX MAXWSNENV# FM0-...