background image

LPC-P1227 development board

USER’S MANUAL

Initial release, March 2012

Designed by OLIMEX Ltd, 2011

All boards produced by Olimex LTD are ROHS compliant

Downloaded from 

Elcodis.com

 

electronic components distributor

 

Summary of Contents for LPC-P1227

Page 1: ...1227 development board USER S MANUAL Initial release March 2012 Designed by OLIMEX Ltd 2011 All boards produced by Olimex LTD are ROHS compliant Downloaded from Elcodis com electronic components distributor ...

Page 2: ...r written permission of the copyright holder 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 docume...

Page 3: ... 3 Introduction to the chapter 9 3 1 Layout top view 9 CHAPTER 4 10 THE LPC1227FBD64 MICROCONTROLLER 10 4 Introduction to the chapter 10 4 1 The microcontroller 10 CONTROL CIRCUITY 12 5 Introduction to the chapter 12 5 1 Reset 12 5 2 Clocks 12 CHAPTER 6 13 HARDWARE 13 6 Introduction to the chapter 13 6 1 PWR Connector 13 6 2 SWD1 connector 13 6 3 SWD2 Header 14 6 4 UEXT 14 6 5 Pads on the proto ar...

Page 4: ...pter 20 7 1 Memory organization 21 CHAPTER 8 22 SCHEMATICS 22 8 Introduction to the chapter 22 8 1 Eagle schematic 22 8 2 Physical dimensions 24 CHAPTER 9 25 REVISION HISTORY 25 9 Introduction to the chapter 25 9 1 Document revision 25 9 2 Web page of your device 25 Page 4 of 25 Downloaded from Elcodis com electronic components distributor ...

Page 5: ... development board enables code development of applications running on the LPC1227 Cortex M0 microcontroller manufactured by NXP Semiconductors 1 1 Features MCU LPC1227 Cortex M0 up to 45Mhz 128 kB Flash 8kB SRAM 2 UARTs SPI I2C 10 bit ADC RS232 Buzzer NOKIA 3310 LCD 12 MHz crystal resonator Power supply circuit Power on LED Debug interface SWD Serial Wire Debug UEXT connector Two user leds Three ...

Page 6: ...apter 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 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 c...

Page 7: ...llic 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 In 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...

Page 8: ...You can connect the board to a PC via RS232 Null modem interface Then start your favourite 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 25 Downloaded from Elcodis com electron...

Page 9: ...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 Page 9 of 25 Downloaded from Elcodis com electronic components distributor ...

Page 10: ... SWD System tick timer Memory 8 kB SRAM 128 kB on chip flash programming memory In System Programming ISP and In Application Programming IAP via on chip bootloader software Includes ROM based 32 bit integer division routines Clock generation unit Crystal oscillator with an operating range of 1 MHz to 25 MHz 12 MHz Internal RC IRC oscillator trimmed to 1 accuracy that can optionally be used as a sy...

Page 11: ... timers or two capture inputs and two match outputs 16 bit timers Windowed WatchDog Timer WWDT IEC 60335 Class B certified Analog peripherals One 8 channel 10 bit ADC 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 Three reduced power modes Sleep Deep sleep and Deep power down Processor w...

Page 12: ...artz crystal locations 5 1 Reset LPC P1227 reset circuit includes R23 10 KΩ R24 330 Ω LPC1227FB064 pin PIN40 PIO0_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 25 Downloaded from Elcodis com electronic components distributor ...

Page 13: ...ipherals are presented Notes regarding the interfaces are given 6 1 PWR Connector Pin Signal Name 1 PWR 2 GND 6 2 SWD1 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 SWD1 Connector Pin Signal Name Pin Signal Name 1 VCC 11 GND 2 VCC 12 GND 3 Not connected 13 SWO 4 GND 14 GND 5 Not connected 15 RST ...

