0% found this document useful (0 votes)
576 views6 pages

User Manual of Blueboard Arm7 NXP Lpc2148

This document provides information about an evaluation board for the LPC2148 ARM7 microcontroller, including its features, system requirements, programming instructions, hardware configurations, schematics, and sample applications. The board has 512KB flash and 32+8K RAM, connectors for all pins, various peripherals, and can be programmed through serial port or ISP using the LPC2000 flash utility. The document provides setup instructions for testing features like LEDs, JTAG, LCD, ADC, and includes links to example code and notes potential issues with auto-mode ISP programming.

Uploaded by

vikramsimhareddy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
576 views6 pages

User Manual of Blueboard Arm7 NXP Lpc2148

This document provides information about an evaluation board for the LPC2148 ARM7 microcontroller, including its features, system requirements, programming instructions, hardware configurations, schematics, and sample applications. The board has 512KB flash and 32+8K RAM, connectors for all pins, various peripherals, and can be programmed through serial port or ISP using the LPC2000 flash utility. The document provides setup instructions for testing features like LEDs, JTAG, LCD, ADC, and includes links to example code and notes potential issues with auto-mode ISP programming.

Uploaded by

vikramsimhareddy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

USER MANUAL

ARM7 NXP-LPC214X

Table of Contents:
1> INTRODUCTION & LPC2148 BOARD FEATURES
2> SYSTEM REQUIREMENTS
3> STARTING OFF & CONNECTING THE HARDWARE
4> PROGRAMMING LPC2148 Board
5> FUNCTIONAL OVERVIEW
6> HARDWARE CONFIGURATIONS
7> OVERVIEW
8> SCHEMATICS
9> SAMPLE APPLICATIONS
10> KNOWN ISSUES

1: INTRODUCTION & LPC2148 Board Features:


BlueBoard-LPC214X is an evaluation board for LPC2148 ARM7TMDI based microcontroller. The LPC2148
microcontroller has 512KB of internal flash and 32+8K RAM. Following are the salient features of the
board.
Dimensions: 112 X 122 mm2
Two layer PCB (FR-4 material)
Power supply: DC 9V with power LED
On-board linear regulators generate +3.3V/500mA and +5v/500mA from power supply.
USB connector (as alternate power source).
Connectors:
Extension headers for all microcontroller pins. RS232 connectors (2).
PS/2 connector. JTAG connector.
SD/MMC connector.
USB B-type connector with Link-LED.

Other Peripherals:
512Kb I2C based EEPROM Audio power amplifier.
2 line X 16 character LCD with back light control.
Configurable for manual and automatic program download (ISP) via serial port. 8 controllable
LEDs on SPI using 74HC595.
User Interrupt, ADC, Buzzer, RTC.

2: System Requirements:
Windows XP & Win 7
Serial or Parallel port
USB port

3: Starting off & connecting the hardware:


After unpacking the LPC2148 board connect a DC supply of 9V/1A to the DC jack to power the board.
The LPC2148 board can also be powered through USB.

4: Programming LPC2148 Board:


LPC2148 Board can be programmed through serial port UART 0 using LPC2000 flash utility V2.2.2 is a
freeware windows utility used to download the hex file format onto the LPC2148 Board. If your PC does
not have a serial port; use a USB to serial converter to download the hex file.
Programming LPC2148 Board through ISP.
The LPC2148 Board can be programmed through ISP in two modes: 1. Auto Mode 2. Manual Mode
1. Auto Mode:
To program in Auto mode you need a full serial cable with DTR & RTS. (Recommended not to use Auto
Mode).
2. Manual Mode:
To program in Manual mode you need a half serial cable (which just has TX, RX and GND wire
connected). And connect the half serial cable to UART0 and power the board. (Recommended mode)

Open LPC2000 Flash Utility V2.2.2


Browse File name and Select the hex file to be downloaded.
Select Device as LPC2148
Set XTL Freq [KHz] to 12000
Blank Check: Entire Device
Select the appropriate com port (See your device manager to find out the com port number)
Select the Baud Rate in between 9600 and 38400
Uncheck Use DTR/RTS for Reset and Boot Loader Selection
Click on Read Device ID.

To make the board enter programming mode

Hold down ISP and RESET Buttons, then release RESET first and finally ISP.
The controller enters the bootloader mode.
It will display as Read device ID Successful.
Click on the Upload to Flash Button.
Program uploaded successfully.
Click the Rest Button on the Board. Thats it, your hex file is on the board.

5: Functional Overview:
2x16 CHARACTERS
LCD DISPAY

PS/2
KEYBOARD

74HC595

L
E
D
S

AUDIO
OUT JACK

