Propox EVBlpc213 Series User manual

Evaluation Bard for MMlpc213x minimodule
User
Manual
REV 0.8
rterKitsEmbeddedWebServ
e
PICmicrocontrollersSt
a
-
sfor‘51,AVR,S
T
,
ationBoar
d
Evalu
rsPrototypingBoardsMinimod
-
Microprocesorsystems,PCB
AVR,PIC,STmicrocontrollers
edInSystemprogrammersfor
netcontrollers,RFIDHighSpe
-
ulesformicrocontrollers,ether-
designingEvaluationBoardsfo
r
ethernetcontrollers,RFIDHigh
nimodulesformicrocontrollers,
ServersPrototypingBoardsmi
-
lersStarterKitsEmbeddedWe
b
‘51,AVR,ST,PICmicrocontrol-
SpeedInSystemsprogramme-
rocontrollersStarterKitsEmbe
-
ardsfor`
51,AVR,ST,PICmic-
PCBdesigningEvaluationBo-
ollersMicroprocesorsystems,
rsforAVR,PIC,STmicrocontrl
-
ddedWebSerwersPrototyping
mersforAVR,PIC,STmicroco
-
HighSpeedInSystemprogra
m
-
controllers,ethernetcontrollers
,
BoardsMinimodulesformicro-
c
ontrollersMicroprocesor
B
oards
n
ingEvaluatio
n
S
ystems,PCBDesig
-
R
Many ideas one solution

Contents
1 INTRODUCTION ....................................................................................................................................... 3
F
EATURES
.................................................................................................................................................... 3
2THE BOARD.......................................................................................................................................... 4
P
LACEMENT OF ELEMENTS ON THE BOARD
................................................................................................. 4
A
RRANGEMENT OF LEAD
-
OUTS
.................................................................................................................... 5
B
OARD CONFIGURATION
.............................................................................................................................. 6
B
OARD SUPPLY
............................................................................................................................................ 7
LED
DIODES
................................................................................................................................................. 7
P
USH
-
BUTTONS
............................................................................................................................................ 8
LCD
DISPLAY
............................................................................................................................................... 8
P
OTENTIOMETERS
........................................................................................................................................ 9
B
UZZER
........................................................................................................................................................ 9
RESET
BUTTON
.......................................................................................................................................... 9
RS-232
INTERFACES
................................................................................................................................. 10
1-W
IRE INTERFACE
.................................................................................................................................... 10
JTAG
CONNECTOR
.................................................................................................................................... 11
3TECHNICAL ASSISTANCE ............................................................................................................. 12
4GUARANTEE ...................................................................................................................................... 12
5BOARD LAYOUT AND DIMENSIONS ........................................................................................... 13
6SCHEMATIC........................................................................................................................................ 13

3
1 Introduction
The EVBlpc213x board was created with the aim of providing a hardware base for a designer of
systems relying on the MMlpc213x minimodule, allowing to realize and verify quickly one’s own
ideas. Having this in mind, the board has been designed in such a way that the user has access
to all terminals of the module which are led out to connectors. The board houses also such
peripherals as: LEDs, push-buttons, potentiometers, a LCD display, a RS232 interfaces, and a 1-
Wire connector. All these elements are accessible through pin connectors, permitting their
connection with any processor port. The board has also a large prototype area which permits the
designer to connect other elements in any configuration. Due to the incision (v-cut) between the
prototype area and the rest of the board, the prototype part can be broken off. The board contains
also a power supply which relieves the user from the need to provide a regulated supply voltage.
Together with the board, we deliver GCC compiler as well as demonstration software.
The EVBlpc213x along with the MMlpc213x minimodule can be also used in didactic laboratories
of informatics colleges and universities. It can be also used to build circuits realizing thesis
projects.
We wish you nothing but success and a lot of satisfaction in designing and
developing new electronic equipment based on the EVBlpc213x board and
the MMlpc213x minimodule.
Features
•Socket for the MMlpc213x module
•Connector with all terminals of the MMlpc213x module
•Connectors of all peripherals accessible on board
•Power supply
•Power switch
•Two RS232 ports
•1-Wire connector
•JTAG connector for in system programming and debugging
•connector for 2x16 LCD display
•8 LED diodes
•4 push-buttons
•2 potentiometers
•Buzzer
•Prototype design area

4
2 The Board
Placement of elements on the board
Figure 1 Placement of elements on the EVBlpc213x board.
1. Prototype area
2. Connector with led-out MMlpc213x module terminals
3. RS232 0 connector
4. RS232 1 connector
5. Supply connector
6. Power switch
7. JTAG connector for in system programming/debugging
8. LCD display
9. LED diodes
10. Push-buttons
11. Potentiometers
12. RESET button
13. 1-Wire connector
14. Peripheral connectors
15. Buzzer
16. MMlpc213x module

5
Arrangement of lead-outs
Function in MMlpc213x
Name
Name
Function in MMlpc213x
P1.29
1 2 P0.20
P0.19
3 4 P0.18
P1.30
5 6 VBAT
P1.20
7 8 P0.17
P0.16
9 10 P0.15
P1.21
11 12 P0.14
P1.22
13 14 P0.13
P0.12
15 16 P0.11
P1.23
17 18 P0.10
P0.9
19 20 P0.8
P1.24
21 22 P0.7
DataFlash – #CS
DataFlash - MOSI
P0.6
23 24 P0.5
DataFlash – MISO
P1.25
25 26 P0.4
DataFlash – SCK
P0.23
27 28 #RESET
P1.27
29 30 P1.28
P0.22
31 31 P0.21
P1.18
33 34 P1.19
P0.26
35 36 P0.25
P1.17
37 38 P0.27
P0.29
39 40 P0.28
P1.16
41 42 P0.30
P0.0
43 44 P0.31
P0.1
45 46 P1.31
P1.26
47 48 P0.2
+3.3V
49 50 P0.3
+5V
51 52 GND

6
Board configuration
EVBlpc213x board has eleven configuration jumpers. Correct jumper settings are necessary for proper board
operation. Placement of jumpers on the board and their description is shown below.
Figure 2 Placement of configuration jumpers.
Jumpers description:
No Default
setting Description
JP11 Closed
+5V supply voltage for MMlpc213x minimodule.
This jumper allows measurement of current drawn by minimodule.
During normal operation this jumper should be closed.
JP10 Closed
Power supply for Real Time Clock in LPC213x microcontroller.
If on minimodule is not mounted battery, this jumper should be closed.
If minimodule has mounted battery this jumper must be opened.
JP8
JP7
Closed
Closed
Jumpers connecting RxD (JP8) and TxD (JP7) lines of RS232 0 transceiver with
microcontrollers P0.1 and P0.0 lines (microcontrollers UART0 port).
JP2
JP3
JP4
JP5
Opened
Opened
Opened
Opened
Jumpers connecting RxD (JP2), TxD (JP3), RTS (JP4) and CTS (JP5) lines of
RS232 1 transceiver with microcontrollers P0.9, P0.8, P0.10 and P0.11 lines
(microcontrollers UART0 port).
JP9 Closed Closed jumper during reset turns on JTAG interface.

7
JP1
JP6
Closed
Closed
Closing these jumpers allows in system programming of microcontroller memory via
RS232 port (with use of Philips LPC Flash Utility).
J1 +5V supply voltage for external use.
J15 +3.3V supply voltage for external use.
J14 Ground.
Board supply
The EVBlpc213x board can be supplied from an external power supply with an output of 7-12 V AC or 9-15 V
DC, having a standard plug with a bolt diameter of 2.1 mm, connected to supply socket J3. In case of a DC
supply voltage its polarity is irrelevant.
Regulated +5V and +3.3V voltages are led to J1 (+5V) and J15 (+3.3V) connectors, ground to J14.
+
C8
470u/25V
D2
1N4148
C13
100n
C12
100n
-+
2
1
3
4
BR1
RB152
1
2
3
J3
POWER
Vin Vout
GND
7805U4
+5V
+
C11
47u/16V
SW1
D11
PWR
R22
470R
GND
Figure 3 Implementation of the power supply on the EVBlpc213x board.
LED diodes
The EVBlpc213x has 8 LED diodes which play the role of the simplest interface between the system and the
user. The board is constructed in such a way that it allows any connection between the diodes and
microcontroller leads. A diode lights up when a low signal level is applied to appropriate leads. The LED
current flowing into the microcontroller pin is about 3.5mA.
D9 LED1
D10 LED0
D8 LED2
D7 LED3
D6 LED4
D5 LED5
D4 LED6
D3 LED7
R15 470R
R13 470R
R14 470R
R12 470R
R11 470R
R10 470R
R9 470R
R8 470R
+3.3V
1 2
3 4
5 6
7 8
J10
LEDn
Figure 4 Implementation of LED diodes.

8
Push-buttons
The EVBlpc213x board is equipped with four microswitches which can be connected to any lead of the
microcontroller. Pushing a button causes a low state on any port terminal.
R19
10k
R18
10k
R17
10k
R16
10k
+3.3V
SW0
SW1
SW2
SW3
GND
1 2
3 4
J12
SWn
Figure 5 Implementation of push-buttons.
LCD display
MMlpc213x has place for standard 2x16 characters LCD display with HD44780 compatible controller. Display
terminals D4-D7, RS, E, contrast and backlight are led to LCD connector J7. LCD connector is designed in
this way, that it is possible to connect contrast signal to onboard potentiometer with use of jumpers, or with
use of wire to any microcontroller pin, that can generate PWM (through RC low pass filter, which can be built
on prototype area). Similarly, LCD backlight can be permanently turned on by closing jumper, or can be
controlled by any microcontroller pin.
Because LCD connector contains only higher part of display bus, it has to work 4-bit mode. Also, RW line is
permanently connected to ground, what allows only read operation, but it is sufficient to proper operation.
Such approach minimizes required microcontroller port pins to six.
Figure 6 Default LCD configuration
– backlight permanently turned on,
contrast regulated with R5
potentiometer.
C15
100n
GND
+5V
+5V
GND
R4
7k5 LCD_RS
LCD_RW
LCD_E
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
J11
LCD 2x16
Vc
D0
D1
D2
D3
D4
D5
D6
D7
GND
+5V
A
K
+5V
Q2
BC 817
GND
R24
1k
1 2
3 4
5 6
7 8
9 10
J7
+5V
R5
1k
CONTRAST
LGT
GND
Figure 7 Connection of LCD display on the board.

9
Potentiometers
EVBlpc213x has two potentiometers, POT0 and POT1. The potentiometers can be used to simulate the
outputs of analog circuits. The voltage across POTx terminals can be adjusted in the 0...3.3V range.
10k
1 3
2
R20
ADJ1
GND
10k
1 3
2
R21
ADJ0
1 2
3 4
J13
+3.3V
Figure 8 Implementation of potentiometers.
Buzzer
The board has a built-in acoustic signaler, controlled by a logic low state through a transistor. The base of the
transistor is connected to connector J13 as SPK.
LS1
BUZZER
Q1
BC 857
C17
100n
GNDGND
1 2
3 4
J13
R6
10k
R23
10k
+3.3V
Figure 9 Implementation of the Buzzer.
RESET button
The EVBlpc213x board is equipped with an on-board resetting button; by pressing it we force a low state on
the RESET terminal of the module.
#RESET
SW6
RESET
GND
Figure 10 Implementation of the RESET push-button.

10
RS-232 interfaces
EVBlpc213x has two RS232 ports with DB-9 connector. TxD and RxD lines (and also RTS and CTS for port 1)
are led to jumpers through MAX3232 transceiver.
Stuffing jumpers causes connection of TxD and RxD signals to microcontrollers UART0 or UART1 ports.
RS232 signals can also be connected to any microcontroller’s pins with use of wires. Drawing below shows
implementation of RS232 ports.
13
10
11
8
12
9
14
7
C1+ 1
C2+ 4
GND 15
C1- 3
VCC
16
C2- 5
V-
6
V+
2
U1
MAX3232CSE
RX0
TX0
GNDGND
13
10
11
8
12
9
14
7
C1+ 1
C2+ 4
GND 15
C1- 3
VCC
16
C2- 5
V-
6
V+
2
U2
MAX3232CSE
RTS1
CTS1
RX1
TX1
RX1
CTS1
RTS1
TX1
GNDGND
1
6
2
7
3
8
4
9
5
J5
DB9F +3.3V+3.3V+3.3V+3.3V
+3.3V +3.3V
+3.3V
+3.3V
GND
GND
GND
1
6
2
7
3
8
4
9
5
J8
DB9F
GND
GND
GND
RS-232 0RS-232 1
D15
CTS1
D16
RXD1
D17
RTS1
D18
TXD1
D13
RXD0
D14
TXD0
RS232_1_TXD
RS232_1_RTS
RS232_1_RXD
RS232_1_CTS
RS232_0_TXD
RS232_0_RXD
P0.0
P0.1
JP4
JP2
JP5
JP3 P0.8
P0.9
P0.10
P0.11
JP7
JP8
R27
220R
R28
330R
R29
220R
R30
220R
R31
330R
R32
330R
C9
100n
C6
100n
C7
100n
C5
100n
C4
100n
C2
100n
C3
100n
C1
100n
C10
100n
C14
100n
GND
GND
Figure 11 Connection of RS-232 ports to MMlpc213x.
1-Wire interface
The EVBlpc213x board has a 1-Wire bus connector. This connector can be used to connect e.g. a digital
DS1820 thermometer or Dallas/Maxim iButton reader from. The data signal has been applied to the J13
connector and designated as 1-W. It can be connected to any microcontroller lead-out by means of the
attached cable.

11
V TG
DATA
GN D
1
1WIRE
+3.3V
GND
1
2
3
J2
1-WIRE
+3.3V
1 2
3 4
J13
R2
2k2
R1
100R
Figure 12 Connection of the 1-Wire connector.
JTAG connector
Programming/debugging of module can be done through JTAG interface.
JTAG is a four-lead interface permitting the takeover of control over the processor’s core. The possibilities
offered by this interface are, among others: step operation, full-speed operation, hardware and software
breakpoints, inspection and modification of contents of registers and data memories.
EVBlpc213x board has standard, 20-pin connector, allowing operation with all JTAG debuggers.
Figure 13 JTAG connector.
Pin descriptinon
VCC Supply voltage to the emulator
Vref Target voltage sense
TRST Tap RESET, RESET signal for JTAG chain
TDI Test Data Input, data signal from debugger to
target
TMS Test Mode Select, mode select signal from
emulator to target
TCK Test Clock, clock signal from emulator to target
TDO Test Data Output, data signal from target to
debugger.
SRST Target RESET signal
GND Ground

12
1 2
3 4
5 6
7 8
9 10
11 12
13 14
15 16
17 18
19 20
J9
Header 10X2
VTref
nTRST
TDI
TMS
TCK
RTCK
TDO
nSRST
DBGRQ
DBGACK
Vsupply
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
P1.27
P1.28
P1.29
#RESET
P1.31
P1.26
P1.30
JTAG EN R35
10k
GND
R34
10k
GND
R37
10k
R38
10k
R39
10k
R40
10k
R41
10k
JP9
R33
10k
GND
GND
+3.3V
+3.3V
Figure 14 Connection of JTAG socket on EVBlpc213x.
JTAG programmer/debugger may be found on page:
- ARMCable I: http://www.propox.com/products/t_122.html
3 Technical assistance
In order to obtain technical assistance please contact support@propox.com . In the request please
include the following information:
•Number of the board version (e.g. REV 1)
•Used JTAG interface
•A detailed description of the problem
4 Guarantee
The MMlpc213x minimodule and EVBlpc213x board are covered by a six-month guarantee. All faults and
defects not caused by the user will be removed at the Producer’s cost. Transportation costs are borne by the
buyer.
The Producer takes no responsibility for any damage and defects caused in the course of using the
MMlpc213x or EVBlpc213x.

13
5 Board layout and dimensions
6 Schematic

14
Sheet 1 of 1 1.00
http://www.propox.com
email: support@propox.com
Size: File: Rev:
Date: 9-05-2005
Title: EVBlpc213x
#RESET
SW6
RESET
GND
LS1
BUZZER
Q1
BC 857
C17
100n
GNDGND
+3.3V
D9 LED1
D10 LED0
D8 LED2
D7 LED3
D6 LED4
D5 LED5
D4 LED6
D3 LED7
C15
100n
GND
+5V
+5V
GND
1
2
3
J2
1-WIRE
10k
1 3
2
R20
ADJ1
GND
10k
1 3
2
R21
ADJ0
GND
#RESET
+5V
GND
R15 470R
R13 470R
R14 470R
R12 470R
R11 470R
R10 470R
R9 470R
R8 470R
+3.3V
R19
10k
R18
10k
R17
10k
R16
10k
+3.3V
SW0
SW1
SW2
SW3
GND
1 2
3 4
J12
1 2
3 4
5 6
7 8
J10
1 2
3 4
J13
R2
2k2
R1
100R
R6
10k
R4
7k5
JP11
R23
10k
LCD_RS
LCD_RW
LCD_E
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
J11
LCD 2x16
Vc
D0
D1
D2
D3
D4
D5
D6
D7
GND
+5V
A
K
+5V
Q2
BC 817
GND
R24
1k
1 2
3 4
5 6
7 8
9 10
J7
+5V
R5
1k
CONTRAST
LGT
GND
P1.16/TRACEPKT0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3/CAP0.0
J1_16
P0.31
J1_18
RESET
J1_2
GND
J1_26
+3.3V
J1_23
VCC
J1_25
VBAT J2_6
M1
MMlpc213x
P0.0
P1.27
P1.28
P0.22
P0.21
P1.18
P1.19
P0.26
P0.25
P1.17
P0.27
P0.29
P0.28
P1.16
P0.30
P0.31
P0.1
P1.31
P1.26
P0.2
P0.3
P0.23
P0.9
P0.12
P0.11
P1.23
P0.10
P0.8
P1.24
P0.7
P0.6
P0.5
P1.25
P0.4
P1.20
P0.19
P0.18
P1.30
VBAT
P0.17
P0.16
P0.15
P1.21
P0.14
P1.22
P0.13
P1.29
P0.20
P0.0
P0.1
P0.2
P0.3
P0.21P0.22
P0.23
P0.25P0.26
P0.27
P0.28P0.29
P0.30
P0.31
P1.16
P1.17
P1.18 P1.19
P1.26
P1.27 P1.28
P1.31
GND
+3.3V
#RESET
+5V
1 2
3 4
5 6
7 8
9 10
11 12
13 14
15 16
17 18
19 20
21 22
23 24
25 26
J4
Header 13X2
+
C8
470u/25V
D2
1N4148
C13
100n
C12
100n
-+
2
1
3
4
BR1
RB152
1
2
3
J3
POWER
Vin Vout
GND
7805U4
+5V
+
C11
47u/16V
SW1
POWER
D11
PWR
R22
470R
GND
GND
GND
+5V
+5V
1
2
J14
1
2
J1
13
10
11
8
12
9
14
7
C1+ 1
C2+ 4
GND 15
C1- 3
VCC
16
C2- 5
V-
6
V+
2
U1
MAX3232CSE
RX0
TX0
GNDGND
13
10
11
8
12
9
14
7
C1+ 1
C2+ 4
GND 15
C1- 3
VCC
16
C2- 5
V-
6
V+
2
U2
MAX3232CSE
RTS1
CTS1
RX1
TX1
RX1
CTS1
RTS1
TX1
GNDGND
1
6
2
7
3
8
4
9
5
J5
DB9F
MH1 MH2 MH4 MH5 MH3 MH6
GND GND GND GND
R25
33k
Q3
BC 847
D1
LL4148
R3
10k
GND GND
+3.3V
+3.3V
R26
33k
Q4
BC 847
D12
LL4148
R7
10k
GND GND
+3.3V
+3.3V+3.3V+3.3V+3.3V
+3.3V +3.3V
+3.3V
+3.3V
GND
GND
GND
1
6
2
7
3
8
4
9
5
J8
DB9F
GND
GND
GND
1 2
3 4
5 6
7 8
9 10
11 12
13 14
15 16
17 18
19 20
J9
Header 10X2
VTref
nTRST
TDI
TMS
TCK
RTCK
TDO
nSRST
DBGRQ
DBGACK
Vsupply
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
+3.3V
RS-232 0RS-232 1
+3.3V
+3.3V
1
2
J15
D15
CTS1
D16
RXD1
D17
RTS1
D18
TXD1
D13
RXD0
D14
TXD0
RS232_1_TXD
RS232_1_RTS
RS232_1_RXD
RS232_1_CTS
RS232_0_TXD
RS232_0_RXD
P0.0
P0.1
JP4
JP2
JP5
JP3 P0.8
P0.9
P0.10
P0.11
JP7
JP8
JP1
P0.14
JP6
#RESET
R27
220R
R28
330R
R29
220R
R30
220R
R31
330R
R32
330R
C9
100n
C6
100n
C7
100n
C5
100n
C4
100n
C2
100n
C3
100n
C1
100n
P1.27
P1.28
P1.29
#RESET
P1.31
P1.26
P1.30
+3.3V
C10
100n
C14
100n
GND
GND
JTAG EN
ISP RSTISP EN
R35
10k
GND
R34
10k
GND
+3.3V+3.3V
JP10
VBAT R36
100R +3.3V
R37
10k
R38
10k
R39
10k
R40
10k
R41
10k
JP9
R33
10k
GND
GND
+3.3V
+3.3V
P0.4
P0.5P0.6
P0.7
P0.8P0.9
P0.10
P0.11P0.12
P0.13
P0.14
P0.15P0.16
P0.17
P0.18P0.19
P0.20
P1.20
P1.21
P1.22
P1.23
P1.24
P1.25
P1.29
P1.30
1 2
3 4
5 6
7 8
9 10
11 12
13 14
15 16
17 18
19 20
21 22
23 24
25 26
J6
Header 13X2
VBAT
+3.3V
Table of contents
Other Propox Motherboard manuals