Home
User`s Manual - Embedded Artists
Contents
1. LPC2106 RS232 QuickStart Board User s Guide LPC2106 RS232 QuickStart Board User s Guide Get Up and Running Quickly and Start Developing on Day 1 W Embedded Artists LPC2106 RS232 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 treated as such Cop
2. 4 x 14 7456 MHz 58 9825 MHz e ESD EMI protected RS232 channel with DSUB 9 connector e 256 Kbit C E7PROM e Onboard low dropout voltage and reset generation Generates 3 3V and 1 8V from a single 5V supply 3 3V available for external circuits up to 300 mA Power supply 4 6 VDC at least 150 mA e Simple and automatic program download ISP via RS232 channel Circuit that automatically controls the boot loader from RS232 channel e Easy to connect to JTAG signals Copyright 2012 Embedded Artists AB LPC2106 RS232 QuickStart Board User s Guide Page 6 e Dimensions 27 9 x 65 3 mm DIL form factor with 2x20 pins 21 6 mm 0 85 between pin rows Four layer PCB FR 4 material for best noise immunity 2 3 ESD Precaution Please note that the LPC2106 RS232 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 ground pin on the expansion pin list for a few seconds with both hands before touching any other parts of A the board 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 LPC2106 RS232 QuickStart Board is CE marked See separate CE Declaration of Conformity document The LPC2106
3. The schematic can be downloaded in pdf format from the support page and is recommended to have printed out while reading this chapter A number of example circuits are also presented that will lower the threshold of start developing with the board 3 1 Board Schematics Note that version 1 2 of the design has updated the power supplies and the rest generation but both versions are compatible Besides the LPC2106 microcontroller from NXP the board contains a dual voltage regulator with an internal reset generator a 256 Kbit 12C E7PROM and an ESD EMI protected RS232 serial channel A red LED is connected to the reset signal and lights when reset is active i e the signal is low The microcontroller crystal frequency is 14 7456 MHz This frequency has been selected in order to allow close to maximum execution speed 4 x 14 7456 MHz 58 9824 MHz which is very close to the maximum frequency 60 MHz as well as to provide standard serial communication bit rates The crystal frequency can be changed to any desired value for OEM orders provided that the conditions in the LPC2106 datasheet are met Current requirements are but consult the most current datasheet for latest details e 1 30 MHz if the on chip phase locked loop PLL is not used or e 10 25 MHz if the PLL is to be used The design has direct and automatic support for program downloading via ISP over the RS232 serial channel The RS232 signal DTR controls the reset signal to the
4. LPC2106 microcontroller The RS232 signal RTS is connected to pin P0 14 in the LPC2106 microcontroller This pin is sampled after reset and determines if the internal bootloader program shall be started or not A low signal after reset enters the bootloader mode Both the RS232 receive and transmit signals as well as the RTS DTR signals can be disconnected from the microcontroller via four links jumpers on the board See Figure 1 below for details Copyright 2012 Embedded Artists AB LPC2106 RS232 QuickStart Board User s Guide Page 9 In order from left to right J4 TxD J5 RxD J6 P0 14 J7 Reset Figure 1 LPC2106 RS232 QuickStart Board Jumpers It is possible to use the RS232 signals RTS and CTS which are available to the microcontroller signals P0 22 and P0 23 via the zero ohm resistors R2 and R3 Note that R2 and R3 are not mounted on the board and that such control must be implemented in software There is no hardware control of these signals The board interface connectors are placed in two 20 pin rows along the board edges They are 850 mil 0 85 inch 21 6 mm apart and can be viewed as a DIL 40 package However note that a standard DIL 40 package has the rows 600 mil 0 6 inch apart and not 850 mil 0 85 inch 21 6 mm like the LPC2106 RS232 QuickStart Board has Figure 2 below illustrates how the two row connectors can be viewed as a DIL package Copyright 2012 Embedded Artists AB LPC2106 RS232
5. QuickStart Board User s Guide Page 10 The DSUB 9 RS232 connector is in this end of the package J2 3 PO 0 TXD 4 40 PO PO 1 RXD 2 39 P030 PO 2 I2C 3 38 P0 29 P0O 3 I2C SDA 4 37 P0 28 P0 4 5 36 PO PO 6 35 P026 POG T 34 PQ PO 8 33 P024 PO 8 9 32 PO P0 9 10 31 PO P0 10 11 30 PO PO 12 29 P0 20 PO 13 28 P0 19 PO 14 27 P0 18 P0 14 15 26 PO PO 16 25 PQ16 17 24 P 18 23 NP GND RES O 19 22 DBGs GND R N 20 21 R K PO 1 P0 30 2 P0 29 3 P0 28 4 PO 5 P0 26 6 PO 7 PO 24 8 PQ 9 PO 10 PO 11 P0 20 12 P0 19 13 P0 18 14 PO 15 5 P016 16 a 17 18 DB 19 R K 20 GND GND Figure 2 LPC2106 RS232 QuickStart Board Interface Connectors Viewed as a DIL Package Copyright 2012 Embedded Artists AB LPC2106 RS232 QuickStart Board User s Guide Page 11 3 2 Mechanical Dimensions Figure 3 below contains a drawing of the board that includes mechanical measures about 12 mm 65 3 mm 2570 mil 27 9 mm 1100 mil Figure 3 LPC2106 RS232 QuickStart Board Mechanical Dimensions 3 3 Examples This section contains a few sample illustrative circuit examples that will help you to quickly get up and running with the board interface design Detailed information about the on chip peripheral units can be found in the LPC2106 User s Manual 3 3 1 JTAG The LPC2106 microcontroller contains a JTAG interface that can be used for debug purposes during program development The circuit in Figure 4 below works for m
6. regarding the 12C and EPROM test Also the UART RS232 channel can be tested by typing characters in the terminal program The settings for the terminal program are 115 2 kbps 8 data bits no parity bits and one stop bit i e 8N1 The output from the test program will look something like in Figure 9 below Terminal pc21isp exe termonly control dummy com1 115200 14746 jol x A Test program for LPC2616 QuickStart Board Version 1 6 Date 2605 61 12 lt C Embedded Artists 2005 EEPROM and I2C test est 1 write string String 1 to address 6x6000 done status code OK program cycle completed est 2 write string sTrInG 2 to address x 321 done status code OK gt program cycle completed est 3 read string from address 6x6000 string is String 1 est 4 read string from address 6x 321 string is sTrInG z est 5 write string sTrInG 2 to address 6x 604 done status code OK gt program cycle completed est 6 read string from address 6x6060 string is StrisTrInG 2 Summary of tests Passed all tests I O and UART test Loop through all I O pins running 1 gt P 4 to p 31 P 2 to p 3 tested via EEPROM and I2C test P to pB 1 tested via UART test KK KK KKK Press any key on terminal and verify echo back 84 decimal gt 161 decimal 115 decimal 116 decimal gt 165 decimal 116 d
7. 12 PO 13 28 PO 19 amp PO 14 27 Po L 8 2 P014 15 26 Po GND cb PO 16 25 P0 16 PCF8574T GND 17 24 18 23 5V_ INP SND RES Q 19 22 DB GND Not all pins connected Only I2C signals R N 20 21 RICK and power supply connections shown Figure 6 Example 12C Interface Note that the pull up resistors which are always needed on I C busses are included on the LPC2106 RS232 QuickStart Board and are hence not needed on the external circuit The pull up resistors are 3000 ohm each see Fel Hittar inte referenskalla for complete board schematics 3 3 4 SPI The LPC2106 microcontroller has an on chip SPI serial communication channel Figure 7 below illustrates how serial E PROM chip is connected to the LPC2106 RS232 QuickStart Board Note that signal SSEL i e P0 7 must be high when the SPI controller in LPC2106 operates as a master and master operation is the normal operating mode In Figure 7 below signal P0 25 is used as an example to control the chip select to the serial E7PROM chip Any other pin can be used to control chip select signals Note that one chip select signal is requires for each external chip that is connected to the SPI bus 3V3 R1 25LCO80SN Not all pins connected Only SPI signals and power supply connections shown Figure 7 Example SPI Interface 3 3 5 LEDs The port pins of the LPC2106 microcontrollers have a 4 mA driving capacity just enough to directly drive LEDs Figure 8 be
8. RS232 QuickStart Board is a class B product EMC emission test has been performed on the LPC2106 RS232 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 responsibility to make sure EMC emission limits are not exceeded when connecting other devices to the general expansion connectors of the LPC2106 RS232 QuickStart Board Due to the nature of the LPC2106 RS232 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 Note that the LPC2106 RS232 QuickStart Board can also be considered to be a component if integrated into another product The CE mark on the LPC2106 RS232 QuickStart Board cannot be extended to include the new user created product It is the user s responsibility to make sure EMC emission limits are not exceeded and CE mark the final product 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 pro
9. any JTAG interfaces on the market including J link from Segger Ulink from Keil and Wiggler from MacRaigor The signal DBGSEL on the LPC2106 microcontroller is sampled during reset Jumper J10 drives the signal high If the signal is found high the JTAG interface is enabled Pin P0 17 P0 21 then changes from being general I O pins to dedicated JTAG pins Copyright 2012 Embedded Artists AB LPC2106 RS232 QuickStart Board User s Guide Page 12 Some JTAG interfaces require the signal RTCK to be held low jumper J11 and some that the JTAG signals TRST and RST are connected optional 0 ohm resistor Consult your JTAG manual for specific information Note that many Wiggler JTAG interfaces do not work with a processor crystal frequency above about 10 MHZ If this is the case the crystal frequency can be changed by desoldering the 14 7456 MHz crystal and replace it with another suitable one i OO S SRRRRBRER TIT ba Aa TYNOILdO sAct P Figure 4 Example JTAG Interface Copyright 2012 Embedded Artists AB LPC2106 RS232 QuickStart Board User s Guide Page 13 3 3 2 Reset The on board voltage regulator also contains a reset generator The reset signal will be held active i e low until both internal voltages i e 3 3V and 1 8V are within margins The reset duration is about 120 mS consult the TPS70251 datasheet for exact details The output reset signal is an open collector open drain output A
10. ation 2 1 Contents The box received when ordering the LPC2106 RS232 QuickStart Board contains the following e The LPC2106 RS232 QuickStart Board In addition the following is needed in order to start developing applications with the LPC2106 RS232 QuickStart Board e ADC power supply 4 6 volt capable of providing at least 150 mA more if external circuits need power from the 3 3 volt supply Note that the LPC2106 RS232 QuickStart Board does not contain any reverse polarity protection If voltage is applied with wrong polarity the board will likely be damaged Also note that 6 0 volt is the absolute maximum voltage that can be applied without damaging the on board voltage regulator TPS70251 Consult the TPS70251 datasheet for exact details e A serial extension cable DB9 male to DB9 female DB9M DM9F for connecting the LPC2106 RS232 QuickStart Board to a PC e An optional JTAG interface for program development debugging 2 2 Features Embedded Artists LPC2106 RS232 QuickStart Board lets you get up and running quickly with NXP s ARM7TDMI LPC2106 microcontroller The small form factor board offers many unique features that ease your development e NXP s ARM7TDMI LPC2106 microcontroller with 128 Kbyte program Flash and 64 Kbyte SRAM e All LPC2106 I O pins are available on connectors e 14 7456 MHz crystal for maximum execution speed and standard serial bit rates Phase locked loop PLL multiplies frequency with four
11. ecimal gt 163 decimal gt Received char Received char Received char Received char Received char Received char Received char QI Figure 9 Example Test Program Output 4 2 Program Development Consult the QuickStart Program Development User s Manual for more information about the QuickStart Build Environment from Embedded Artists and program development for the ARM7 in general Copyright 2012 Embedded Artists AB LPC2106 RS232 QuickStart Board User s Guide Page 17 5 Further Information The LPC2106 microcontroller is a complex circuit 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 LPC2106 Datasheet http ics nxp com products lpc2000 pdf lpc2104 1pc2105 lpc2106 pdf 2 NXP LPC2106 User s Manual http ics nxp com support documents microcontrollers pdf user manual lpc2104 lpc2105 lpc2106 pdf 3 NXP LPC2106 Errata Sheet http ics nxp com support documents microcontrollers pdf errata lpc2106 pdf 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 Soft
12. low illustrates how current is sunk into the microcontroller to drive the LEDs Current sourcing is possible just as well The resistors limit the current to about 4 mA The preloaded test program described in Section 4 1 outputs a running zero on the port pins P0 4 P0 31 in Copyright 2012 Embedded Artists AB LPC2106 RS232 QuickStart Board User s Guide Page 15 order to create a running one pattern on the LEDs A circuit like the one in Figure 8 below can be used to verify correct operation J2 3 P0 0 IXD 1 P0 1 RXD 2 Po 2C 3 PO 3 I2C SDA4 PO 4 5 PO 6 POG T PO 8 PO 8 9 P09 10 PO 10 11 PO 12 PO 13 P PO 14 gt PO 15 P po 16 17 M R O 19 a N 20 Figure 8 Example LED Driving Copyright 2012 Embedded Artists AB LPC2106 RS232 QuickStart Board User s Guide Page 16 4 Getting Started 4 1 Test program The LPC2106 RS232 QuickStart Board comes preloaded with a test program This program can be used to verify that the board operates correctly A circuit like the one found in Figure 8 can be used to attach LEDs to port pins P0 4 P0 31 Pins P0 0 P0 1 are tested via the serial channel and pins P0 2 P0 3 are tested via the C bus The test program outputs a running zero to port pins P0 4 P0 31 meaning that one LED at a time will light in a running one pattern Also a terminal program should be attached to the RS232 DSUB 9 connector The test program will output test information
13. n external reset source can also control the reset generator Version 1 2 of the board has an updated reset generator based on CAT811S consult the CAT802S datasheet for details Figure 5 below illustrate how an external push button can generate a reset Note that an external driver must be an open collector open drain driver PO 0 TXD i 40 PO PO 1 RXD 2 39 P030 PO 2 I2C 3 38 P0 29 PO 3 I2C SDA 4 37 P028 P0 4 5 36 PO PO 6 35 PO 6 POG 7 34 PO PO 8 33 P024 P0 8 9 32 PO P09 10 31 PO P010 11 30 PO PO 12 29 P0 20 PO 13 28 P0 19 O PO 14 27 P018 3 PO 14 15 26 PO PO 16 25 P0 16 17 24 L 23 5V_INP Ji R Q 19 22 DB SND RES IN 20 21 R K SND Sw TT PUSHBUTTON a LSHIELDY GND Figure 5 Example External Reset Push button 3 3 3 I2C The LPC2106 microcontroller has an on chip 12C communication channel The LPC2106 RS232 QuickStart Board has connected a 256 Kbit E27PROM to this bus More peripheral units are easily connected to the two wire 12C bus Figure 6 below illustrates how a pin expander circuit PCF8574 can be connected to the 12C bus Copyright 2012 Embedded Artists AB LPC2106 RS232 QuickStart Board User s Guide Page 14 No pull up resistors are needed PO 3 I2C SDA DO 2 100 Po 0 TXD 1 40 Po S PO1 RXD 2 39 P030 U1 p PO 2 12C SCL 3 38 P0 29 16 PO 3 12C SDA 4 37 po P0 4 5 36 Po 13 4 P05 6 35 PO 26 5 PO6 7 34 PO 15 6 PO 8 33 PO 7 P08 9 32 PO 9 P0 9 10 31 Po 1 10 P0 10 14 30 PO 11 PO 12 29 PO 20
14. totyping 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 microcontroller 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 Copyright 2012 Embedded Artists AB LPC2106 RS232 QuickStart Board User s Guide Page 7 2 5 2 OEM Education QuickStart Boards and Kits Visit Embedded Artists home page www EmbeddedArtists com for information about other OEM Education QuickStart boards kits or contact your local distributor Copyright 2012 Embedded Artists AB LPC2106 RS232 QuickStart Board User s Guide Page 8 3 Board Design This chapter contains detailed information about the electrical and mechanical design of the LPC2106 RS232 QuickStart Board
15. ware 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 Awww gnu org manual 9 GNU ARM tool chain for Cygwin http www 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 NXP s ARM7 Based Microcontrollers by Trevor Martin http Awvww hitex co uk arm lpc2000book index htm Also 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
16. yright 2012 Embedded Artists AB LPC2106 RS232 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 7 3 Board Design 8 3 1 Board Schematics 8 3 2 Mechanical Dimensions 11 3 3 Examples 11 3 3 1 JTAG 11 3 3 2 Reset 13 33 3 PC 13 3 3 4 SPI 14 3 3 5 LEDs 14 4 Getting Started 16 4 1 Test program 16 4 2 Program Development 16 5 Further Information 17 Copyright 2012 Embedded Artists AB LPC2106 RS232 QuickStart Board User s Guide Page 4 1 Document Revision History Revision Date Description v1 1 rev E 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 LPC2106 RS232 QuickStart Board User s Guide Page 5 2 Introduction Thank you for buying Embedded Artists LPC2106 RS232 QuickStart Board based on NXP s ARM 7TDMI LPC2106 microcontroller This document is a User s Guide that describes the LPC2106 RS232 QuickStart Board design along with the accompanying software and program development tools The document contains information on how to use and integrate the board in your own designs including electrical and mechanical inform
Download Pdf Manuals
Related Search
Related Contents
Specifications Genius ColorPage Interactive WhiteBoard V4.31 Multímetro TRMS Sem Fios highchair Entretien et Nettoyage ブレーカ ズ Chauffe-eau Vaillant MAG® FR 9/2 XZ (N) MODE D`EMPLOI ET Massive Studio Table lamp 83215/21/30 MONTAGE- UND BEDIENUNGSANLEITUNG Copyright © All rights reserved.
Failed to retrieve file