Home
LPC-P1227 development board USER`S MANUAL
Contents
1. LPC P1227 development board USER S MANUAL Revision B July 2013 Designed by OLIMEX Ltd 2011 lead free All boards produced by Olimex LTD are ROHS compliant OLIMEXO 2013 LPC P1227 user s manual Disclaimer 2013 Olimex Ltd Olimex logo and combinations thereof are registered trademarks of Olimex Ltd Other terms and product names may be trademarks of others The information in this document is provided in connection with Olimex products No license express or implied or otherwise to any intellectual property right is granted by this document or in connection with the sale of Olimex products This hardware design by Olimex LTD is copyrighted and should NOT be copied The software is released under GPL It is possible that the pictures in this manual differ from the latest revision of the board The product described in this document is subject to continuous development and improvements All particulars of the product and its use contained in this document are given by OLIMEX in good faith However all warranties implied or expressed including but not limited to implied warranties of merchantability or fitness for purpose are excluded This document is intended only to assist the reader in the use of the product OLIMEX Ltd shall not be liable for any loss or damage arising from the use of any information in this document or any error or omission in such information or any incorrect use of the product This evaluation bo
2. s jm Note that the jumper configuration is also printed on the back of the board ISP E This jumper controlls the possibility of the ISP mode via UARTO RS232 supported by the processor It should be moved together with RST E Page 17 of 24 OLIMEXO 2013 LPC P1227 user s manual Default state is open RST E When closed together with ISP E enables ISP programming via UARTO Default state is open CLK ALT CLK DEF and DIO ALT DIO DEF a EV a These jumpers should be moved together and control whether SWD 1 or SWD 2 interface is used for programming When in position ALT SWD 2 will be used Default positions are CLK DEF and DIO DEF MCU E If open disables the supply on the processor Default state is closed am NM 3 3V E If open disables the board s 3 3V power supply Default state is closed 6 8 LCD display Nokia 3310 LCD display 84x48 pixels 38x35 mm Page 18 of 24 OLIMEXO 2013 LPC P1227 user s manual 6 9 Additional hardware components The components below are mounted on LPC P1227 but are not discussed above They are listed here for completeness Buzzer 5 buttons RST button 2LEDs power on LED Page 19 of 24 OLIMEXO 2013 LPC P1227 user s manual CHAPTER 7 MEMORY AND BLOCK DIAGRAM 7 Introduction to the chapter Below is located the block diagram of the processor and on the next page you can find a memory map for this family of processors It is stro
3. Dh pin nera ev DN ERES Erde UE 12 SNB SM 12 SNAM ra MM MCCC pU p NOTTE 12 6 Introduction to the cliapter icit rti e i s etia dpa reve Xp ean deno b ek o ek sa eda Pub eee rae de ob pa d vau vade 13 6 LPWR M Gp dai ERN resero nenoro toos snee aaeeeo ens ootan soinera oies 13 6 2 SW DL COMME CUO sciscsscasacscssievencnecivececdescoucscaciasossaassusuctecsbegendsuseesdadsebeacusesnvensessdeusesssssoveaseaccces 13 DISEASE PATI mm 14 GOA NIEX q UD 14 6 5 Pads omn tlie Proto ARCA cies edieco rei ees ocb bi erac doe sessast ossessi aee c esde Fere ao emi oia eode dere 16 6 6 RS232 Null modeni CONNEC sisi iessssuessssacesessesssicoassnisdensssansseoassecsarssacesadisacsaseacacvaceassdeccaneans 17 6 7 Jumper CESEFIDTION T C M 17 68 LCD Gis Iti c PA 18 6 9 Additional hardware components Lecce eee cete estes seen seen etta eset tn aset tasse tense soon 19 CHAPTER 7 MEMORY AND BLOCK DIAGRAM eeeeeee eee eee eee eee eeees s 20 7 Introduction to the chapter iui Hec cess tio iva ERs Eee poe IEIod Eel Pa el bM RES DANABE E aee PR DNE Rad Dd 20 7 1 Memory OFganiZatiOIk sen resa cot aec keen Eod lee ipn ede PR ae eR e eoe en Evi ae beu Reb Rae te Rae ivo ae eu la Ere R Vo Leu 21 CHAPTER S SCHEMATIGS dedistis teyt eee nete entes padece Ve uin
4. 008 0000 0x5000 0000 0x4008 0000 0x4000 0000 Ox1FFF 2000 Ox1FFF 0000 Ox1FFE 2000 Ox1FFE 0000 Ox1FFC 4000 Ox1FFC 0000 0x1000 2000 0x1000 1000 0x1000 0000 0x0002 0000 0x0001 8000 0x0001 4000 0x0001 0000 0x0000 C000 0x0000 8000 32 kB on chip flash LPC1224 101 x 0x0000 0000 Page 21 of 24 LPC P1227 user s manual 0x5007 0000 7 CRC 0x5003 0000 2 3 Li 0 GPIO PIO2 GPIO PIO1 0x5002 0000 0x5001 0000 GPIO PIOO 0x5000 0000 APB peripherals 0x4008 0000 22 31 reserved 0x4005 8000 211 comparator 0 1 0x4005 4000 201 Bie 0x4005 0000 19 micro DMA registers 0x4004 C000 18 system control 0x4004 8000 16 SSP 0x4004 0000 151 d Sedo C000 141 PMU 0x4003 8000 9 13 reserved 0x4002 4000 0x4002 0000 0x4001 C000 0x4001 8000 0x4001 4000 0x4001 0000 0x4000 C000 0x4000 8000 0x4000 4000 0x4000 0000 32 bit counter timer 1 32 bit counter timer 0 16 bit counter timer 1 16 bit counter timer 0 0x0000 00CO 0x0000 0000 002aaf270 OLIMEXO 2013 LPC P1227 user s manual CHAPTER 8 SCHEMATICS 8 Introduction to the chapter In this chapter are located the schematics describing logically and physically LPC P1227 8 1 Eagle schematic LPC P1227 schematic is visible for reference here You can also find them on the web page for LPC P1227 at our site https www olimex com Products ARM NXP LPC P1227 They are located in HARDWARE section The EAGLE schem
5. 2 MHz crystal resonator Power supply circuit e Power on LED Debug interface SWD Serial Wire Debug UEXT connector Two user leds Three user buttons Reset button e Prototype area FR 4 1 5 mm soldermask component print e Dimensions 80x50mm 3 15 x 1 97 1 2 Organization Each section in this document covers a separate topic organized as follow Chapter 1 is an overview of the board usage and features Chapter 2 provides a guide for quickly setting up the board Chapter 3 contains the general board diagram and layout Chapter 4 describes the component that is the heart of the board the LPC1227FBD64 microcontroller Chapter 5 is an explanation of the control circuitry associated with the microcontroller to Page 5 of 24 OLIMEXO 2013 LPC P1227 user s manual reset Also shows the clocks on the board Chapter 6 covers the connector pinout peripherals and jumper description Chapter 7 shows the processor diagram and memory map Chapter 8 provides the schematics Chapter 9 contains the revision history Page 6 of 24 OLIMEXO 2013 LPC P1227 user s manual CHAPTER 2 SETTING UP THE LPC P1227 BOARD 2 Introduction to the chapter This section helps you set up the LPC P1227 development board for the first time Please consider first the electrostatic warning to avoid damaging the board then discover the hardware and software required to operate the board The procedure to powe
6. WD2 header Note It doesn t have connector mounted if you wish to use 20 pin SWD debugger you have to mount connector yourself Signal between the two SWD interfaces is controlled by CLK ALT CLK DEF and DIO ALT DIO DEF If you set them in ALT positions the SWD2 would be enabled SWD2 header Not connected E Not connected je ND 6 4 UEXT LPC P1227 board has UEXT connector and can interface Olimex s UEXT modules For more information on UEXT please visit https www olimex com Products Modules La os Les Le Page 14 of 24 OLIMEXO 2013 LPC P1227 user s manual Page 15 of 24 OLIMEXO 2013 LPC P1227 user s manual 6 5 Pads on the proto area For your convenience the pads are named individually near each of them Please take extra care about the numbering but consider that there might be offset For full list of pin functions check on the processor data sheet xm mese xm prete Pee fee ea fe RNN La mes em mem ms mms prem mem Loma mea prem mea ms mes res mcn nons ms mecs rem sensn nos me mms rem mem ms mms rem mem Page 16 of 24 OLIMEXO 2013 LPC P1227 user s manual L ma poo nos rese me rne ms eme neo rem mas mes ms eme mes 0 a E owe jeerestms em ow ron of ms 6 6 RS232 Null modem connector Note that the RS232 connector on the board is MALE 3 meme DTE RTS DTE CTS DTE RI 6 7 Jumper description
7. ard kit is intended for use for engineering development demonstration or evaluation purposes only and is not considered by OLIMEX to be a finished end product fit for general consumer use Persons handling the product must have electronics training and observe good engineering practice standards As such the goods being provided are not intended to be complete in terms of required design marketing and or manufacturing related protective considerations including product safety and environmental measures typically found in end products that incorporate such semiconductor components or circuit boards Olimex currently deals with a variety of customers for products and therefore our arrangement with the user is not exclusive Olimex assumes no liability for applications assistance customer product design software performance or infringement of patents or services described herein THERE IS NO WARRANTY FOR THE DESIGN MATERIALS AND THE COMPONENTS USED TO CREATE LPC P1227 THEY ARE CONSIDERED SUITABLE ONLY FOR LPC P1227 Thank you for purchasing LPC P1227 development board assembled by OLIMEX LTD Page 2 of 24 OLIMEXO 2013 LPC P1227 user s manual Table of Contents CHAPTER 1 OVERVIEWN eeeeee eese see oeen eee en sees sesso enses essen essen senses sess ees eenseeseessees D 1 Introduction to the chapter wiscisscccsesssscvsccastivasscaccascssecusssaceversesgascuasdensesscscesasaeisonenscansduasdescasends 5 LT PeatUk S si ci
8. atic is situated on the next page for quicker reference Page 22 of 24 OLIMEXO 2013 LPC P1227 user s manual 8 2 Physical dimensions Note that all dimensions are in inches 20000000000 1Hooooooooo LPC P12 Y g z Rev B c NS Ui ese cie DIO ALT DIO Lco 0i vente Ei o N ci2C Desc ET Hae ae 2 2 a in RST E R2 I 2L COE d Jr E T All dimensions are in inches STATE DESCRIPTION mue LPC122x VDD is not supplied LPC122x UDD is supplied save Board 3 3U Power Supply is enabled Board 3 3U Power Supply is disabled RST E UART RS232 is enabled RST E UART RS232 is disabled oro_ectvorc_oer ies SHD pins lt jumpers default state CLk_ALT CLK_DEF LPC122x is debugged via alternative oro_ctvoro_cer mas SHD pins Page 23 of 24 OLIMEXO 2013 LPC P1227 user s manual CHAPTER 9 REVISION HISTORY 9 Introduction to the chapter In this chapter you will find the current and the previous version of the document you are reading Also the web page for your device is listed Be sure to check it after a purchase for the latest available updates and examples 9 1 Document revision pages Various formatting changes updated Disclaimer removed wrong picture of UART connector made clearer that the UART has a male connector 9 2 We
9. b page of your device The web page you can visit for more info on your device is https www olimex com Products ARM NXP LPC P1227 There you can find more info and some examples ORDER CODES LPC P1227 completely assembled and tested How to order You can order to us directly or by any of our distributors Check our webpage https www olimex com for more info Page 24 of 24
10. cnisinscucisssodensscecsvabasansoassiesteosangetvenpcnestabanaiecpisieesnes sngeusseasedauas avgetouts Kn ue OTU Uu Ra ed ET 5 1 2 NICHIL n 5 CHAPTER 2 SETTING UP THE LPC P1227 BOARD eee eee eee eee ee eee 7 2 Introduction to the CHapter a cce oret eere eL URE LEER DE HERR CR SS USER UEXERE DURER e a Ou beu Up Vasa eR Dee pR p ede bad 7 2 1 Electrostatic Wat cesses amas eios rina vh ER LER eee CURE POSU S APRIRE DER eR ARN DIN CENV LEER Iu eM VES PEE CE UY MEER S ein 7 PLA ligandi CHOPPER PNIS 7 2 3 POWEFIIG CHE DO is Remp 7 2 4 Preb nlt SOfUWaEB inicios eer pne ks cet Lope d aba na oin eg aro dra PRe EDU R ERN EER REA RERO EE UE PREND AN FPES QUA A ON VMa IRE 8 CHAPTER 3 LPC P1227 BOARD DESCRIPTION eee ee eee eee eene eese eese ss D 3 Introduction to the chapter uu cui sess ioo ei doit eth enE ERR UN EM REN boueibessaseasseasdeastaveasiadasses 9 3 1 Layout Lop VIeW erro sccasecsisenisducehetensancsesscukolousdgevsuacsesutdcedarstesbenketeselssstolaveestsasenousnesenenss 9 CHAPTER 4 THE LPC1227FBD64 MICROCONTROLLER 10 4 Introduction to the Chapters scsccsccvescsacossscucsosvsssessscsovecssoasesonssoussenencsatevencvoesseesaeseassorssevebsocavoees 10 4 1 The microcontroller iin eei cete eno ehe IN pue sean oe Eo ens ea Pan ebsdsvasanssdeashelaacsddersavaberceiess 10 5 Introduction to tlie CBapter uie reete odes ce siis ve Veo Dusk subo da eo
11. dept epe e Oe ted 22 8 Introduction to the Chapter sicisscccsesssasesoserosorsscrereusscvesssencdecosencscsusedonscssseveseseaddensssecsesasdssseassacs 22 8 1 Eapleschenmdaticaosese niet iis e Ee Hanh Eius ern e e EUR ES VERE S REA TERRE REOR EUR MENS e ME CRURA ER oed sepa ups 22 8 2 Physical dimensions Sissies edili rear eerta essnee eana rend doe ale Pr Ubera ea raS eud ak bRS 24 Page 3 of 24 OLIMEXO 2013 LPC P1227 user s manual CHAPTER 9 REVISION HISTORY ore eo tens tornano erp oe eaa Seta oer EE ortos pa ty rke e 2D 9 Introduction to the chapter EPOE PEE T AE ERNA eet Dopod esee diee deep oops code ses ev t EERE EA Cu Ei v dava 25 9 1D visi 25 MEUIISISTQP HUNE UIDI 9 2 Web f devi 25 x CD PARE OF YOUN COVICC E Page 4 of 24 OLIMEXO 2013 LPC P1227 user s manual CHAPTER 1 OVERVIEW 1 Introduction to the chapter Thank you for choosing the LPC P1227 development board from Olimex This document provides a User s Guide for the Olimex LPC P1227 development board As an overview this chapter gives the scope of this document and lists the board s features The document s organization is then detailed The LPC P1227 development board enables code development of applications running on the LPC1227 Cortex M0 microcontroller manufactured by NXP Semiconductors 1 1 Features e MCU LPC1227 Cortex MO up to 45Mhz 128 kB Flash 8kB SRAM 2 UARTs SPI I2C 10 bit ADC e RS232 e Buzzer NOKIA 3310 LCD e 1
12. formation is a modified version of the datasheet provided by its manufacturers 4 1 The microcontroller Main processors features e Processor core X ARM Cortex MO processor running at 45 MHz one wait state from flash or 30 MHz zero wait states from flash The LPC122x have a high score of over 45 in CoreMark CPU performance benchmark testing equivalent to 1 51 MHz X ARM Cortex MO built in Nested Vectored Interrupt Controller NVIC X Serial Wire Debug SWD X System tick timer e Memory x 8kBSRAM x 128 kB on chip flash programming memory X In System Programming ISP and In Application Programming IAP via on chip bootloader software x Includes ROM based 32 bit integer division routines Clock generation unit X Crystal oscillator with an operating range of 1 MHz to 25 MHz x 12 MHz Internal RC IRC oscillator trimmed to 1 96 accuracy that can optionally be used as a system clock X PLL allows CPU operation up to the maximum CPU rate without the need for a high frequency crystal May be run from the system oscillator or the internal RC oscillator X Clock output function with divider that can reflect the system oscillator clock IRC clock main clock and Watchdog clock X Real Time Clock RTC Digital peripherals X Micro DMA controller with 21 channels x CRC engine x Two UARTs with fractional baud rate generation and internal FIFO One UART with RS 485 and modem support and one standard UART wit
13. h IrDA SSP SPI controller with FIFO and multi protocol capabilities I2C bus interface supporting full I2 C bus specification and Fast mode Plus with a Page 10 of 24 OLIMEXO 2013 LPC P1227 user s manual data rate of 1 Mbit s with multiple address recognition and monitor mode I2C bus pins have programmable glitch filter X 55 General Purpose I O GPIO pins with programmable pull up resistor open drain mode programmable digital input glitch filter and programmable input inverter X Programmable output drive on all GPIO pins Four pins support high current output drivers All GPIO pins can be used as edge and level sensitive interrupt sources Four general purpose counter timers with four capture inputs and four match outputs 32 bit timers or two capture inputs and two match outputs 16 bit timers X Windowed WatchDog Timer WWDT IEC 60335 Class B certified Analog peripherals X One8 channel 10 bit ADC X Two highly flexible analog comparators Comparator outputs can be programmed to trigger a timer match signal or can be used to emulate 555 timer behavior Power X Three reduced power modes Sleep Deep sleep and Deep power down Processor wake up from Deep sleep mode via start logic using 12 port pins Processor wake up from Deep power down and Deep sleep modes via the RTC Brownout detect with three separate thresholds each for interrupt and forced reset Power On Reset POR x Integrated PMU Power Management Uni
14. ngly recommended to refer to the original datasheet released by NXP for ones of higher quality LPC122x TEST DEBUG INTERFACE ARM CORTEX MO IRC OSCILLATORS MICRO DMA CONTROLLER XTALIN XTALOUT RESET CLOCK GENERATION POWER CONTROL SYSTEM FUNCTIONS clocks and controls 32 48 64 80 B 96 128 kB M ROM FLASH 4 8 kl SRA slave AHB LITE BUS LI slave i slave HIGH SPEED GPIO ports GPIO SCK EE MISO SSP SPI MOSI RXDO ic fue DTRO DSRO CTSO DCDO RIO RTSO UARTI peu A 2 SDA c RXD1 TXD1 RENAT 32 bit COUNTER TIMERO 4 x CAP 32 bit COUNTER TIMER 1 4 x MAT 4 x CAP 16 bit COUNTER TIMERO 46 bit COUNTERITIMER 1 UARTO RS 485 2 x MAT 2 x CAP 2 x MAT 2 x CAP AHB APB CRC BRIDGE ENGINE C e 7 COMPARATORO 1 C WINDOWED WDT IOCONFIG RTC e 32 kHz OSCILLATOR C SYSTEM CONTROL C MICRO DMA REGISTERS Grey shaded blocks represent peripherals with connection to the micro DMA controller 002aaf269 Page 20 of 24 CLKOUT AD 7 0 ACMPO I 3 0 ACMP1_I 3 0 ACMPO O ACMP1 O VREF CMP RTCXOUT RTCXIN OLIMEXO 2013 7 1 Memory organization 4 GB 8 kB SRAM LPC1225 6 7 4kB SRAM LPC1224 LPC122x reserved private peripheral bus reserved AHB peripherals reserved APB peripherals reserved reserved reserved cr a OxFFFF FFFF 0xE010 0000 OxE000 0000 0x5
15. r up the board is given and a description of the default board behavior is detailed 2 1 Electrostatic warning LPC P1227 is shipped in a protective anti static package The board must not be exposed to high electrostatic potentials A grounding strap or similar protective device should be worn when handling the board Avoid touching the component pins or any other metallic element 2 2 Requirements In order to set up and program the LPC P1227 the following items are required A source of power the board can be powered through the PWR jack or through the SWD 1 SWD 2 interface n order to program the board you will need a programmer that supports SWD Serial Wire Debug interface Also a host based software toolchain is required in order to program debug the LPC P1227 board There are also a number of ready IDEs available like IAR Embedded Workbench Rowley CrossWorks Code Composer Studio etc The only low cost Olimex option at the time writing this guide is available if you use Rowley s Crossworks IDE You can get any of our ARM USB debuggers ARM JTAG SWD adapter As of moment of writing this guide OpenOCD 0 5 0 doesn t support SWD flashing 2 3 Powering the board Provide between 5V and 9V to the board s PWR jack OR Connect your SWD debugger Page 7 of 24 OLIMEXO 2013 LPC P1227 user s manual 2 4 Prebuilt software On powering the board the PWR LED should turn on LED1 and LED2 should start blinking alternati
16. t lt x x xX x e Unique device serial number for identification 3 3 V power supply For comprehensive information on the microcontroller visit the NXP web page for a datasheet At the moment of writing the microcontroller datasheet can be found at the following link http ics nxp com products lpc1000 datasheet lpc122x pdf Page 11 of 24 OLIMEXO 2013 LPC P1227 user s manual CHAPTER 5 CONTROL CIRCUITY 5 Introduction to the chapter Here you can find information about reset circuit power circuit and quartz crystal locations 5 1 Reset LPC P1227 reset circuit includes R23 10 KQ R24 330 Q LPC1227FB064 pin PIN40 PIOO 13 RESET and a RESET button 5 2 Clocks 12 MHz quarz crystal Q1 is found at pins 1 and 2 of the processor Real time clock RTC Q2 is connected to pins 57 and 58 of the processor Page 12 of 24 OLIMEXO 2013 LPC P1227 user s manual CHAPTER 6 HARDWARE 6 Introduction to the chapter In this chapter are presented the connectors that can be found on the board all together with their pinout Proto area is shown Jumpers functions are described Notes and info on specific peripherals are presented Notes regarding the interfaces are given 6 1 PWR Connector 6 2 SWDI connector The 20 pin SWD Serial Wire Debug connector provides the interface for SWD programming debugging The pinout can be found in the table below Page 13 of 24 OLIMEXO 2013 LPC P1227 user s manual 6 3 S
17. vely The LCD display shows 6 lines of text You can connect the board to a PC via RS232 Null modem interface Then start your favorite terminal program at 115200 8 N 1 and reset the board A line with the statuses of 4 buttons USER3 USER2 USER1 WAKE UP and ISP E jumper appears Press the buttons to see their state changing or change the jumper position Pressing escape will disconnect the RS232 Page 8 of 24 OLIMEXO 2013 LPC P1227 user s manual CHAPTER 3 LPC P1227 BOARD DESCRIPTION 3 Introduction to the chapter Here you get acquainted with the main parts of the board Note the names used on the board differ from the names used to describe them For the actual names check the LPC P1227 board itself 3 1 Layout top view SWD interface Buzzer WAKE UP button LED1 amp 2 ISP and RST buttons WE SRM ur EOE Dk jfi TSS RESET TTE T TI d id Hi EPEL P1227 Rex B 7 LEOL o ite Ae P219 PR 2r P fiir PZ1ipo28 p2 AnS pZ PASE Pz 41 7 ITEM 1 P6 p 5 sl as ke Dis A n5 RS232 female ic Ee Bie 4 E fa 154 29 ORIA PN PALS v Y C 2011 Dj 6 S ar trp In Jeu Ie se GN PWR ISP_E Jumper RST_E Jumper USER buttons LCD Prototype area Page 9 of 24 OLIMEXO 2013 LPC P1227 user s manual CHAPTER 4 THE LPC1227FBD64 MICROCONTROLLER 4 Introduction to the chapter In this chapter is located the information about the heart of LPC P1227 its microcontroller The in
Download Pdf Manuals
Related Search
Related Contents
Texto completo Hama 00115446 Minolta 7Hi Digital Camera User Manual warning - Sears Canada Copyright © All rights reserved.
Failed to retrieve file