**** Advance Notice ****

This site will be closed on 31 December 2015,

Important Information for users of NXP LPCXpresso

This site is for users of Code Red branded products.

NXP LPCXpresso users should visit the LPCXpresso FAQ's for up-to-date information relevant to that product.

RDB4078 User Manual

Contents

Overview

The RDB4078 development Board provides an excellent platform for evaluating and developing with NXP's Cortex-M4 based LPC40xx series microcontrollers. Fitted with an NXP LPC4078 MCU, the board allows the rapid prototyping of embedded systems through the use of the on-board peripheral interfaces and supplied example software, or by connecting external hardware to the IO pads.

LPC4078 Features

RDB4078 Development Board Features

Components

rdb4078_layout.jpg

Component

Description

COM

RS232 COM port connected to UART0 on the LPC4078.

USB Device

USB Device Mini-B connector. Can be used to power the board.

USB Host

USB Host ʻAʼ connector. Can supply power to peripherals. Is limited to 500mA, but if board is being powered from one of itʼs USB device sockets then the capability will be less.

Micro SD

Micro-SD Card socket. Pins connect to SD card interface on the LPC4078.

LCD

320x240 pixel color LCD display with touchscreen.

User LEDs

User LEDS (1-4) connected to P1_24, P1_25, P1_28 and P1_29.

Pot

Potentiometer connected to Analogue to Digital Convertor (ADC) of LPC4078.

Speaker

Speaker driven from audio codec.

Joystick

"4-way + select" switch style joystick.

RST

SW2 - Reset button for LPC4078.

ISP/EINT0

SW1 - ISP button. Hold down with RST, then release RST first to enter ISP mode. Can also act as External Interrupt button for application code running on board.

Digital Mic

Stereo Digital Microphones.

Ethernet

Ethernet connector.

Line-in

Stereo 3.5mm line level input connector to the audio codec.

Mic

3.5mm mic level input connector to the audio codec.

Headphones
/ Line-out

Stereo 3.5mm connector for either driving audio headphones or line-level output from the audio codec.

External debug

Standard Cortex 0.05” pitch 2x10 pin JTAG/SWD/ETM connector for use with external debug probe such as Red Probe+.

Built-in debug

USB Mini-B connector for use of ʻon-boardʼ debug – direct connect to PC for debug with Red Suite/LPCXpresso IDE. Can be used to power the board.

PSU

External power supply connector – 5V D.C. regulated.

Battery

Cymbet EnerChip Battery Backup.

UH1/UH2

IO Pads for external connection.

J16

Digital Audio Expansion Connector.

Developing and Debugging

The RDB4078 is designed to interface seamlessly with the Red Suite 5 and LPCXpresso 5 IDEs from Code Red Technologies. Simply connecting a PC to the RDB4078 to the USB debug port enables the Code Red IDE v5 to be used as your code development and debugging environment.

The board also has a standard Cortex 20-pin 0.05” pitch JTAG/SWD/ETM connector. An external debug probe, such as Red Probe+ or LPC-Link, can be connected to this connector for debugging via the Code Red IDE (version 4.3.0 or later). Alternatively, other debug probes and tool chains may be connected through this standard connector pin-out.

Note that when an external probe is connected the on-board debug circuit is disabled.

For more information on the external debug connector, please see the FAQ "SWD / JTAG Connectors and Pinout".

Red Trace

The built-in debug port does not support the use of Red Trace. To use Red Trace, you will need to connect using Red Probe+.

Power

Power Supply

In most cases, the RDB4078 will be powered via USB - either using the built-in debug connector (J3) or the USB device connector (J9).

However it is also possible to power the board via the PSU connector (J7), which is a KLDX-SMT-0201LB part (1.3mm) and the tip is hot (the pin/hole in the middle is +VE).

The external power supply should be 5V regulated (maximum 6V regulated) and should be 300mA (plus whatever your USB host load is).

Battery

The Cymbet EnerChip Battery fitted to the board provides power to the Real Timer Clock in the LPC4078 whilst the board is not powered.

IO Pads for external connection

On the RDB4078, all of the peripherals on the board can be electrically isolated from the LPC4078 through the cutting of links on the board. These are all labelled on the board. For example if the link labelled ʻLK0_23ʼ is cut, this will disconnect the potentiometer from IO pin P0_23. This will then allow the user to add any external peripheral using P0_23, connecting through the user headers UH1 and UH2.

The pinouts for user headers UH1 and UH2 can be seen on the RDB4078 Schematic (PDF).

Ethernet PHY address

There is an issue with the default PHY address on the RDB4078 as the LPC4078 pulls its non pull-up IO pins high momentarily in a power up reset but not in a debug generated reset. This causes the PHY address in the hardware to be different under debugging to when the board is used standalone.

To work around this a conditional block of code is included in the file \lpc_port\emac.c of the RDB4078 example projects which checks the Cortex-M4 'Debug Halting Control and Status Register' (DHSCR) to see if a debugger is connected, and if not, then the PHY address is inverted (possible values are 1 and 0).

Alternatively the RDB4078 hardware can be modified by putting a 10K pulldown to GND on P19 of UH2 (P1_14). In the case, remove the symbol 'USE_RDB4078_PHY_CODEFIX' from the Project Properties to prevent the code fix being used.

