Home
User`s Manual - Embedded Artists
Contents
1. Prototype QuickStart Board User s Guide opyright 2012 Embedded Artists AB Prototype QuickStart Board User s Guide Get Up and Running Quickly and Start Developing on Day 1 Pal Embedded Artists Prototype QuickStart Board User s Guide Page 2 Embedded Artists AB Davidshallsgatan 16 SE 211 45 Malm Sweden info EmbeddedaArtists com http www EmbeddedArtists com Copyright 2005 2012 Embedded Artists AB All rights reserved No part of this publication may be reproduced transmitted transcribed stored in a retrieval system or translated into any language or computer language in any form or by any means electronic mechanical magnetic optical chemical manual or otherwise without the prior written permission of 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 Feedback We appreciate any feedback you may have for improvements on this document Please send your comments to support EmbeddedArtists com Trademarks All brand and product names mentioned herein are trademarks services marks registered trademarks or registered service marks of their respective owners and should be
2. Example program to control the 7 segment display Note that there is normally no need to have SPI_MISO P0 5 jumper in J30 inserted On v1 2 boards the jumper has simple been removed completely 4 2 MMC SD Memory Card Interface The MMC SD memory card interface is also connected to the SPI bus In this case P0 22 is used as chip select of the memory card Copyright 2012 Embedded Artists AB Prototype QuickStart Board User s Guide Page 14 There is an application note form NXP AN10406 Accessing SD MMC card using SPI on LPC2000 that describes how to create a low level interface read write sectors to the memory cards The memory card connector also contains switches to detect if a card is inserted or not P0 29 is connected to the card detect switch A low level indicated that a memory card is present inserted in the connector There is also a write protect switch that is used on SD memory cards note that MMC cards do not include this feature A low level on pin P0 30 indicates that write operations are allowed on the memory card Do not forget that you must insert the jumpers in pin list J22 in order to use the interface J41 can be found just to the right of the memory card connector If you do not use the extra switches for insertion detection and write protect detection just do not insert these corresponding jumpers These are the two top most jumpers on J22 On v1 2 boards two LEDs are connected to the CD and WP signal
3. JTA O o c L a Len T m eo LSI lol ase 3 O RESET o oO Opra OX a pa s Pe 1 Rxd Pe 23 Po 0 TxD 9 pos female Teg DSUB a PB 6 a D 7 900 ory SP3232E RS232 interface JTAG on LPC2183 or _ LPC DBGSEL 2106 Slelelelele Sloe ogoogo HOYOS lOooelpoowooeooeowk LPC213x 4x QuickStart Board LPC21 6 QuickStart Board ansion_ connector crys a OA j bovvood MARARA tantals caps LAACACAACCACAMAAOQurornavA e g WOLOLOLOOSOGOlOGlOOLOOOlele 90 delolslelolelololelslolelelole LPC2186 RS232 QuickStart Board LPC2129 CAN QuickStart Board LPC2103 QuickStart Board pil tu IL Lo I 1 1 Lae QuickStart Prototype Board v1 1 Ex C 2005 Embedded Artists wuw EmbeddedArtists com VDUVVUVUVVUVUVVUDUVUVUUVUUVUUUNY SISIISISSIISISSSSISSSSIGSSISIISS WWUNN NNN NNN N ebe hhh hh hhh OO NAGA POMODNAUDAGDNPOAODVAUMADNED TAP sloloweoelelelelsleloooe ra oa oo oo oa o ooi oo oo ot Doopoo oop ooo oon Baan RESET my Ol ol Ol O SOOO SSCOCRSCHOES vssaA k ouu uuu uur OUUU ARN dae past pais pase poza SSSSSSsssssssess Figure 2 Mounting of the LPC2106 QuickStart Board Almost all components for the ISP functionality have been mounted The only things missing are the SP3232E RS232 interface chip in S016 and the 9 pole female DSUB connector The 3232E chip is a standard ship that many produce Sipex or any other manufacturer can be used The reason why these two component
4. Artists Prototype QuickStart Board possibly together with another QuickStart Board based on NXP s ARM7TDMI LPC2xxx microcontroller family This document is a User s Guide that describes the Prototype QuickStart Board design For information regarding program development with our QuickStart Development Environment see the document QuickStart Program Development User s Guide 2 1 Contents The box received when ordering the Prototype QuickStart Board contains the following e The Prototype QuickStart Board e Possibly also another QuickStart Board with a LPC2xxx microcontroller 2 2 Features Embedded Artists Prototype QuickStart Board lets you get up and running quickly with our LPC2xxx QuickStart Boards in general and in particular with NXP s ARM7TDMI LPC2xxx microcontroller The features are summarized below e Prototype board for many different QuickStart Boards Different headers are used for different boards LPC2106 QuickStart Board LPC2106 RS232 QuickStart Board LPC2129 CAN QuickStart Board LPC213x QuickStart Board LPC2148 USB QuickStart Board LPC2103 USB QuickStart Board e Large prototype area 100 mil hole spacing e Smaller prototype area with 50 mil hole spacing e SMD area for 50 mil SO circuits e SMD area for 0 65 mm SSOP circuits e MMC SD connector connected to SPI bus e 7 segment display connected to SPI bus e 16LEDs e 4 switches e Reset button e JTAG connector e 9 pole DSUB connecto
5. Page 13 4 Board Design This chapter contains detailed information about the electrical design of the Prototype QuickStart Board The schematic can be downloaded in pdf format from the support page and is recommended to have printed out while reading this chapter 4 14 7 segment Display The 7 segment display is connected to the SPI bus P0 23 is used as chip select for the shift register that is used to shift in the display content Figure 7 below lists a small example program how to control the display Note that the decimal dot on the 7 segment display does not work there is no LED Example program to control the 7 segment display include lt lpc2xxx h gt define SPI_CS 0x00800000 P0 23 const tU8 to7Segment 10 0x3f 0x06 0x5b 0x4f 0x66 0x6d 0x7d 0x07 0x7f 0x6f void initDisplay void lenable SPI in pins PINSELO amp OxffffOOff or Oxffff30ff if LPC2148 PINSELO 0x00005500 or 0x00001500 if LPC2148 linitialize SPI to highest speed SPI_SPCCR 0x00000008 SPI_SPCR 0x00000038 Set P0 23 as output and set the pin high IODIRO SPI_CS IOSETO SPI_CS Iblank the display a high bit LED segment off sendSPI Oxff void sendSP unsigned char inData IOCLRO SPI_CS Activate SPI slave SPI_SPDR inData while SPILSPSR amp 0x80 0 IOSETO SPI_CS Deactivate SPI slave void setDisplay unsigned char digit sendSPI to7Segment digit Figure 7
6. 12 Embedded Artists AB Prototype QuickStart Board User s Guide Page 15 include lt lpc2xxx h gt void initLEDs void Iset P0 8 p0 23 to outputs PINSELO amp 0x0000ffff PINSEL1 amp Oxffff0000 IODIR OxOOffff00 IOSET OxOOffff00 turn all LEDs off void runningLEDs unsigned int rounds unsigned int pattern while rounds gt 0 pattern 0x00000100 while pattern lt 0x01000000 IOCLRO pattern delay luser defined delay function IOSETO pattern pattern lt lt 1 Figure 9 Example program to control the LEDs 4 5 Push Buttons There are five push buttons on the Prototype QuickStart Board On if for reset and the four other are connected to pins P0 14 P0 15 P0 16 and P0 30 respectively These pins can be useful to have a push button connected to As alternative signals these pins can be used an interrupt inputs 4 6 RS2321SP As explained in Section 3 2 1 this circuit is only included since the LPC2106 QuickStart Boards do not include the ISP functionality You must add a SP3232E circuit as well as a 9 pole female DSUB connector in order to make use if this functionality 4 7 CAN Connectors These connectors are only used with the LPC2129 CAN QuickStart Board The two 9 pole male DSUB connectors must be manually soldered in order to use this interface 4 8 UART 1 Connector The LPC2129 LPC213x and LPC2148 QuickStart Boards have also on board R
7. Embedded Artists AB Prototype QuickStart Board User s Guide 3 2 5 LPC2103 USB QuickStart Board Page 12 Figure 6 below illustrates how the board shall be mounted on the Prototype QuickStart Board The orientation of the board has been indicated with where the on board DSUB and USB connectors are directed 2000809000009 19000009009 Sam 20 Do n a ae o rer SF 90 o TE JTAG a aoe A NAO ING x 4x QuickStart Board RS232 QuickStart Board CAN QuickStart Board QuickStart Board Stotype Board v1 1 I L L L LI ls Mololatslelalololalolelovelelelelelararal OOOGOOOOOOOGDOOCOOOOGOC OO clolodielalelolelelololociela QuickStart C 2005 Embedded Artists wuw EmbeddedArtists com a 8 OU OUUU P0 14 P9 15 i P9 16 P0 30 Figure 6 Mounting of the LPC2103 USB QuickStart Board Copyright 2012 Embedded Artists AB P 1 RxD pa 5 Pa 23 pe e Txd Pa 4 P8 6 ansion_connector o 9 ddddddddddddddd AAAAAAAAAAAAAAA ClOLSIOl lOlol lelololelelole eldeleleloe lele VIPYOPOOBPOLIO w Aw RUNES 9 ERE ooOLLLoLLLLOLOO DONAGTAGDNED Ex Solel ololole ol oo VUVVUVVUUVVUUVUUVUUUUVUUUUVVUUVUUUY SSIPISISSHSSTGSSSISIGSSSSISISSSSSISSISS QNNNNNNNNAUNEPPPRPPPRPPPP O ONAG AGN POODNAUDADNPD PISISIVISICISIVISISICISIVIGISICIVIVIGISIVIGIVICISIVIGIVIGISIVIGIVIGI9 lt D2D Prototype QuickStart Board User s Guide
8. S232 support for UART channel 1 When these boards are used this 9 pole female DSUB connector can be used to access UART 1 4 9 Expansion Connector The 2x32 pin expansion connector allows the Expansion Boards in the Education Board series to be used and connected to the Prototype QuickStart Board The list below presents the first set of available expansion boards As seen many of the boards are communication oriented e Ethernet board 10Mbps with SPI interface e Bluetooth board with UART interface Copyright 2012 Embedded Artists AB Prototype QuickStart Board User s Guide Page 16 e ZigBee board with SPI interface e MP3 decoder board with SPI interface e Graphical LCD 240x120 pixels with parallel interface e Modem UART 1 and RS485 board e Prototype board 4 10 JTAG Interface There is also a JTAG interface for users that want to make full use of the debug possibilities in the ARM 7TDMI S processor core The JTAG interface is a 2x10 pin 100 mil pin list with shoulders and is the standard 20 pin JTAG connector for all ARM7 processors The LPC2129 CAN QuickStart Board already contains a JTAG interface connector so for this board this feature is not needed Just use the on board connector instead The different processors in the LPC2xxx family use different pins for the JTAG interface e LPC2101 2 3 uses pins P0 27 P0 31 for the JTAG interface e LPC2104 5 6 uses pins P0 17 P0 21 for the primary JTAG interface a
9. TY cO po Lk atz Sug veOMpai7e zaras Sog R P 19f dorm US O PB 19 DSUB 9 RS232 Connector NASON 28S Geo poze BaNNN ago CO0 P9216 sie pal p oreaz CACAO H 1 i FEF neg ah COCCO CCC CCC CC CCC CCCA LET LIII SNA pe ANL Pa 256 3 a A eleleloleleleceeleleecee 393 epo 2et0 v3 P2 27 P2 286 P8 29 Pa 30K zo aa oleoeeeeoe RRR P8 31 m DODO ooo ooo ooo BBA RESET p g oilo SOOO PS COCRSCEOES vssaA k A Tu o o mo OOD ggg pest Peis pass pose SSSSSSSPSSseeeee Figure 4 Mounting of the LPC2129 CAN QuickStart Board The two CAN connectors can be mounted if needed Use 9 pole male DSUB connectors The connectors are not mounted as standard since not all QuickStart Board have CAN interface The RS232 channel for UART 1is available on the 9 pole female DSUB connector in the upper left corner of the board see picture above Copyright 2012 Embedded Artists AB 3 2 4 LPC213x and LPC2148 USB QuickStart Board Prototype QuickStart Board User s Guide Page 11 Figure 5 below illustrates how the board shall be mounted on the Prototype QuickStart Board The orientation of the board has been indicated with where the on board DSUB and USB connectors are directed 9 pole female DSUB for UART 1 olola elol Ol B 8 8 8 lololol e JTAG a IRh A VAS DSUB 9 RS232 Connector B MOOOOMOOOOOOOOOOOOOOOOE N WOCOOOOOGOOGDOEOOOOOGOO oO oeooeooeoeceocee P
10. controller families in specific Our competence also includes wireless and wired communication for embedded systems For example IEEE802 11b g WLAN Bluetooth ZigBee ISM RF Ethernet CAN RS485 and Fieldbuses 2 5 2 OEM Education QuickStart Boards and Kits Visit Embedded Artists home page www EmbeddedaArtists com for information about other OEM Education QuickStart boards kits or contact your local distributor Copyright 2012 Embedded Artists AB Prototype QuickStart Board User s Guide Page 7 3 Getting Started 3 1 Power Supply There are four three on v1 2 options for powering the Prototype QuickStart Board e ADC power supply 5 volt capable of providing at least 150 mA more if external circuits need power from the 3 3 volt supply on the LPC2xxx QuickStart Boards The 2 1mm connector have negative center pin The board contains reverse polarity protection Note that this option is removed on v1 2 boards e ADC power supply 9 volt with any polarity on the 2 1mm connector Also in this case the power supply should be capable of providing at least 150 mA more if external circuits need power from the 3 3 volt supply on the LPC2xxx QuickStart Boards e AnAC power supply 6 volt Also in this case the power supply should be capable of providing at least 150 mA more if external circuits need power from the 3 3 volt supply on the LPC2xxx QuickStart Boards Note that DC powering is preferred over AC po
11. ion about the QuickStart Build Environment from Embedded Artists and program development for the ARM7 in general Copyright 2012 Embedded Artists AB Prototype QuickStart Board User s Guide Page 19 6 Further Information LPC2xxx microcontrollers are complex circuits and there exist a number of other documents with a lot more information The following documents are recommended as a complement to this document 1 NXP LPC2xxx Datasheet 2 NXP LPC2xxx User s Manual 3 NXP LPC2xxx Errata Sheet 4 ARM7TDMI Technical Reference Manual Document identity DDI0029G http www arm com pdfs DDI0029G_7TDMI_R3_trm pdf 5 ARM Architecture Reference Manual Document identity DDIO100E Book Second Edition edited by David Seal Addison Wesley ISBN 0 201 73719 1 Also available in PDF form on the ARM Technical Publications CD 6 ARM System Developer s Guide Designing and Optimizing System Software by A N Sloss D Symes C Wright Elsevier ISBN 1 55860 874 5 7 Embedded System Design on a Shoestring by Lewin Edwards Newnes ISBN 0750676094 8 GNU Manuals http www gnu org manual 9 GNU ARM tool chain for Cygwin http Avww gnuarm com 10 An Introduction to the GNU Compiler and Linker by Bill Gatliff http www billgatliff com 11 LPC2000 Yahoo Group A discussion forum dedicated entirely to the NXP LPC2xxx series of microcontrollers http groups yahoo com group pc2000 12 The Insider s Guide to the Philip
12. lolelelelelelclslelalsielale 1 Pa pa 4 PQ 6 2000809000009 19000009009 mm 2 0 e lia pe P 5 RESET Pa 14 P 4 RxD P2 23 pe e Txd oe O kStart Board art Board ickStart Board t Board kStart Board LPC213x L LPC2106 LPC2186 RS LPC2103 Q LPC2129 C IIL IL Le tae oOo oard v1 1 Artists wuw EmbeddedArtists com ansion_ connector o 9 Ex o QuickStart Proto C 2005 Embedded oeleloeeeeeeoeeeee DOHOPDSOPOSGBSOPBOSGBYO 9 PO p P Po Po Pa Po P Po P Po Po Pa PQ Pa PQ PQ P PQ Pa Pa PO P Po P Po Po P Po ollel olol be ol elole OOO bo PONAMADNED ddddddddddddddd AAAAAAAAAAAAAAA ClOLSIOl lOlol lelololelelole 2 3 4 5 6 7 8 9 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 ELAJONAUAOUNEe OA DU 99 PISISIVISICISIVISISICISIVIGISIOIVIVIGISIVIGIVICISIVIGIVIGISIVIGIVIgI9 Of Booooooopoo ogo oo YAN cg oilo PIEEEATENEANNAN AT ussa a c EE EEEEEEEEEEEEE P0 44 PO15 Pad pase ARRaRobeoooooooe Figure 5 Mounting of the LPC213x QuickStart Board and LPC2148 USB QuickStart Board The RS232 channel for UART 1is available on the 9 pole female DSUB connector in the upper left corner of the board see picture above Note that the USB connector on the LPC213x QuickStart Board is only for powering the board Copyright 2012
13. most importantly there are six different parts that make up the prototype area The largest and most obvious part is the 100 mil connection array All pins signals from the QuickStart Boards are available at the left area A small 50 mil connection area at the right bottom area A 0 65mm area at the bottom for connecting SSOP sized circuits Copyright 2012 Embedded Artists AB and upper edges of the The top right edge of the area contains power connections for 5 Volt 3 3 Volt and GND A 50 mil 1 27 mm area at the right edge for connecting SO sized circuits Prototype QuickStart Board User s Guide Page 18 5 Getting Started 5 1 Test Program The Prototype QuickStart Board does not contain a processor and can therefore not have any preloaded test program However there exist two different test programs that can be downloaded in the LPC2xxx QuickStart Board that is connected to the Prototype QuickStart Board e Test program for QuickStart Boards with a 12 0000MHz crystal Use terminal baud rate 38400 bps 8 data bits no parity bit one stop bit e Test program for QuickStart Boards with a 14 745600MHz crystal Use terminal baud rate 115200 bps 8 data bits no parity bit one stop bit The test program outputs a running one on the LEDs writes digits to the 7 segment display and plays a simple song on the buzzer 5 2 Program Development Consult the QuickStart Program Development User s Manual for more informat
14. nd P0 27 P0 31 for the secondary interface e LPC212x 3x 4x uses pins P1 27 P1 31 for the JTAG interface For the LPC2101 2 3 processors insert all jumpers in pin list J18 and use jumper DBGSEL to enable the JTAG interface For LPC2104 5 6 processors insert all jumpers in pin list J12 and use jumper DBGSEL to enable the JTAG interface Alternatively insert all jumpers in pin list J18 if the secondary JTAG interface is used For LPC213x 4x processors just use the JTAG interface connector on the Prototype QuickStart Board and use jumper RTCK to enable the JTAG interface Copyright 2012 Embedded Artists AB Prototype QuickStart Board User s Guide Figure 10 below illustrates all connectors related to the JTAG interface The 20 pin m JTAG interface TG o5 E ne H ERA JTAG oo DSA pa 5 Ore S pa 23 Po 0 Tx0 Pa 4 P9 6 l pa 0 900 CKO o Enable JTAG DBGSEL 2 kStart Board Start Board Board rt Board tart Board rd v1 1 SOO TEO Geo x o ORO For LPC2101 2 3 Pin list J18 LPC21 6 Quick9 LPC213x 4x Quy LPC2186 RS232 Q oul tik IIL LPC2103 QuickS LPC2129 Q Lo 2005 Embed kStart Protd EmbeddedAr Low GOOOOSOOOOOOOOOOOOOS 500 Figure 10 JTAG connectors 4 11 Prototype Area mo oma MI o o o M Page 17 dddddddddddddddd AAAAAAAAAAAAAAA JOQOD 1 1 Enable JTAG RTCK Finally and maybe
15. r for UART 1 e Power supply 5VDC center pin negative or 9VDC any polarity or 6VAC or from USB connector 5V DC e Two 9 pole DSUB connectors for CAN board not mounted e RS232 circuit for LPC2106 board only partly mounted Copyright 2012 Embedded Artists AB Prototype QuickStart Board User s Guide Page 6 e 2x32 pole expansion connector compatible with the Education Board series e 196x125 mm in size 2 3 ESD Precaution Please note that the Prototype QuickStart Board come without any case box and all components are exposed for finger touches and therefore extra attention must be paid to ESD electrostatic discharge precaution Make it a habit always to first touch the metal surface of the USB connector for a few seconds with both hands before touching any other A parts of the boards 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 2 4 CE Assessment The Prototype QuickStart Board is CE marked See separate CE Declaration of Conformity document The Prototype QuickStart Board is a class B product EMC emission test has been performed on the Prototype QuickStart Board General expansion connectors where internal signals are made available have been left unconnected Connecting other devices to the product via the general expansion connectors may alter EMC emission It is the user s
16. responsibility to make sure EMC emission limits are not exceeded when connecting other devices to the general expansion connectors of the Prototype QuickStart Board Due to the nature of the Prototype QuickStart Board an evaluation board not for integration into an end product fast transient immunity tests and conducted radio frequency immunity tests have not been executed Externally connected cables are assumed to be less than 3 meters The general expansion connectors where internal signals are made available do not have any other ESD protection than from the chip themselves Observe ESD precaution 2 5 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 2 5 1 Design and Production Services Embedded Artists provide design services for custom designs either completely new or modification to existing boards Specific peripherals and I O can be added easily to different designs for example communication interfaces specific analog or digital I O and power supplies Embedded Artists has a broad and long experience in designing industrial electronics in general and with NXP s LPC1000 2000 3000 4000 micro
17. rt Board ansion_connector B O ol B VUVUVVUVUVUVVUVUVUUUVUVUVUUVUUUUVUUUUUYUY L Ex o D E C E tit fio Lo a Be JQ b O QuickStart Prototype Board v1 1 C 2005 Embedded Artists wuw EmbeddedfArtists com o SSIPISISSHSSTGSSSISIGSSSSISISSSSSISSISS 6 D UNNNYNNNNNNNNEBEPBPBEPeBbBeEBPhbBAehO0O0NAA GA wN POODNAUDADNPD m ot Bogogoooo ooo oo oo YENA 40 fal fo Ol O lad ic otal USSA ODU P0 14 P9 15 P0 16 P0 30 Figure 3 Mounting of the LPC2106 RS232 QuickStart Board Copyright 2012 Embedded Artists AB Prototype QuickStart Board User s Guide Page 10 3 2 3 LPC2129 CAN QuickStart Board Figure 4 below illustrates how the board shall be mounted on the Prototype QuickStart Board The orientation of the board has been indicated with where the on board DSUB connector is directed sO OO y TL DIS o FOISS LS 6 if 1OCO0O000000O i 9 pole female 5 l cem 20 DSUB for 2 ann Two 9 pole male DSUB are connectors for CAN bus ooo oo UART 1 P 4 RxD O pa s A pa 23 pe e Txn P Pa 4 POS Pa 6 j PO 4 K pa 5 roy 900 P9 6 K JEBEBESBEBESESe go pa fa Perey D AE eapo fa OJO sored 1 obs TE hij yo Gopar PO 11K TAG A RRG i IER AER ropa 7 z hoss y i P0 12 r2as 2 909p k G yue ong YOOPI14 A geast mto Z A pas Staad
18. s ARM7 Based Microcontrollers by Trevor Martin http www hitex co uk arm pc2000book index htm 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
19. s are not mounted is cost All other QuickStart Boards have on board ISP functionality and it s wasteful to mount these components on all boards when only a few uses it This allows us to produce and offer the board to a lower cost The jumpers as indicated in the picture above are used to enable the ISP functionality Insert all four jumpers to enable automatic program download Copyright 2012 Embedded Artists AB Prototype QuickStart Board User s Guide Page 9 3 2 2 LPC2106 RS232 QuickStart Board Figure 3 below illustrates how the LPC2106 RS232 QuickStart Board shall be mounted on the Prototype QuickStart Board The orientation of the board has been indicated with where the on board DSUB connector is directed nd N c 20 f agagaganannaanananaan ooo RTAS TOOTOO o 6 pas Pa 23 pe e Txd Pa 4 P2 6 g ooo 9 HE R E H E 5 ay 2 l VR DAMAANMTCTOUOR ODD soeeseceoos ii ELEERI ddddiddddidddddiddidlddl else COO BS PISISIVISICISIVISISICISIVIGISICIVIVIGISIVIGIVICISIVIGIVIGISIVIGIVIGI9 beelo oloo elole IQ 9 ole oo B ele oe ale o9 o PONAMADNED B ol O DBGSEL O DSUB 9 RS232 Connector MOISIDIGID OGIO GISIOCIlOIGIOIOolol_F 5 nero meteor a 00 LPC213x 4x QuickStart Board LPC21 6 QuickStart Board o 9 LPC21 6 RS232 QuickStart Board LPC21 3 QuickStart Board LPC2129 CAN QuickSta
20. s from the MMC SD connector When each signal is low the respective LED will light 4 3 Buzzer The buzzer is connected to pin P0 7 Either the buzzer is controlled by a simple digital signal high is off and a low signal turns the buzzer on In this case the buzzer oscillates in its self frequency As an alternative a PWM signal can be used to control the frequency of the oscillations The signal PWM2 is available as an alternative signal on pin P0 7 Figure 8 below lists a small example program how to control the buzzer with a PWM signal Example program to control the buzzer include lt lpc2xxx h gt void initPWM2 void fenable PWM2 on P0 7 PINSELO amp Oxffff3fff PINSELO 0x00008000 linitialize PWM2 PWM_PR 0x00 Prescale Register PWM_MCR 0x02 Match Control Register PWM_MRO 0x1000 PWM_MR2 0x1000 PWM_LER 0x05 Latch Enable Register PWM_PCR 0x0400 Prescale Counter Register PWMENA2 PWM_TCR 0x09 Counter Enable och PWM Enable void setBuzzer unsigned int frequency PWM_MRO frequency PWM_MR2 frequency 2 PWM_LER 0x05 Figure 8 Example program to control the buzzer 4 4 LEDs 16 LEDs are connected to pins P0 8 P0 15 A low pin level drives current through the LED i e LED is on Figure 9 below lists a small example program how to control the LEDs in a running one pattern Example program to control the LEDs Copyright 20
21. treated as such Copyright 2012 Embedded Artists AB Prototype QuickStart Board User s Guide Page 3 Table of Contents 1 Document Revision History 4 2 Introduction 5 2 1 Contents 5 2 2 Features 5 2 3 ESD Precaution 6 2 4 CE Assessment 6 2 5 Other Products from Embedded Artists 6 2 5 1 Design and Production Services 6 2 5 2 OEM Education QuickStart Boards and Kits 6 3 Getting Started 7 3 1 Power Supply 7 3 2 QuickStart Board Mounting 8 3 2 1 LPC2106 QuickStart Board 8 3 2 2 LPC2106 RS232 QuickStart Board 9 3 2 3 LPC2129 CAN QuickStart Board 10 3 2 4 LPC213x and LPC2148 USB QuickStart Board 11 3 2 5 LPC2103 USB QuickStart Board 12 4 Board Design 13 4 1 7 segment Display 13 4 2 MMC SD Memory Card Interface 13 4 3 Buzzer 14 44 LEDs 14 4 5 Push Buttons 15 4 6 RS232 ISP 15 4 7 CAN Connectors 15 4 8 UART 1 Connector 15 4 9 Expansion Connector 15 4 10 JTAG Interface 16 4 11 Prototype Area 17 5 Getting Started 18 5 1 Test Program 18 5 2 Program Development 18 6 Further Information 19 Copyright 2012 Embedded Artists AB Prototype QuickStart Board User s Guide Page 4 1 Document Revision History Revision Date Description v1 4 2012 01 13 Added this revision history table Added note about ESD precaution and CE marking Removed schematic from document Copyright 2012 Embedded Artists AB Prototype QuickStart Board User s Guide Page 5 2 Introduction Thank you for buying Embedded
22. wering e Powering via a USB cable of type B to A both male connectors In this case the power comes from a PC or a USB hub See Figure 1 below for details about power supply connectors upper right corner of the board 9V DC any polarity or 6V AC 2 1mm connector USB Connector only for powering 5V DC center pin negative 2 1mm connector not on v1 2 cent pin is LJ negat ves 5U 3 30 GND COS GEOEOOOEOOOOCGCOOOOOOOO Figure 1 Power Supply Connectors Copyright 2012 Embedded Artists AB Prototype QuickStart Board User s Guide Page 8 3 2 QuickStart Board Mounting Many different QuickStart Boards can be mounted on the Prototype QuickStart Board The following subsection describes how to mount each different QuickStart Board 3 2 1 LPC2106 QuickStart Board The LPC2106 QuickStart Board is the only QuickStart board that does not have on board ISP functionality i e a RS232 serial channel and automatic control of the bootloader Figure 2 below illustrates how the board shall be mounted on the Prototype QuickStart Board The orientation of the board has been indicated with where the crystal is on the board and where the power supply is located where the 20 pin chip is se TT Jumpersto J Le 7 LL m A s WAHI La s WHI lA 1 5q 1 1q 5 oa 2090000000 D ON ODO 100000000 ys o f 20 c 0 AAAA
Download Pdf Manuals
Related Search
Related Contents
Vector G1 GPS Satellite Compass Smith Cast Iron Boilers 19A SERIES User's Manual MATCHBOX DEMO Datasheet Endoscope SKF Série TKES 10 Microsoft Live Meeting 2007 - Conferências Cuno 111405-1 User's Manual サイボウズ KUNAI for Android マニュアル Philips PET721S Operating Instructions Manual Copyright © All rights reserved.
Failed to retrieve file