LPC-2478STK is a starter kit which uses MCU LPC2478 from NXP. This powerful MCU supports various serial interfaces such as USB host, USB device, UART, CAN, etc. In addition you will find also audio input and output as well as MP3 decoder, digital accelerometer, JTAG, Ethernet, touchscreen
TFT display and SD/MMC card connector on this board. All this along with the ARM7TDMI-S
™
architecture and uC Linux allow you to build a diversity of powerful applications to be used in a wide range of situations.
−
−
−
−
−
−
−
−
−
−
−
−
−
−
−
−
−
−
−
−
−
−
−
−
MCU: LPC2478
LCD 3.5'' 320x 24-bit color TFT with backlight and touchscreen
MP3 decoder DSP + codec VS1002D
3-axis digital accelerometer with 11-bit accuracy
64 MB SDRAM
USB host connector
USB device connector
IrDA transceiver (optional)
MICTOR Trace connector (optional)
PS2 keyboard connector
100Mbit Ethernet
CAN driver and connector
RS232 with ICSP control
SD/MMC card connector
JTAG connector
Reset button and circuit
2 buttons
1 trimpot
UEXT connector
Audio IN
Audio OUT
RTC battery
FR-4, 1.5 mm, red soldermask, component print
Dimensions: 134.6x101.5mm (5.3x4.0'')
The LPC-2478STK 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.
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, 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:
The board comes pre-loaded with Uboot and the CD contains ucLinux image you can copy to USB flash disk and boot. You can use GCC or other commercial ARM compiler if you want to develop without uclinux RTOS.
LPC-2478STK
board use MCU
LPC2478
from NXP with these features:
ARM7TDMI-S processor, running at up to 72 MHz.
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.
98 kB on-chip SRAM includes:
64 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.
16 kB SRAM for general purpose DMA use also accessible by the
USB.
2 kB SRAM data storage powered from the RTC power domain.
LCD controller, supporting both Super-Twisted Nematic (STN) and
Thin-Film Transistors (TFT) displays.
Dedicated DMA controller.
Selectable display resolution (up to 1024 × 768 pixels).
Supports up to 24-bit true-color mode.
Dual Advanced High-performance Bus (AHB) system allows simultaneous Ethernet DMA, USB DMA, and program execution from on-chip flash with no contention.
EMC provides support for asynchronous static memory devices such as RAM, ROM and flash, as well as dynamic memories such as Single
Data Rate SDRAM.
Advanced Vectored Interrupt Controller (VIC), supporting up to 32 vectored interrupts.
General Purpose AHB DMA controller (GPDMA) that can be used with and SD/MMC interface as well as for memory-to-memory transfers.
Serial Interfaces:
Ethernet MAC with MII/RMII interface and associated DMA
-
controller. These functions reside on an independent AHB.
USB 2.0 full-speed dual-port device/host/OTG controller 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.
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. SSPs 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.
160 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.
Two PWM/timer blocks with support for three-phase motor
control. Each PWM has an external count inputs.
Real-Time Clock (RTC) with separate power domain. 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.
Single 3.3 V power supply (3.0 V to 3.6 V).
4 MHz internal RC oscillator trimmed to 1 % accuracy that can optionally be used as the system clock.
Three reduced power modes: idle, sleep, and power-down.
Four external interrupt inputs configurable as edge/level sensitive. All pins on port 0 and port 2 can be used as edge sensitive interrupt sources.
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, CAN bus activity, port 0/2 pin interrupt).
Two independent power needed features.
Each peripheral has its own clock divider for further power saving.
These dividers help reduce active power by 20 % to 30 %.
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.
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 onchip peripheral functions.
Standard ARM test/debug interface for compatibility with existing tools.
Emulation trace module supports real-time trace.
LPC-2478STK
is powered by +(9-12)VDC/6VAC applied at the power jack.
LPC-2478STK could also be powered by a battery (CR2032, Li, 3V) but this battery only powers the 2KB internal SRAM and the RTC (Real Time Clock).
The consumption of LPC-2478STK varies depending on the supplied power but at +10VDC it is about 250mA.
LPC-2478STK
reset circuit is made with R68(47k) pull-up, capacitor
C20(100nF) and the RST button.
Quartz crystal 12 MHz is connected to LPC2478 pin 44 (XTAL1) and pin 46
(XTAL2).
Quartz crystal 32.768 kHz is connected to LPC2478 pin 34 (RTX1) and pin
36 (RTX2) and supplies the internal Real Time Clock.
CAN Disable. If this jumper is closed, the CAN is disabled.
Default state is open.
This jumper assures correct work of the CAN. At each end of the bus it should be closed. This means that if you have only two devices with
CAN, the jumpers of both devices should be closed. If you have more than two devices, only the two end-devices should be closed.
Default state is closed.
This jumper, when closed, supplies -10 V voltage to the on board
LCD panel.
Default state is closed.
15V_E
This jumper, when closed, supplies 15 V voltage to to the on board
LCD panel.
Default state is closed.
3.3V_E
This jumper, when closed, supplies 3.3 V voltage to the VDD1-10 pins of the MCU.
Default state is closed.
3.3VA_E
This jumper, when closed, supplies 3.3 V voltage to the VDDA pin of the MCU.
Default state is closed.
VREF_E
This jumper, when closed, supplies 3.3 V reference voltage to the
VREF pin of the MCU.
Default state is closed.
IRDA_LS_E
IRDA_LowSpeed_Enable jumper – opened if there is no IrDA module or it is disabled.
Default state is opened if your board doesn't have an IrDA connector.
I2SRX_SDA
IrDA TX input pin jumper – opened if there is no IrDA module or it is disabled.
Default state is opened if your board doesn't have an IrDA connector.
AOUT
IrDA RX output pin jumper – opened if there is no IrDA module or it is disabled.
Default state is opened if your board doesn't have an IrDA connector.
RC
This jumper, when closed, outputs the LCD[0] signal from the
LPC2478
to the TFT display. If it is open, pin 168 of the
LCP2478
is connected to EXT-4.
Default state is closed.
RW
This jumper, when closed, outputs the LCD[1] signal from the
LPC2478
to the TFT display. If it is open, pin 166 of the
LCP2478
is connected to EXT-5.
Default state is closed.
RS
This jumper, when closed, outputs the LCD[8] signal from the
LPC2478
to the TFT display. If it is open, pin 164 of the
LCP2478
is connected to EXT-6.
Default state is closed.
TC
This jumper, when closed, outputs the LCD[9] signal from the
LPC2478
to the TFT display. If it is open, pin 162 of the
LCP2478
is connected to EXT-7.
Default state is closed.
TW
This jumper, when closed, outputs the LCD[16] signal from the
LPC2478
to the TFT display. If it is open, pin 160 of the
LCP2478
is connected to EXT-8.
Default state is closed.
TS
This jumper, when closed, outputs the LCD[17] signal from the
LPC2478
to the TFT display. If it is open, pin 158 of the
LCP2478
is connected to EXT-9.
Default state is closed.
ISP_E
If you put this jumper, you enable the ISP (In-System
Programming). This is used when you want external software to program the
LCP2478.
This jumper is used in combination with the RST_E jumper.
Default state is open.
RST_E
If you put this jumper, you enable external software to control the
Reset signal to the processor. This is used when you want external software to program the
LCP2478.
This jumper is used in combination with the
ISP_E jumper.
Default state is open.
ETM_E
If you put this jumper, you enable the MICTOR Trace connector.
Default state is open.
BDS_E
C/SC
Boundary scan enable.
Default state is open.
This jumper controls the USB device interface.
If 1-2 are shorted, the USB is always enabled.
If 2-3 are shorted, the USB Enable is controlled by the
MCU LPC2478 signal USB1_CONNECT.
Default state is 2-3 shorted.
PD/CTRL
This jumper controls the PHY signal of the Ethernet controller.
If there is no jumper, the PHY is always enabled.
If 1-2 are shorted, the PHY is disabled
If 2-3 are shorted, the PHY is controlled by the
LPC2478 signal PHY_PD.
Default state is no jumper (opened).
EXT/JLINK
This jumper controls the JLINK +5V power line (pin19) of the
JTAG and the +5VDC power supply of the board.
If 1-2 are shorted, the JLINK +5V power line (pin19) from the JTAG interface supplies the board with
+5VDC.
If 2-3 are shorted, the board is supplied with +5VDC from the +5VDC voltage regulator.
Default state is 2-3 shorted.
EXT/BAT
This jumper controls the VBAT signal of the LPC2478.
If 1-2 are shorted, the VBAT pin is supplied by an external battery.
If 2-3 are shorted, the VBAT pin is supplied by the common +3.3VDC power supply for the board.
Default state is 2-3 shorted.
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 host LED (yellow)
with name
USB_H_LINK
– connected to
LCP2478
pin 147 (P1[13]/ENET_RX_DV).
USB device LED (yellow)
with name
USB_D_LINK
– connected to
LCP2478
pin 66 (P1[18]/USB_UP_LED1/PWM1[1]/CAP1[0]).
User button
with name
BUT1
connected to
LCP2478
pin 67
(P2[19]/CLKOUT1).
User button
with name
BUT2
connected to
LCP2478
pin 81
(P2[21]/#DYCS1).
Reset button
with name
RESET
connected to
LCP2478
pin 35 (#RESET).
Trimpot
with name
AN_TRIM
connected to
LCP2478
pin 45
(P0[13]/USB_UP_LED2/MOSI1/AD0[7]).
TFT touchscreen display
– 3.5'', 320x200, 24-bit color.
1
7
9
3
5
11
13
15
17
Pin # Signal Name
+3.3V
TRSTN
TDI
TMS
TCK
RTCK
TDO
RST
GND
2
4
6
8
10
12
14
16
18
Pin #
GND
GND
GND
GND
+3.3V
Signal Name
GND
GND
GND
GND
19 +5V_JLINK 20 GND
TDI
TDO
shifted out of the device on the negative edge of the TCK signal.
TMS
machine.
TCK
Input
Test Data In
. This is the serial data input for the shift register.
Output
Test Data Out
. This is the serial data output for the shift register. Data is
Input
Input
Test Mode Select
Test Clock
. The TMS pin selects the next state in the TAP state
. This allows shifting of the data in, on the TMS and TDI pins. It is a positive edge triggered clock with the TMS and TCK signals that define the internal state of the device.
TRSTN
Input
RTCK
Output
Test Reset N.
Return Clock.
This signal resets the JTAG controller.
This is a synchronization signal which the JTAG connector uses to acknowledge it is ready to receive/transmit.
JTAG is used to to program and debug the MCU.
6
7
4
5
8
9
1
2
3
Pin # Signal Name
NC
RXD0
TXD0
NC
GND
RST
NC
ISP_E
NC
TXD0
Output
Transmit Data.
This is the asynchronous serial data output (RS232) for the shift register on the UART controller. (This pin is input for the RS232 and input for the
LPC2478)
RXD0
Input
Receive Data.
This is the asynchronous serial data input (RS232) for the shift register on the UART controller. (This pin is output for the RS232 and input for the LPC2478)
RST
Input
Reset.
When you use external software to program the LPC2478, this software uses the RS232 to connect to the device and if the jumper RST_E is put, than through this
RST pin the software controls the #RESET pin of the MCU. (This pin is output for the RS232 and input for the LPC2478)
ISP_E
Input
In-System Programming.
If you use external software to program the device, this pin enables the programming. A pre-condition to enable ISP is the ISP_E jumper to be put. (This pin is output for the RS232 and input for the LCP2478)
1
2
3
Pin # Signal Name
NC
CANL
GND
CANL and CANH are either deferential input, or differential output depending on the function of the MCP2551 CAN controller (receiving or transmitting data).
1
2
Pin # Signal Name
Power Input
GND
The power input should be +(9-12VDC)/6VAC.
1
2
3
Pin #
NC
GND
MCP
Signal Name
MCP
Input
Microphone Input.
This pin is input to the DSP codec VS1002D.
Pin # Signal Name
1
2
3
LEFT
GBUF
RIGHT
LEFT
GBUF
Output
Left channel output.
This pin is output for the DSP codec VS1002D.
Output
Virtual ground for audio output
, 1.23 V nominal. This pin is output for the
DSP codec VS1002D.
RIGHT
Output
Right channel output.
This pin is output for the DSP codec VS1002D.
5
7
1
3
Pin #
9
11
13
15
17
19
GND
+5V
Signal Name
P0[5]/I2SRX_WS/LC
D[1]/TD2/CAP2[1]
P0[7]/I2STX_CLK/LC
D[9]/SCK1/MAT2[1]
6
8
P0[9]/I2STX_SDA/LC
D[17]/MOSI1/MAT2[3]
10
RXD3
P4[30]/#CS0
12
14
P4[26]/BLS0
P4[17]/A17
16
18
P0[11]/RXD2/SCL2/M
AT3[1]
20
2
4
Pin # Signal Name
+3.3V
P0[4]/I2SRX_CLK/LCD
[0]/RD2/CAP2[0]
P0[6]/I2SRX_SDA/LCD
[8]/SSEL1/MAT2[0]
P0[8]/I2STX_WS/LCD[
16]/MISO1/MAT2[2]
TXD3
P4[31]/#CS1
P4[27]/BLS1
P4[24]/#OE
P0[10]/TXD2/SDA2/MA
T3[0]
7
8
9
10
5
6
3
4
1
2
Pin #
MISO
MOSI
SCK
SSEL
Signal Name
+3.3V
GND
TXD2
RXD2
SCL2
SDA2
1
2
3
4
Pin # Signal Name
USB_PWRD2
U2D-
U2D+
GND
USB_PWRD2
Output USB Power. This signal is output from the processor and input for the
USB host.
U2D-, U2D+
I/O This signals form the differential input/output depending on the direction of the data transfer.
Pin #
1
Signal Name
VBUS
2
3
4
U1D-
U1D+
GND
VBUS
OutputUSB device power.
U1D-, U1D+
I/O This signals form the differential input/output depending on the direction of the data transfer.
TD-
OutputDifferential signal output. This signal is output from the MCU.
TD+
OutputDifferential signal output. This signal is output from the MCU.
RD-
Input Differential signal input. This signal is input for the MCU.
RD+
InputDifferential signal input. This signal is input for the MCU.
9
11
13
15
5
7
1
3
Pin # Signal Name
MCIDAT3
GND (VSS1)
MCICLK
MCIDAT0
-
MCIDAT2
CP
GND
10
12
14
6
8
2
4
Pin # Signal Name
MCICMD
VDD
GND (VSS2)
MCIDAT1
-
WP
GND
MCIDAT0-3
I/O
Memory Card Interface Data 0-4.
These are the data lines for the
SD/MMC connector. They could be both input and output for the MCU depending on the data flow direction.
MCICMD
Output
Memory Card Interface Command.
This is a command sent form the processor to the memory card and as such it is output from the processor.
MCICLK
Output
Memory Card Interface Clock.
This signal is output from the MCU and synchronizes the data transfer between the memory card and the MCU.
WP
CP
Input
Input
Write Protect.
Card Present.
This signal is input for the MCU.
This signal is input for the MCU.
1
2
Pin # Signal Name
KBO_IO
NC
3
4
5
6
GND
+5V
KBO_CLK
NC
KBO_IO
and the MCU.
I/O
Keyboard Input/Output.
This is the data line between the keyboard
KBO_CLK
Output
Keyboard Clock.
This is the synchronization clock between the keyboard and the MCU.
5
6
7
8
1
2
3
Pin #
4
Signal Name
+3.3V
NC
GND/TXD3 – look at jumper I2SRX_SDA
NC/RXD3 – look at jumper AOUT
NC
+3.3V
NC 3.3V/GND – look at jumper IRDA_LS_E
GND
The MICTOR TRACE connector allows you to trace the execution of the programs.
All measures are in inches.
LPC-2478STK
is delivered pre-loaded with C Linux and the sources and binaries are on the accompanying CD.
LPC-2478STK
– 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
for more info.
All boards produced by Olimex are RoHS compliant
Revision history:
REV.A
- created July 2008
Disclaimer:
© 2008 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.
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
advertisement