Mapping of peripherals to IO pins


USAGE

PERPHERAL

MODE

PORT

BIT

Notes

joystick left

JOYSTICK

GPIO

0

0

joystick right

JOYSTICK

GPIO

0

1

joystick up

JOYSTICK

GPIO

0

11

joystick down

JOYSTICK

GPIO

0

12

joystick click

JOYSTICK

GPIO

0

6

UART_TXD

COM

UART

0

2

UART_RXD

COM

UART

0

3

BOOT ISP

BOOT

ISP

2

10

I2STX_CLK

AUDIO

I2S

0

7

I2STX_WS

AUDIO

I2S

0

8

I2STX_SDA

AUDIO

I2S

0

9

CODEC_RESET

AUDIO

GPIO

0

10

I2SRX_SDA

AUDIO

I2S

0

25

DACOUT

AUDIO

DAC

0

26

SDA

AUDIO/TOUCHSCREEN

I2C

0

27

SCL

AUDIO/TOUCHSCREEN

I2C

0

28

RX_MCLK

AUDIO

I2S

1

17

TX_MCLK

AUDIO

I2S

1

16

This is not used by codec but is on audio expansion connector

I2S_RX_SCK

AUDIO

I2S

0

4

I2S_RX_WS

AUDIO

i2S

0

5

usd_cs / uSD_DAT[3]

uSD-P1 /CONN-P2

SPI

2

13

usd_di / uSD_CMD

uSD-P2 /CONN-P3

SPI

0

20

usd_sck / uSD_CLK

uSD-P5 /CONN-P5

SPI

0

19

SD_CLK

usd_do / uSD_DAT[0]

uSD-P7 /CONN-P7

SPI

0

22

SD_DAT[0]

uSD_DAT[1]

uSD-P8 /CONN-P8

-

2

11

uSD_DAT[2]

uSD-P9 /CONN-P1

-

2

12

SD_PWR

uSD-PWR /-

-

0

21

POTENTIOMETER

POT

ADC

0

23

USB_D+2

USB DEVICE

USB

0

31

USB_D-2

USB DEVICE

Dedicated pin 37

USB_CONNECT2

USB DEVICE

USB

0

14

USB_UP_LED2

USB DEVICE

USB

0

13

USB_VBUS

USB DEVICE

USB

1

30

USB_D+1

USB HOST

USB

0

29

USB_D-1

USB HOST

USB

0

30

USB_PWRD1

USB HOST

USB

1

22

USB_OVRCR1

USB HOST

USB

1

27

USB_PPWR1

USB HOST

USB

1

19

txd_0

ETHERNET

ETH

1

0

txd_1

ETHERNET

ETH

1

1

tx_en

ETHERNET

ETH

1

4

CRS

ETHERNET

ETH

1

8

RXD_0

ETHERNET

ETH

1

9

rxd_1

ETHERNET

ETH

1

10

rx_er

ETHERNET

ETH

1

14

mdc

ETHERNET

ETH

2

8

mdio

ETHERNET

ETH

2

9

ENET_REF_CLK

ETHERNET

ETH

1

15

Clock from the PHY into the micro

LED1 (USER)

LED

GPIO

1

24

LED2 (USER)

LED

GPIO

1

25

LED3 (USER)

LED

GPIO

1

28

LED4 (USER)

LED

GPIO

1

29

db0 display

PIN-1 of KWH024MC08-F02

EMC

3

0

EMC/GPIO

db1 display

PIN-2 of KWH024MC08-F02

EMC

3

1

EMC/GPIO

db2 display

PIN-2 of KWH024MC08-F02

EMC

3

2

EMC/GPIO

db3 display

PIN-3 of KWH024MC08-F02

EMC

3

3

EMC/GPIO

db4 display

PIN-22 of KWH024MC08-F02

EMC

3

4

EMC/GPIO

db5 display

PIN-35 of KWH024MC08-F02

EMC

3

5

EMC/GPIO

db6 display

PIN-36 of KWH024MC08-F02

EMC

3

6

EMC/GPIO

db7 display

PIN-37 of KWH024MC08-F02

EMC

3

7

EMC/GPIO

A0 display

PIN-8 (CMD) of KWH024MC08-F02

EMC

4

0

EMC_A0

WR display

PIN-9 of KWH024MC08-F02

EMC

4

25

EMC_WE

RD display

PIN-10 of KWH024MC08-F02

EMC

4

24

EMC_OE

CSB (chip select) display

PIN-7 of KWH024MC08-F02

EMC

4

30

EMC_CS0

RESB (reset) display

PIN-31 of KWH024MC08-F02

GPIO

4

29

GPIO

FMARK/VSYNC

T0_CAP0

-

2

0

TOUCHSCREEN INTERRUPT

T1_CAP0

-

2

1

CODEC INTERRUPT

T0_CAP1

-

2

7

SPEAK_EN

-

-

4

1

Active high input to the amplifier

BAT RESET

-

-

4

2

RESET THE CYMBET

RDB4078Docs/UserManual (last edited 2014-05-14 13:45:16 by CrSupportAb)