AUDIO
AMPLIFIER

LPC214x

Connector

DB9 Female
Connector
for UART1

SD/MMC
DB9 Female

Connector
for UART0

BUZZER

USER

USB Type B

BUTTON

connector

JTAG

6: Hardware Configurations:
Modules and Jumpers Relationship
Jumper

J8

Related Module

Usage

UART0 &UART1

UART0 is for using bootloader and dumping the hex file. As well
as general serial communication. UART1 is also for general serial
communication.

VREF voltage
Test LEDs

J11

Connecting this will set the VREF voltage to 3.3V.


Connecting all pins enables test LED's. Pins 3 to 9 are connected
to SPI0 lines of LPC2148.

ADC

This will enable the ADC interface

JTAG

This will enable the debug mode on the microcontroller.

LCD

PS/2

This will enable the PS/2 Keyboard peripheral.

LCD

Connecting all pins enabled LCD. Pins 1 to 7 are data lines, 9 to


13 are control lines and pin 15 is 5V power pin.

LCD Backlight

If pins 1 and 2 are connected the LCD back light will always stay
ON and if pins 2 and 3 are connected the back light can be
Controlled by firmware.

Power supply to board Connecting this will provide 3.3V supply to board.
Bootloader

Batt(RTC)

If switch is in manual ,manual bootloader mode is


selected and if switch is in auto connected auto bootloader
Mode is selected.UART0 to be used for this purpose.
Connect a battery to use RTC.

LEDs and SPI0


Test setup: Connect jumpers to all pins of J9 to enable the LED's. These LEDs are connected through a
serial to parallel converter this test also confirms the working of SPI0 of the LPC. 74HC595.
For UART0:
UART0 can also be used for serial programming. If the selected bootloader mode is Manual then Half
modem cable should be used, else if it is in Auto mode use full modem cable. Note that after
programming in auto mode the serial cable should be disconnected.

JTAG connector
Test setup: To enable debugging on the board connect jumper to J11 and connect the JTAG to debug
port. We have successfully tested the LPC2148 Board with JTAG interface using a Wiggler Clone JTAG.
To test this feature you need to have the necessary software and Hardware support on your PC.

User Interface Switch.


Test setup: The Switch SW1 is connected to one of the external interrupt lines of LPC. (Refer Schematic
for more details)
Note: The SD/MMC card being tested should be formatted with FAT file system (Not FAT32 or NTFS
format).

LCD display
Test setup: A default message ARM 7 LPC2148 will be displayed. The back light of LCD can be
controlled. The contrast of LCD can be varied using the POT.

ADC : The ADC port is given to a POT. To test the ADC rotate the POT, make sure vref is
connected.

7: Overview:
For the working with LPC2148 Board there are certain tools that need to be installed.
The tools required to work with LPC2148 Board are:
LPC2000 Flash Utility V2.2.2.
The flash magic tool can be downloaded from the following link:

https://www.lpcware.com/content/nxpfile/lpc2000-philips-flash-utility-tool

8: Schematics are in different folder:

LPC2148
LPC2148
LPC2148
LPC2148
LPC2148
LPC2148
LPC2148
LPC2148
LPC2148
LPC2148
LPC2148

& AUDIO
& JTAG
& LCD
& LED
& Power Supply
& PS2
& Reset and ISP
& SD Card
& UART
& USB
RTC, INT, ADC & BUZ

9: Following example codes are provided.

ADC & LCD (ADC_LCD)


ADC, LCD & LM35 Temperature Sensor (ADC_LCD_temp)
SPI - Using SPI in polled master mode to drive 8x LEDs (ADC_LED)
UART (Serial)
E2PROM Driver - Reading and writing to an i2c-e2prom (Exp12 I2C_Serial_EEPROM)
16 x 2 LCD (LCD)
SD/MMC access (SD_CARD)
PS2 - Code to demonstrate PS2 keyboard (PS2KBD_LCD)
Buzzer- Code to demonstrate buzzer on external interrupt. (ExtInt Buzzer)
Pulse Width Modulation (PWM_Example)
Real Time Clock (RTC_v1)
Xbee Communication (Serial_zigbee)
Stepper Motor Driver with External ULN Driver IC (Stepper_Motor_Test)
USB Interface (USB)
Note: All the examples programmes are tested as per our requirement, hence does
not guarantee for any of the code not working as per your requirement. You can
consider these codes as sample programmes and for your reference purpose only.

10: Known Issues:


AUTO-mode ISP and full modem cable
While using the Auto-program mode for ISP; after programming the LPC2148 Board the
user needs to unplug the full modem serial cable for the program to execute.

You might also like