Page 14: ...ontrolled by CLK_ALT CLK_DEF and DIO_ALT DIO_DEF If you set them in _ALT positions the SWD2 would be enabled SWD2 Header Pin Signal Name Pin Signal Name 1 3 3V 6 SWO 2 SWDIO 7 Not connected 3 GND 8 Not connected 4 SWCLK 9 GND 5 GND 10 RST 6 4 UEXT LPC P1227 board has UEXT connector and can interface Olimex s UEXT modules For more information on UEXT please visit http www olimex com dev OTHER UEXT ...

Page 15: ...OLIMEX 2012 LPC P1227 User s Manual Pin Signal Name 1 3 3V 2 GND 3 TXD1 4 RXD1 5 SCL 6 SDA 7 MISO 8 MOSI 9 SCK 10 SSEL Page 15 of 25 Downloaded from Elcodis com electronic components distributor ...

Page 16: ...PIO2_2 P0 29 PIO0_29 P2 3 PIO2_3 P0 28 PIO0_28 P2 4 PIO2_4 P0 27 PIO0_27 P2 5 PIO2_5 P0 26 SWCLK_DEF PIO0_26 P2 6 PIO2_6 P0 25 SWDIO_DEF PIO0_25 P2 7 PIO2_7 P0 24 PIO0_24 P2 8 PIO2_8 P0 23 PIO0_23 P2 9 PIO2_9 P0 22 PIO0_22 P2 10 USER3 PIO2_10 P0 21 PIO0_21 P2 11 USER2 PIO2_11 P0 20 PIO0_20 P2 12 USER1 PIO2_12 P0 19 PIO0_19 P2 13 RES PIO2_13 P0 18 SWCLK_ALT PIO0_18 P2 14 SS PIO2_14 P0 17 MOSI PIO0_...

Page 17: ...0 P0 08 RXD1 PIO0_8 P0 1 RXD0 PIO0_1 P0 07 CTS0 PIO0_7 P0 2 TXD0 PIO0_2 P0 06 RI0 PIO0_6 P0 3 DTR0 PIO0_3 P0 05 DCD0 PIO0_5 P0 4 DSR0 PIO0_4 VREF CMP GND GND row of pads GND GND row of pads 6 6 RS232 Null modem connector Pin Signal 1 DTE_CD 2 DTE_RD 3 DTE_TD 4 DTE_DTR 5 GND 6 DTE_DSR 7 DTE_RTS 8 DTE_CTS 9 DTE_RI Page 17 of 25 Downloaded from Elcodis com electronic components distributor ...

Page 18: ...e moved together with RST_E Default state is open RST_E When closed together with ISP_E enables ISP programming via UART0 Default state is open CLK_ALT CLK_DEF and DIO_ALT DIO_DEF 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 Page 18 of 25 Downloaded...

Page 19: ...ly Default state is closed 6 8 LCD Display Nokia 3310 LCD display 84x48 pixels 38x35 mm 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 25 Downloaded from Elcodis com electronic components distributor ...

Page 20: ...ow 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 strongly recommended to refer to the original datasheet released by NXP for ones of higher quality Page 20 of 25 Downloaded from Elcodis com electronic components distributor ...

Page 21: ...OLIMEX 2012 LPC P1227 User s Manual 7 1 Memory organization Page 21 of 25 Downloaded from Elcodis com electronic components distributor ...

Page 22: ...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 http www olimex com dev LPC P1227 html They are located in HARDWARE section The EAGLE schematic is situated on the next page for quicker reference Page 22 of 25 Downloaded from Elcodis com electronic components distributor ...

Page 23: ...OLIMEX 2012 LPC P1227 User s Manual Page 23 of 25 Downloaded from Elcodis com electronic components distributor ...

Page 24: ...OLIMEX 2012 LPC P1227 User s Manual 8 2 Physical dimensions Note that all dimensions are in inches Page 24 of 25 Downloaded from Elcodis com electronic components distributor ...

Page 25: ...examples 9 1 Document revision Revision Changes Modified Pages A Initial Creation All 9 2 Web page of your device The web page you can visit for more info on your device is http www olimex com dev LPC P1227 html 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 webpa...

Reviews: