lpc-2378stk development board users manual · introduction: lpc-2378stk is a starter kit which uses...
TRANSCRIPT
LPC-2378STK development board Users Manual
Rev. C, July 2009Copyright(c) 2009, OLIMEX Ltd, All rights reserved
Page 1
INTRODUCTION:
LPC-2378STK is a starter kit which uses Microcontroller LPC2378 from NXP. This microcontroller supports various serial interfaces such as USB 2.0, UART, CAN, etc. In addition you will find also audio input and output, JTAG, Ethernet, TFT display and SD/MMC card holder on this board. All this along allow you to build a diversity of powerful applications to be used in a wide range of situations.
BOARD FEATURES:
− MCU: LPC2378 16/32 bit ARM7TDMI-S™t with 512K Bytes Program Flash, 16K Bytes RAM, EXTERNAL MEMORY BUS, RTC, 4x 10 bit ADC 2.44 uS, 2x UARTs, 4x CAN, I2C, SPI, 2x 32bit TIMERS, 7x CCR, 6x PWM, WDT, 5V tolerant I/O, up to 60MHz operation
− standard JTAG connector with ARM 2x10 pin layout for programming/debugging with ARM-JTAG
− Optional - TRACE connector − 128x128 pixel 12 bit color TFT LCD with backlight − Ethernet 100MBit − MMA7620 3 axis accelerometer − Two RS232 port − Two CAN drivers and connector − SD/MMC card connector − UEXT connector with I2C, SPI, RS232 and power supply for connecting add-on
modules like RF link, MP3, etc available from Olimex − IrDA transceiver on board − Audio in and Audio Out jacks for microphone and headphones − trimpot connected to ADC − RESET circuit with external control of Philips ISP utility via RS232 port − Jumpers for ISP/RUN mode − Joystick with four directions and push action − two USER button − RESET Button − two on board voltage regulators 3V and 5V with up to 800mA current − Extension port connector for many of microcontrollers pins − single power supply: External power supply, USB or JTAG connector − Battery holder and connector for the RTC − power supply led − FR-4, 1.5 mm, red soldermask, component print − Dimensions: 134.60 x 101.27mm (5.3x3.99")
ELECTROSTATIC WARNING:
The LPC-2378STK board is shipped in protective anti-static packaging. The board must not be subject to high electrostatic potentials. General practice for working with static sensitive devices should be applied when working with this board.
BOARD USE REQUIREMENTS:
Cables: You will need different cables depending on the used programming/debugging tool. If you use Olimex's ARM-JTAG, you will need a LPT cable. If you use ARM-USB-OCD or ARM-USB-TINY,
Page 2
you will need USB A-B cable. If you use a software programmer such as FlashMagic, you may need RS232 or other cables.
Hardware: Programmer/Debugger – ARM-JTAG, ARM-USB-TINY or ARM-USB-OCD or other compatible programming/debugging tool.
Software: You can use GCC or other commercial ARM compiler.
PROCESSOR FEATURES:
LPC-2378STK board use microcontroller LPC2378 from NXP with these features:
– ARM7TDMI-S processor, running at up to 72 MHz.
– Up to 512 kB on-chip flash program memory with In-System Programming (ISP) and In-Application Programming (IAP) capabilities. Flash program memory is on the ARM local bus for high performance CPU access.
– 32 kB of SRAM on the ARM local bus for high performance CPU access.
– 16 kB SRAM for Ethernet interface. Can also be used as general purpose SRAM.
– 8 kB SRAM for general purpose DMA use also accessible by the USB.
– Dual Advanced High-performance Bus (AHB) system that provides for simultaneous Ethernet DMA, USB DMA, and program execution from on-chip flash with no contention between those functions. A bus bridge allows the Ethernet DMA to access the other AHB subsystem.
– EMC provides support for static devices such as flash and SRAM as well as off-chip memory mapped peripherals.
– Advanced Vectored Interrupt Controller (VIC), supporting up to 32 vectored interrupts.
– General Purpose AHB DMA controller (GPDMA) that can be used with the SSP serial interfaces, the I2S port, and the Secure Digital/MultiMediaCard (SD/MMC) card port, as well as for memory-to-memory transfers.
– Serial Interfaces:
• Ethernet MAC with associated DMA controller. These functions reside on an independent AHB bus.
• USB 2.0 full-speed device with on-chip PHY and associated DMA controller.
• Four UARTs with fractional baud rate generation, one with modem control I/O, one with IrDA support, all with FIFO.
Page 3
• CAN controller with two channels.
• SPI controller.
• Two SSP controllers, with FIFO and multi-protocol capabilities. One is an alternate for the SPI port, sharing its interrupt and pins. These can be used with the GPDMA controller.
• Three I2C-bus interfaces (one with open-drain and two with standard port pins).
• I2S (Inter-IC Sound) interface for digital audio input or output. It can be used with the GPDMA.
– Other peripherals:
• SD/MMC memory card interface.
• 104 General purpose I/O pins with configurable pull-up/down resistors.
• 10-bit ADC with input multiplexing among 8 pins.
• 10-bit DAC.
• Four general purpose timers/counters with 8 capture inputs and 10 compare outputs. Each timer block has an external count input.
• One PWM/timer block with support for three-phase motor control. The PWM has two external count inputs.
• Real-Time Clock (RTC) with separate power pin, clock source can be the RTC oscillator or the APB clock.
• 2 kB SRAM powered from the RTC power pin, allowing data to be stored when the rest of the chip is powered off.
• WatchDog Timer (WDT). The WDT can be clocked from the internal RC oscillator, the RTC oscillator, or the APB clock.
– Standard ARM test/debug interface for compatibility with existing tools.
– Emulation trace module supports real-time trace.
– Single 3.3 V power supply (3.0 V to 3.6 V).
– Four reduced power modes: idle, sleep, power down, and deep power down.
– Four external interrupt inputs configurable as edge/level sensitive. All pins on PORT0 and PORT2 can be used as edge sensitive interrupt sources.
Page 4
– Processor wake-up from Power-down mode via any interrupt able to operate during Power-down mode (includes external interrupts, RTC interrupt, USB activity, Ethernet wake-up interrupt).
– Two independent power domains allow fine tuning of power consumption based on needed features.
– Each peripheral has its own clock divider for further power saving.
– Brownout detect with separate thresholds for interrupt and forced reset.
– On-chip power-on reset.
– On-chip crystal oscillator with an operating range of 1 MHz to 24 MHz.
– 4 MHz internal RC oscillator trimmed to 1 % accuracy that can optionally be used as the system clock. When used as the CPU clock, does not allow CAN and USB to run.
– On-chip PLL allows CPU operation up to the maximum CPU rate without the need for a high frequency crystal. May be run from the main oscillator, the internal RC oscillator, or the RTC oscillator.
– Boundary scan for simplified board testing.
– Versatile pin function selections allow more possibilities for using on-chip peripheral functions.
Page 5
SCHEMATIC:
Page 8
BAT
_HO
LDER
10k
100n
100n
100n
100n
100n
100n10
0n
100n
100n
100n
100n
22p
22p
15p
15p
100n
100n
100n
100n
100n
100n
NA
NA
100n
47p
47uF
/6.3
V10
0n
47p
100n
100n
18p
18p
100n
100n
47uF
/6.3
V47
0uF/
16V
DC
10uF/16V
1uF
47uF
/6.3
V
47p
47n
100u
F/16
V
47uF
/6.3
V
100n
100n
220u/16/MINI
470p
10u/
6.3V
100n
100n
F
100n
100n
100n
100n
F
100n
F
100n
(NA
)
100n
F4.
7uF
/6.3
V
47uF
/6.3
V
10u/
6.3V
10n
100n
100n
10u/
6.3V
100n
100n
NA
100n
10u/
6.3V
100n
100n
10u/
6.3V
CO
N33
.5M
M
CO
N33
.5M
M
6NC
2-50
MH
z
BA
T54C
1N41
48
1N41
48 1N41
48
1N58
19S
DB
104(
SM
D)
TFD
U41
00
JOY
STI
CK
_MT5
_F
220u
470n
H
FB08
05
FB08
05
RJL
BC
-060
TC1
NO
KIA
6610
_CO
LOR
_LC
D
VIN
+5V
+5V
+5V
+5V +5
V
+5V
+5V
VIN
BL_
PW
RV
IN
BL_
PW
R
2.5V
2.5V
2.5V
2.5V
+5V
+5V
12.0
00M
Hz
3276
8/6p
BC
817
BC
817
100K
100K
10K
240/
1%
0
1k
33k
33K
33k
20K
20K
1k 0
0
0
1K
NA
100K
10k
NA
NA
4.7K 4.7K
4.7K
33 33
1.5k
/1%
10k
2k47
0
470
330
1K
20K
120
4.7K
10K
120
4.7K
10K
4.7K
2K33K
33K
2K
10K
10K
10K
10K
10K
10K
1K
10K
390/
1%
470
33K
470
470K
100K
100
220/
1%
330/
1%
330/
1%
10
33K
1K
2.2
1.2k
/1%
5.6k
/1%
150
1k
2k
330
22N
A
1K
20K
1K
33K
33K
33K
33K
33K
330
330
10k
15 47
10K
1k1k
1k1K
330
NA
330
NA1k
49.9/1%
49.9/1%
330
2K
4.99
k/1%
1.5k
/1%
49.9/1%
49.9
/1%
330
33K
10K
10K
33K
33K
33K
33K
10k
2K
33K
NA
NA
1k1k
1k
1K
3.3K
3.3K
1K
3.3K
3.3K
1K
3.3K
red
SD
-CAR
D
BC
817
BC
817
BC
807
IRLM
6402
LPC
2378
MA
X32
32
MC
3406
3
KS
8721
BL
LM38
6
MC
P25
51
MC
P25
51
MM
A72
60Q
MC
P60
1
US
B_B
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V 3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3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1
L2
L4
L5
AG
AG
AY
AY
CO
M3
KG
KG
KY
KY
NC
6R
D+
7
RD
-8
TD+
1
TD-
275
75
7575
1nF
/2kV
1 4 5 2 3 7 8 6
GR
EE
N
YE
LLO
W
LANC
S5
DIO
3
GN
D8
LED
GN
D9
RE
SE
T2
SC
K4
VD
IGIT
AL
1V
DIS
PLA
Y6
VLE
D10
LCD
MIC
audi
o_ja
ck
PW
RP
WR
_JA
CK
12
34
56
PW
R_S
EL
Q1
Q2
Q3
Q4
R1
R2
R3
R4
R5
R6
R7
R8
R9
R10
R11
R12 R
13
R14
R15
R16
R17
R18 R
19
R20
R21
R22
R23
R24
R25
R26
R27
R28
R29
R30
R31
R32
R33
R34
R35
R36
R37
R38
R39
R40
R41
R42
R43
R44
R45
R46
R47
R48
R49
R50
R51
R52
R53
R54
R55
R56
R57
R58
R59
R60
R61
R62
R63
R64
R65
R66
R67
R68
R69
R70
R71 R
72
R73
R74
R75
R76
R77
R78
R79
R80
R81
R82
R83
R84
R85
R86
R87
R88
R89
R90
R91
R92
R93
R94
R95
R96
R97
R98
R99
R100
R10
1
R10
2
R10
3
R10
4
R105
R10
6
R10
7
R10
8
R10
9R
110
R11
1R
112
R11
3
R11
4
R11
5
R11
6
R11
7
R11
8
R11
9
R12
0R
121
R12
2
R12
3
R12
4R
125
R12
6
R12
7R
128
R129
R130
RE
SE
T
1 2 3 4 5
6 7 8 9G1
G2
RS
232_
0
1 2 3 4 5
6 7 8 9G1
G2
RS
232_
1
12
RS
T_E
RS
T_O
UT
SD
CD
/DA
T3/C
S1
CLK
/SC
LK5
CM
D/D
I2
CP
113
CP
215
DA
T0/D
O7
DA
T1/R
ES
8
DA
T2/R
ES
9
VD
D4
VS
S1
3
VS
S2
6
WP
110
WP
214
SD/M
MC
T1T2
T3
T4
12
34
56
78
910
1112
1314
1516
1718
1920
2122
2324
2526
2728
2930
3132
3334
3536
3738
GND1GND2GND3GND4GND5
TRA
CE
NA
NA
#RE
SE
T24
#RS
TOU
T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24/C
AP
0.1/
PW
M1.
140
P3.
25/M
AT0
.0/P
WM
1.2
39
P3.
26/M
AT0
.1/P
WM
1.3
38
P4.
0/A
052
P4.
1/A
155
P4.
2/A
258
P4.
3/A
368
P4.
4/A
472
P4.
5/A
574
P4.
6/A
678
P4.
7/A
784
P4.
8/A
888
P4.
9/A
991
P4.
10/A
1094
P4.
11/A
1110
1P
4.12
/A12
104
P4.
13/A
1310
8P
4.14
/A14
110
P4.
15/A
1512
0P
4.24
/#O
E12
7P
4.25
/#W
E12
4P
4.28
/MA
T2.0
/TX
D3
118
P4.
29/M
AT2
.1/R
XD
312
2P
4.30
/#C
S0
130
P4.
31/#
CS
113
4
RTC
K14
3
RTC
X1
23
RTC
X2
25
TCK
7
TDI
3
TDO
1
TMS
4
U2D
-37
VB
AT
27
VD
C_D
C3V
3-1
18V
DC
_DC
3V3-
260
VD
C_D
C3V
3-3
121
VD
D-1
41V
DD
-262
VD
D-3
77V
DD
-410
2V
DD
-511
4V
DD
-613
8
VD
D1.
8-1
21V
DD
1.8-
281
VD
D1.
8-3
98
VD
DA
14
VR
EF
17
VS
S-1
22V
SS
-244
VS
S-3
59V
SS
-465
VS
S-5
79V
SS
-610
3V
SS
-711
7V
SS
-811
9V
SS
-913
9
VS
SA
15
X1
31
X2
33
U1
C1+
1
C1-
3
C2+
4
C2-
5
R1I
N13
R1O
UT
12
R2I
N8
R2O
UT
9
T1IN
11T1
OU
T14
T2IN
10T2
OU
T7
V+
2
V-
6
U2
1516
GND
VCC
U2P
WR
DC8
FB5
IS7 SC
1
SE
2TC
3
VCC6VSS
4U3
COL/RMII21CRS/RMII_BTB22
FXS
D/F
XE
N34
GN
D1
8
GN
D2
12
GND323
GN
D4
35G
ND
536
GND639
GND743GND844
INT/
PH
YA
D0
25LE
D0/
TES
T26
LED
1/S
PD
100/
NFE
F27
LED
2/D
UP
LEX
28LE
D3/
NW
AY
EN
29
MD
C2
MD
IO1
PD
#30
REXT37
RST#48
RX
+33
RX
-32
RX
C10
RX
D0/
PH
YA
D4
6R
XD
1/P
HY
AD
35
RX
D2/
PH
YA
D2
4R
XD
3/P
HY
AD
13
RX
DV
/CR
SD
V/P
CS
_LP
BK
9
RX
ER
/ISO
11
TX+41 TX-40
TXC/REFCLK15
TXD017TXD118TXD219TXD320
TXEN16
TXER14
VDDC13
VD
DIO
17
VDDIO224
VDDPLL47
VDDRCV38
VD
DR
X31
VDDTX42
XI46 XO45
U4
3 2
71
8
4
5
6
U5
CA
NH
7
CA
NL
6
RS
8
RX
D4
TXD
1
VD
D3
VR
EF
5
VS
S2U
6
CA
NH
7
CA
NL
6
RS
8
RX
D4
TXD
1
VD
D3
VR
EF
5
VS
S2U
7
#SM
12
G-S
EL1
1
G-S
EL2
2
NC
15
NC
26
NC
37
NC
48
NC
59
NC
610
NC
711
NC
816
VD
D3
VS
S4
XO
UT
15
YO
UT
14
ZOU
T13
U8
3 26
7 4
U9
UE
XT-
1U
EX
T-2
UE
XT-
3U
EX
T-4
UE
XT-
5U
EX
T-6
UE
XT-
7U
EX
T-8
UE
XT-
9U
EX
T-10
1 2 3 4US
B
US
BC
123
USBC/USBSC
US
B_L
INK
AD
J/G
ND
INO
UT
VR
1(3.
3V)
AD
J/G
ND
INO
UT
VR
2(5V
)
12
WP
_E
Z1 Z2
6VA
C9V
DC
1-2
- +5V
_EX
T3-
4 -
+5V_
JLIN
K5-
6 -
+5V_
US
B
LPC
-237
8-ST
KR
ev. C
CO
PY
RIG
HT(
C)
2009
, OLI
ME
X L
td.
http
://w
ww
.olim
ex.c
om/d
ev+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
VD
D
VS
SO
UT
E/D
1-L2
3-R
A<1>
E<2
>
C<3
>
B<4>
Com
mon
<5>
D<6
>
Cent
er p
ush
RJ45 SIDE
1:1
1:1
1-L2
3-R
GN
D
USB SH
IEL
D
POWER SUPPLY CIRCUIT:
LPC-2378STK is powered by 9VDC/6VAC applied at the power jack. LPC-2378STK could also be powered by USB (+5V_USB), JTAG (+5V_JLINK) and a battery (CR2032, Li, 3V) but this battery only powers the 2KB internal SRAM and the RTC (Real Time Clock).
The consumption of LPC-2378STK is about 190 mA.
RESET CIRCUIT:
LPC-2378STK reset circuit is made with R8 (33k) pull-up, capacitor C20(100nF), D3 (1N4148) and the RST button.
CLOCK CIRCUIT:
Quartz crystal Q1 12 MHz is connected to LPC2378 pin 31 (X1) and pin 33 (X2).
Quartz crystal Q2 32.768 kHz is connected to LPC2378 pin 23 (RTCX1) and pin 25 (RTCX2) and supplies the internal Real Time Clock.
JUMPER DESCRIPTION:
- There is jumpers description at our web page - to find it click here
Page 10
INPUT/OUTPUT:
SD/MMC LED (red) with name SD connected to SD/MMC pin 4.
Power-on LED (red) with name PWR – this LED shows that +3.3V is applied to the board.
USB_CONNECTED LED (red) with name USBC – connected to LPC2378 pin 48 (P0.14/U2CONNECT/SSEL1).
USB-UP LED (red) with name USB_LINK – connected to LPC2378 pin 32 (P0.13/U2UP_LED/MOSI1/AD0.7).
User button with name BUT1 connected to LPC2378 pin 42 (P0.29/U1D+).
User button with name BUT2 connected to LPC2378 pin 86 (P0.18/DCD1/MOSI0/MOSI).
Reset button with name RESET connected to LPC2378 pin 24 (#RESET).
Trimpot with name AN_TRIM connected to LPC2378 pin 28 (P1.31/SCK1/AD0.5).
TFT display - 128x128 12 bit color with backlight.
Joystick button with name J1 this is 4 directions plus center button, in the schematic the joystick four directions switches are connected through 33k resistors to LPC2378 pins - 51 (P1.22/MAT1.0) – RIGHT, 61 (P1.27/CAP0.1) – LEFT, 47 (P1.19/CAP1.1) – DOWN, 46 (P1.18/U1UP_LED/PWM1.1/CAP1.0) – UP, the center button is connected to pin 56 (P1.25/MAT1.1).
Page 11
EXTERNAL CONNECTORS DESCRIPTION:
JTAG:
Pin # Signal Name Pin # Signal Name
1 +3.3V 2 +3.3V
3 TRSTN 4 GND
5 TDI 6 GND
7 TMS 8 GND
9 TCK 10 GND
11 RTCK 12 GND
13 TDO 14 GND
15 RSTN 16 GND
17 Pull-down 18 GND
19 +5V_JLINK 20 GND
PWR_JACK:
Pin # Signal Name
1 Power Input
2 GND
Page 12
RS232_0:
Pin # Signal Name
1 Not Connected
2 T2OUT
3 R2IN
4 This signal controls microcontroller reset
signal
5 GND
6 Not Connected
7 This signal controls microcontroller ISP_E
signal
8 Not Connected
9 Not Connected
This is standard DB9 RS232 female type connector.
RS232_1:
Pin # Signal Name
1 Not Connected
2 T1OUT
3 R1IN
4 Not Connected
5 GND
6 Not Connected
7 Not Connected
8 Not Connected
9 Not Connected
Page 13
HEADPHONE:
Pin # Signal Name
1-L Audio Left OUT
2-C GND
3-R Audio Right OUT
This is 3.5 mm Audio jack female connector and work with most standard 3.5 mm jack headphones. Note the signal is Mono i.e. Left and Right channel info is same.
MIC:
Pin # Signal Name
1-L Audio Left IN
2-C GND
3-R Not Connected
IrDA:
Pin # Signal Name
1 +3.3V
2 NC
3 IR_TX (pull-down via R89(10k))
4 IR_RX
5 NC
6 +3.3V
7 NC 3.3V/GND – look at jumper IRDA_LS_E
8 GND
Page 14
SD/MMC:
Pin # Signal Name Pin # Signal Name
1 MCIDAT3 2 MCICMD
3 GND 4 MCIPWR
5 MCICLK 6 GND
7 MCIDAT0 8 MCIDAT1
9 MCIDAT2 10 Pull-up/WP
11 - 12 -
13 Pull-up/CP 14 Pull-down
15 Pull-down
This is standard SD-MMC card connector.
CAN1:
Pin # Signal Name
1 GND
2 CANL
3 CANH
CANL and CANH are either deferential input, or differential output depending on the function of the MCP2551 CAN controller (receiving or transmitting data).
CAN2:
Pin # Signal Name
1 GND
2 CANL
3 CANH
Page 15
EXT1:
Pin # Signal Name Pin # Signal Name
1 RSTN 2 ALARM
3 EXT1_3 4 EXT1_4
5 IR_RX 6 IR_TX
7 EXT1_7 8 EXT1_8
9 EXT1_9 10 EXT1_10
11 EXT1_11 12 EXT1_12
13 EXT1_13 14 EXT1_14
15 EXT1_15 16 EXT1_16
17 EXT1_17 18 EXT1_18
19 EXT1_19 20 EXT1_20
21 EXT1_21 22 EXT1_22
23 EXT1_23 24 EXT1_24
25 EXT1_25 26 LCD_RST
27 EXT1_27 28 EXT1_28
29 EXT1_29 30 EXT1_30
31 EXT1_31 32 EXT1_32
33 EXT1_33 34 EXT1_34
35 EXT1_35 36 EXT1_36
37 VIN 38 +5V
39 3.3V 40 GND
Page 16
EXT2:
Pin # Signal Name Pin # Signal Name
1 P0.6/SSEL1 2 P0.7/SCK1
3 P0.8/MISO1 4 P0.9/MOSI1
5 TXD2 6 RXD2
7 Z_OUT 8 USB_LINK
9 USB_CONNECT 10 TXD1
11 RXD1 12 CP
13 WP 14 AIN5
15 X_OUT 16 AOUT
17 G_SEL2 18 PHY_INT
19 MISO0 20 LCD_BL
21 +5V_USB 22 VIN
23 Y_OUT 24 ISP_E
25 MCIDAT1 26 MCIDAT2
27 MCIDAT3 28 P2.9
29 P2.8 30 P2.7
31 P2.6 32 P2.5
33 P2.4 34 P2.3
35 P2.2 36 P2.1
37 P2.0 38 +5V
39 3.3V 40 GND
Page 17
UEXT:
Pin # Signal Name
1 +3.3V
2 GND
3 TXD2
4 RXD2
5 SCL0
6 SDA0
7 P0.8/MISO1
8 P0.9/MOSI1
9 P0.7/SCK1
10 P0.6/SSEL1
USB:
Pin # Signal Name
1 +5V_USB
2 U2D-
3 U2D+
4 GND
U1D-, U1D+ I/O This signals form the differential input/output depending on the direction of the data transfer.
BAT
Pin # Signal Name
1 2V - 3.6V
2 GND
Page 18
LAN:
Pin # Signal Name Chip Side Pin # Signal Name Chip Side
1 TD+ 5 Not Connected (NC)
2 TD- 6 Not Connected (NC)
3 2.5V 7 RD+
4 Not Connected (NC) 8 RD-
LED Color Usage
Right Yellow Activity
Left Green 100MBits/s (Half/Full duplex)
TD- Output Differential signal output. This signal is output from the MCU.
TD+ Output Differential signal output. This signal is output from the MCU.
RD- Input Differential signal input. This signal is input for the MCU.
RD+ Input Differential signal input. This signal is input for the MCU.
TRACE (optional):
The TRACE connector allows you to trace the execution of the programs.
Page 19
AVAILABLE DEMO SOFTWARE :
– AudioDevice_demo
– GettingStarted_demo
– LCD_Demo
– MassStorage_demo
– simple_demo
– uip_webserver_demo
– USBMouse_demo
– VirtualCom_demo
Page 21
ORDER CODE:
LPC-2378STK – assembled and tested (no kit, no soldering required)
How to order? You can order to us directly or by any of our distributors. Check our web www.olimex.com/dev for more info.
All boards produced by Olimex are RoHS compliant
Revision history:
REV.C - created July 2009
Page 22
Disclaimer:
© 2009 Olimex Ltd. All rights reserved. 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. Neither the whole nor any part of the information contained in or the product described in this document may be adapted or reproduced in any material from except with the prior 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 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.
Page 23