Sunteți pe pagina 1din 42

Titan-II User Manual 1

Copyright © 2006 Oasis Technologies Pvt. Ltd., Pune, M.S., India.


Titan-II User Manual 2

Proprietary notice

No part of this publication may be reproduced, stored in a retrieval system,


or transmitted in any form or by any means, mechanical, photocopying,
recording or otherwise, without the prior permission of Oasis Technologies
Pvt. Ltd.

While every precaution has been taken in the preparation of this


document, Oasis Technologies Pvt. Ltd. assumes no responsibility for
errors or omissions. Neither is any liability assumed for damages resulting
from the use of the information contained herein.

Trademarks

ARM, ARM7 is a registered trademark of ARM Limited and its various


subsidiaries around the world.

About this document

This document describes the Oasis ARM (Titan-II) board and which has
NXP (PHILIPS) LPC2294 along with the various on-board peripherals.
The document covers the various programming and usage aspects of this
board.

Intended audience

This document is created for individuals who are interested in learning


ARM® and wish to explore the capabilities of Oasis Titan-II board by
performing practical or by using it for developing certain projects.

Typographical conventions

The following typographical conventions are used in this document:

• Important part are placed in single quotes ‘’


• Bulleted points are used to list topics
In areas where steps have to be followed, the convention used is ‘Step1’,
‘Step 2’ and so on.

Copyright © 2006 Oasis Technologies Pvt. Ltd., Pune, M.S., India.


Titan-II User Manual 3

Table of Contents

ABOUT OASIS TITAN-II BOARD.................................................................................5


1.1 OVERVIEW OF THE TITAN-II BOARD.................................................................................6
1.1.1 Highlights of the Titan-II Board.........................................................................6
1.2 TITAN-II BOARD SYSTEM REQUIREMENTS.........................................................................7
1.3 TITAN-II BOARD PACKAGE CONTENTS..............................................................................7
1.4 TITAN-II BOARD LAYOUT...............................................................................................9
TITAN-II BOARD SETUP.............................................................................................10
2.1 HARDWARE SETUP.......................................................................................................11
2.1 SOFTWARE SETUP.........................................................................................................13

TITAN-II BOARD CONFIGURATION.......................................................................14


3.1 TITAN-II BOARD PERIPHERAL INTERFACE........................................................................15
3.1.1 Power Supply....................................................................................................15
3.1.2 Flash.................................................................................................................15
3.1.3 RAM..................................................................................................................15
3.1.4 Serial Interface.................................................................................................16
3.1.5 JTAG Interface.................................................................................................16
3.1.6 LED Interface …...............................................................................................17
3.1.7 Keypad Interface...............................................................................................17
3.1.8 LCD/Seven Segment Display Interface............................................................18
3.1.9 Stepper Motor Interface...................................................................................18
3.1.10 Relay Interface................................................................................................19
3.1.11 ADC Interface.................................................................................................19
3.1.12 Buzzer Interface..............................................................................................19
3.1.13 Temperature Sensor Interface.........................................................................19
3.1.14 PS-2 Interface.................................................................................................20
3.1.15 SD/MMC Interface.........................................................................................20

3.2 TITAN-II BOARD ARCHITECTURE...................................................................................21


3.3 TITAN-II BOARD MEMORY MAP...................................................................................22
3.4 TITAN-II BOARD CONNECTORS......................................................................................23
3.4 TITAN-II BOARD CONNECTORS......................................................................................24
3.4.1 Connector CN2: 10 pin External Stepper Motor connector............................24
3.4.2 Connector CN3: 10 pin I2C expander IO connector.......................................24
3.4.3 Connector CN6: 3 Pin connector for CAN1(Optional)....................................24
3.4.4 Connector CN4: 16 pin connector for 16x2 LCD display................................25
3.4.5 Connector CN8: 20 pin JTAG connector.........................................................25
3.4.6 Connector CN5: DB-9 Female connector for COM1......................................26
3.4.7 Connector CN13: 6 pin stepper motor connector............................................26
3.4.8 Connector CN18: DB-9 Female connector for COM2....................................27

Copyright © 2006 Oasis Technologies Pvt. Ltd., Pune, M.S., India.


Titan-II User Manual 4

3.4.9 Connector CN14: 6 pin relay O/P connector...................................................27


3.4.10 Connector CN9: 20 pin connector for GPIO-1..............................................28
3.4.11Connector CN10: 34 pin connector for GPIO-2.............................................29
3.4.12 Connector CN19: PS-2 Connector.................................................................30
3.4.13 Connector CN21: SD/MMC connector.........................................................30

3.5 TITAN-II BOARD JUMPERS/SWITCHES.............................................................................31


3.5.1 Jumper J1&J2..................................................................................................32
3.5.2 Jumper J3.........................................................................................................32
3.5.3 Jumper J4.........................................................................................................32
3.5.4 Jumper J5.........................................................................................................32
3.5.5 Jumper J6 & J7................................................................................................32
3.5.6 Jumper J8,J10,J11,J14 & J16..........................................................................32
3.5.7 Jumper J9.........................................................................................................32
3.5.8 Jumper J12 & J13............................................................................................32
3.5.9 Jumper J15.......................................................................................................32
3.5.10 Jumper J16.....................................................................................................32
3.5.11 Switch S1:.......................................................................................................33
3.512 Switch S2, S3 and S4:......................................................................................33
3.513 Switch S5:........................................................................................................33
3.514 Switch S6:........................................................................................................33
3.515 Switch S7:........................................................................................................33
APPLICATIONS USING TITAN-II BOARD………………………………………………….......34

Copyright © 2006 Oasis Technologies Pvt. Ltd., Pune, M.S., India.


Titan-II User Manual 5

Chapter 1
About Oasis Titan-II Board

This chapter describes the Oasis ARM Titan-II Board and brings out it’s
features and the deliverables you will receive through it. After reading this
chapter, you will gain understanding about the Titan-II Board architecture,
its usage, hardware and software set-up requirements.

Topics covered under this chapter include:

• Overview of the Titan-II Board


• Titan-II Board System Requirements
• Titan-II Board Package Contents
• Electrical Specification for the Board
• Environmental Specification and Warning
• Titan-II Board Layout

Copyright © 2006 Oasis Technologies Pvt. Ltd., Pune, M.S., India.


Titan-II User Manual 6

1.1 Overview of the Titan-II Board


The Titan-II Board is an embedded training and development platform. It
has features that enable code development and exploration of embedded
ARM processors.

The Titan-II board can be conveniently used to evaluate the ARM


processor with the associated peripherals.

1.1.1 Highlights of the Titan-II Board


Feature Specifications
Micro- Philips ARM7T based LPC2129, LPC2148, LPC2138, 89V51RD2,
controller PIC18F452
supported
Memory SRAM 16KB/32KB, FLASH 256 KB/512 KB
Boot loader Built in boot loader for flash programming
GPIO 30 IO Pins on Headers, 8 Buffered IO Pins, 8 I2C expander based
IO
UART COM1: ISP, Debugging
UART COM2:
CAN interface 1 CAN interface

LCD 16x2 LCD display

7 – Segment 4 Seven-Segment LED display

User LED’s 8 LED’s For programming

Keypad 4x4 Push button keypad

Table 1.1 ‘Titan-II Board features’

Copyright © 2006 Oasis Technologies Pvt. Ltd., Pune, M.S., India.


Titan-II User Manual 7

1.2 Titan-II Board System


Requirements
The hardware board must be connected to a PC, in which Oasis ARM
(Titan-II) board Software Development Kit (SDK) is installed.

The system requirements of the Host PC include the following:


• 1 GHZ or faster Intel Pentium® or a compatible PC
• 512MB of RAM
• 250MB available hard disk space
• COM port
• Microsoft Windows XP or above versions of Microsoft Windows
• Adobe Acrobat® Reader

1.3 Titan-II Board Package Contents


The Titan-II Board package contents include the Titan-II Board, requisite
hardware and software for developing various applications.

Titan-II Board: The Oasis Titan-II Board includes the following:

• Input header capable of interfacing with a 32 bit Philips micro


controller based on ARM7TDMI technology and a 8 bit Philips 89V51
Microcontroller.
• Stepper motor drivers capable of driving 1 motor
• Relay
• Buzzer
• Temperature Sensor
• One CAN controller interface (Optional)
• Two 9 pin D type RS232 connectors
• Reset and interrupt push buttons
• 4x4 Push button Keyboard
• 16 X 2 LCD Display

Copyright © 2006 Oasis Technologies Pvt. Ltd., Pune, M.S., India.


Titan-II User Manual 8

• 8 programmable LED’s
• 4 Seven segment LED display
• 10 bit DAC on chip for ARM7 only
• 10 bit ADC on chip for ARM7 only
• I2C based EEPROM
• I2C based RTC
• I2C based Port Expander
• External Stepper Motor Interface
• 2 General purpose I/O ports with capability of interfacing with
devices such as the Ethernet controller, SD Memory Flash card,
PWM Output, ADC Input, 1 SPI bus interface and DC motor drive
with feed back control system.
Hardware Contents: The supporting hardware that comes with the Titan-
II board includes:
• A 9-pin RS 232 serial cable
• SMPS Power supply adaptor
• Connecting cables

Software Content: Software required to develop various applications are


as follows:
• Sample code specific to Titan-II board for ARM.
• GNU compiler (windows installable binaries).
• Philips LPC Flash download utility
• Triton Integrated Development Environment - Starter Edition which
is capable of supporting C/C++ Compiler, Assembler, Linker, Flash
Download Utility, Project Manager, C Libraries and Sample Programs
and supports up to 32KB of debugging.

Copyright © 2006 Oasis Technologies Pvt. Ltd., Pune, M.S., India.


Titan-II User Manual 9

1.4 Titan-II Board Layout

Figure 1.1 ‘Titan-II Board Layout’

Copyright © 2006 Oasis Technologies Pvt. Ltd., Pune, M.S., India.


Titan-II User Manual 10

Chapter 2

Titan-II Board Setup

This chapter gives a detailed understanding on how to set up the Titan-II


board for further operations.

Topics covered under this chapter include:


• Hardware Setup
• Software Setup

Copyright © 2006 Oasis Technologies Pvt. Ltd., Pune, M.S., India.


Titan-II User Manual 11

2.1 Hardware Setup


To start using the Titan-II board, carry out the following steps to setup the
hardware:

Step1: Connect the serial cable to any functional COM port of the Host
PC and COM1 of the Titan-II Board.

Step2: Connect the power adaptor to CN15.

Please note the alignment changes in the diagram

Power Supply connectors

CN15

S1

COM1

RUN/ISP switch

2.1.2 Titan-II Board Connectivity Test

Copyright © 2006 Oasis Technologies Pvt. Ltd., Pune, M.S., India.


Titan-II User Manual 12

To ensure proper functioning of the Titan-II board, verify the connections


before proceeding any further by performing the following steps:

Step 1: Connect the RS232 cable to the COM port of your PC and COM1
of the Titan-II board.

Step 2: Connect the power supply to the board & switch on the On/Off
Switch.
Note: after performing this step, the Power LED should be ON..

Step 3: Start the Philips LPC2000 flash utility (This is available on start
menu of your Windows OS) and select the appropriate device (LPC2124
or as applicable) and serial port settings.

Step 4: Change the position of RUN/ISP switch to ISP mode.

Note: Ensure that you push the reset switch on the Titan-II board before
you click the read device ID button on the LPC2000 ISP utility.

Step 5: Click the OK button on the LPC2000 ISP utility’s “Reset Message”
dialog box.

Step 6: You should be able to see the message “Read Part ID


Successfully” in the status bar (located at the left bottom) of the LPC2000
ISP utility dialog box.

Step 7: If any errors in communication, check the COM port settings of


your PC, and/or make sure that, the serial cable is properly connected to
the Titan-II board.

Copyright © 2006 Oasis Technologies Pvt. Ltd., Pune, M.S., India.


Titan-II User Manual 13

2.2 Software setup


The Titan-II board package comes with a CDROM which has necessary
tool chains to develop a program and make it run on the Titan-II board.
The tool chains include the following software:

• Tools - These tools are the GNU tools for the ARM and are used for
compilation, assembling linking.
• Utilities - The utility provided is the Philips LPC2000 ISP utility,
which is an application for downloading your hex images on to the
Titan-II board on-chip flash memory.

The CDROM provided with the Titan-II Board package has all the required
software and the corresponding documentation to help you develop a
project.

The installation software that comes with the CDROM will load the above
mentioned tool chains to the appropriate directory.

Copyright © 2006 Oasis Technologies Pvt. Ltd., Pune, M.S., India.


Titan-II User Manual 14

Chapter 3
Titan-II Board Configuration

This chapter describes the hardware configuration of the Titan-II board. It


details out the specifics of the on-board peripherals and the pin-
configuration of the board.

• Titan-II Board Peripheral Interface


• Titan-II Board Pin Diagrams
• Titan-II Board Memory Map
• Titan-II Board Connectors
• Titan-II Board Jumpers

Copyright © 2006 Oasis Technologies Pvt. Ltd., Pune, M.S., India.


Titan-II User Manual 15

3.1 Titan-II Board Peripheral Interface

3.1.1 Power Supply


The Titian Board provides a 1.5Amp 7.5 V Switch Mode Power Supply (SMPS).

3.1.2 Flash
The size of on-chip Flash depends on the type of Titan-II board in use.
The following table lists the different flavours of board and their respective
Flash sizes:

S.No. Titan-II Board Variant Description Flash Size


1 BX Titan-II board with 512K
Philips LPC2138
2 CX Titan-II board with 512K
Philips LPC2148
3 DX Titan-II board with 256K
Philips LPC2129

Table 3.1 ‘Flash’

3.1.3 RAM
The size of on-chip RAM depends on the type of Titan-II board in use. The
following table lists the different flavours of board and their respective
Ram sizes:

S.No. Titan-II Board Variant Description Ram size


1 BX Titan-II board with 32 K
Philips LPC2138
2 CX Titan-II board with 32 K
Philips LPC2148
3 DX Titan-II board with 16 K
Philips LPC2129

Table 3.2 ‘RAM’

Copyright © 2006 Oasis Technologies Pvt. Ltd., Pune, M.S., India.


Titan-II User Manual 16

3.1.4 Serial Interface


The Titan-II Board has a single console serial port with a DB-9 line
interface. This port can be connected to a host system using a Null
Modem cable through the DB-9 connector which is referred to as COM1
on the board.

Pin No Signal Description


1 N/C Not Connected
2 RXD Receive Data
3 TXD Transmit data
4 N/C Not Connected
5 GND Signal Ground
6 N/C Not Connected
7 RTS Not Connected
8 CTS Not Connected

Table 3.3 ‘Serial interface’

The serial ports are based on a MAX232. The UART can be programmed
to operate at speeds ranging from 300 to 115,200 bps.

3.1.5 JTAG Interface


The Oasis Titan-II board provides a JTAG debugger interface for ARM at
connector CN8. This header can be used for any JTAG based debugging
operation.
The following table lists the JTAG header definition.

Signal Pin No. Of CN8 Signal Pin No. Of CN8


3.3V 1 RTCK 11
3.3V 2 GND 12
TRST 3 TDO 13
GND 4 GND 14
TDI 5 RESET 15
GND 6 GND 16
TMS 7 NC 17
GND 8 GND 18
TCK 9 NC 19
GND 10 GND 20

Table 3.4 ‘JTAG Interface’

Copyright © 2006 Oasis Technologies Pvt. Ltd., Pune, M.S., India.


Titan-II User Manual 17

3.1.6 LED Interface


The following table lists the Oasis LED pin configurations.

LED No. Signal Signal Description


(LPC21xx) (89v51RD2)
1 Pin 45 (P0.15) Pin 21 (P2.0) LED1
2 Pin 46 (P0.16) Pin 22 (P2.1) LED2
3 Pin 47 (P0.17) Pin 23 (P2.2) LED3
4 Pin 53 (P0.18) Pin 24 (P2.3) LED4
5 Pin 54 (P0.19) Pin 25 (P2.4) LED5
6 Pin 55 (P0.20) Pin 26 (P2.5) LED6
7 Pin 1 (P0.21) Pin 27 (P2.6) LED7
8 Pin 2 (P0.22) Pin 28 (P2.7) LED8

Table 3.5 ‘LED Display Interface’

3.1.7 Keypad Interface


The user 4x4 push button Keypad’s row and columns are listed on the
following table.

Ser No. Signal Signal Description


(LPC21xx) (89v51RD2)
1 Pin 22 (P0.2) Pin 1 (P1.0) COL1
2 Pin 26 (P0.3) Pin 2 (P1.1) COL2
3 Pin 27 (P0.4) Pin 3 (P1.2) COL3
4 Pin 29 (P0.5) Pin 4 (P1.3) COL4
5 Pin 30 (P0.6) Pin 5 (P1.4) ROW1
6 Pin 31 (P0.7) Pin 6 (P1.5) ROW2
7 Pin 33 (P0.8) Pin 7 (P1.6) ROW3
8 Pin 34 (P0.9) Pin 8 (P1.7) ROW4

Table 3.6 ‘Keypad interface’

Copyright © 2006 Oasis Technologies Pvt. Ltd., Pune, M.S., India.


Titan-II User Manual 18

3.1.8 LCD/7-Segment Display Interface


The following table lists details about the LED display interface.

Ser No. Signal Signal Description


(LPC21xx) (89v51RD2)
1 Pin 16 (P1.16) Pin 39 (P0.0) Data 0
2 Pin 12 (P1.17) Pin 38 (P0.1) Data 1
3 Pin 8 (P1.18) Pin 37 (P0.2) Data 2
4 Pin 4 (P1.19) Pin 36 (P0.3) Data 3
5 Pin 48 (P1.20) Pin 35 (P0.4) Data 4
6 Pin 44 (P1.21) Pin 34 (P0.5) Data 5
7 Pin 40 (P1.22) Pin 33 (P0.6) Data 6
8 Pin 36 (P1.23) Pin 32 (P0.8) Data 7
10 Pin 28 (P1.25) Pin 13 (P3.3) RS
11 Pin 14 (P0.29) Pin 16 (P3.7) EN
12 GND GND WR

Table 3.7 ‘LCD Display interface’

3.1.9 Stepper Motor


The following table lists details about the Board’s stepper motor.

Ser No. Signal Signal Description


(LPC21xx) (89v51RD2)
1 Pin 37 (P0.11) Pin 21 (P2.0) Data 0
2 Pin 38 (P0.12) Pin 22 (P2.1) Data 1
3 Pin 39 (P0.13) Pin 23 (P2.2) Data 2
4 Pin 41 (P0.14) Pin 24 (P2.3) Data 3
5 5.0V 5.0V Power
6 GND GND GND

Table 3.8 ‘Stepper Motor’

Copyright © 2006 Oasis Technologies Pvt. Ltd., Pune, M.S., India.


Titan-II User Manual 19

3.1.10 Relay
The following table lists details about the Board’s relay.

Ser No. Signal Signal Description


(LPC21xx) (89v51RD2)
1 Pin 32 (P1.24) Pin 5 (P1.4) Relay On/Off

Table 3.9 ‘Relay’

3.1.11 ADC
The following table lists details about the Board’s ADC.

Ser No. Signal Signal Description


(LPC21xx) (89v51RD2)
1 Pin 13 (P0.28) Not applicable AIN1

Table 3.10 ‘ADC’


Note: The Jumper J5 needs to be closed on 1-2 for the source of analog
input through the Pot P2, else the pin is available (J5 2-3 closed) on
CN10.5 for external analog input source.

3.1.12 Buzzer
The following table lists details about the Board’s buzzer.

Ser No. Signal Signal Description


(LPC21xx) (89v51RD2)
1 Pin 27 (P0.4) Pin 3 (P1.2) Buzzer On/Off

Table 3.11 ‘Buzzer’

3.1.13 Temperature Sensor


The following table lists details about the Board’s ADC.

Ser No. Signal Signal Description


(LPC21xx) (89v51RD2)
1 Pin 13 (P0.28) Not applicable AIN1

Table 3.12 ‘Temperature Sensor’


Note: The Jumper J5 needs to be closed on 2-3 for the source of analog
input from temperature sensor.

Copyright © 2006 Oasis Technologies Pvt. Ltd., Pune, M.S., India.


Titan-II User Manual 20

3.1.14 PS-2
The following table lists details about the Board’s PS-2.

Ser No. Signal Signal Description


(LPC21xx) (89v51RD2)
1 Pin 31 (P0.14) Pin 6 (P1.5) GPIO
2 NC NC NC
3 GND GND GND
4 5.0V 5.0V POWER
5 Pin 34 (P0.9) Pin 8 (P1.7) GPIO
6 NC NC NC
Table 3.13 ‘PS-2’

3.1.15 SD/MMC
The following table lists details about the Board’s SD/MMC.

Ser No. Signal Signal Description


(LPC21xx) (89v51RD2)
1 Pin 55 (P0.11) Pin 26 (P2.5) Data 3
2 Pin 54 (P0.12) Pin 25 (P2.4) CMD
3 GND GND GND
4 3.3V 3.3V Power
5 Pin 47 (P0.12) Pin23 (P2.2) CLK
6 GND GND GND
7 Pin 53 (P0.12) Pin24 (P2.3) Data 0
8 Pin 46 (P0.12) Pin22 (P2.1) Data 1
9 Pin 45 (P0.12) Pin21 (P2.0) Data 2

Table 3.14 ‘SD/MMC’

Note:- Please use bit banging for SPI on 8051 for SD/MMC interface.

Copyright © 2006 Oasis Technologies Pvt. Ltd., Pune, M.S., India.


Titan-II User Manual 21

3.2 Titan-II Board Architecture


The following picture shows the various pin configuration of the Titan-II
board.

Figure 3.1 ‘Titan-II Board Archeitecture’

Copyright © 2006 Oasis Technologies Pvt. Ltd., Pune, M.S., India.


Titan-II User Manual 22

3.3 Titan-II Board Memory Map


The following figure shows how the ARM memory map (4GBytes) is
divided.

Figure 3.2 ‘Titan-II Board Memory Map’

Copyright © 2006 Oasis Technologies Pvt. Ltd., Pune, M.S., India.


Titan-II User Manual 23

3.4 Titan-II Board Connectors


The following figure shows the various connectors provided for the Titan-II
board.

CN4

CN15

CN18

CN5

CN21
CN3

CN8

CN19 CN9 CN2 CN13 CN14 CN10

Figure 3.3 Titan-II Board Connectors

Copyright © 2006 Oasis Technologies Pvt. Ltd., Pune, M.S., India.


Titan-II User Manual 24

3.4.1 Connector CN2: 10 pin External stepper


motor Connector
The following table lists the details of the 10 pin External Stepper
Motor connector.

Ser No. Signal Signal Description


(LPC21xx) (89v51RD2)
CN2.1 Pin 37 (P0.11) Pin 21 (P2.0) IO1
CN2.2 Pin 38 (P0.12) Pin 22 (P2.1) IO2
CN2.3 Pin 39 (P0.13) Pin 23 (P2.2) IO3
CN2.4 Pin 41 (P0.14) Pin 24 (P2.3) IO4
CN2.5 NC NC NC
CN2.6 NC NC NC
CN2.7 NC NC NC
CN2.8 3.3V 3.3V VCC
CN2.9 5.0V 5.0V VCC
CN2.10 GND GND GND

Table 3.15 ‘10 pin Buffered IO connector’

3.4.2 Connector CN3: 10 pin I2C expander IO


connector
The following table lists the details of the 10 pin I2C expander IO
connector.

CN 3.1 CN 3.2 CN 3.3 CN 3.4 CN 3.5 CN 3.6 CN 3.7 CN 3.8 CN 3.9 CN 3.10
IO1 IO2 IO3 IO4 IO5 IO6 IO7 IO8 GND 5.0V

Table 3.16 ‘10 pin I2C expander IO connector’

3.4.3 Connector CN6: 3 Pin Relimate Male


connector for CAN1(Optional)
Ser No. Signal (LPC21xx) Signal Description
(89v51RD2)
CN5.1 Pin 10 Not Applicable CAN-H
CN5.2 Pin 9 (P0.25) Not Applicable CAN-L
CN5.3 GND Not Applicable GND

Table 3.17 ‘3 pin Male connector for CAN1’

Copyright © 2006 Oasis Technologies Pvt. Ltd., Pune, M.S., India.


Titan-II User Manual 25

3.4.4 Connector CN4: 16 pin connector for


16x2 LCD display
The following table lists the details of the 16 pin connector for 16x2 LCD
display.

Ser No. Signal (LPC21xx) Signal Description


(89v51RD2)
CN4.1 GND GND Ground
CN4.2 5.0V 5.0V VCC
CN4.3 P2(Potentiometer) P2(Potentiometer) Contrast
CN4.4 Pin 13 (P0.28) Pin 17 (P3.6) EN
CN4.5 GND GND WR
CN4.6 Pin 14 (P0.29) Pin 16 (P3.7) RS
CN4.7 Pin 16 (P1.16) Pin 39 (P0.0) Data 0
CN4.8 Pin 12 (P1.17) Pin 38 (P0.1) Data 1
CN4.9 Pin 8 (P1.18) Pin 37 (P0.2) Data 2
CN4.10 Pin 4 (P1.19) Pin 36 (P0.3) Data 3
CN4.11 Pin 48 (P1.20) Pin 35 (P0.4) Data 4
CN4.12 Pin 44 (P1.21) Pin 34 (P0.5) Data 5
CN4.13 Pin 40 (P1.22) Pin 33 (P0.6) Data 6
CN4.14 Pin 36 (P1.23) Pin 32 (P0.8) Data 7
CN4.15 5.0V 5.0V Backlight Power
CN4.16 Pin 35 (P0.10) Pin 32 (P0.8) Jumper3 pin1

Table 3.18 ‘16 pin connector for 16x2 LCD display’

3.4.5 Connector CN8: 20 pin JTAG connector


CN CN 8.2 CN 8.3 CN 8.4 CN 8.5 CN 8.6 CN 8.7 CN 8.8 CN 8.9 CN 8.10
8.1
3.3V 3.3V Pin 43 GND Pin 140 GND Pin 113 GND Pin 126 GND
(TRST) (TDI) (TMS) (TCK)

CN CN 8. CN 8.13 CN 8.14 CN 8.15 CN 8.16 CN 8.17 CN 8.18 CN 8.19 CN 8.20


8.11 12
Pin 52 GND Pin 144 GND Pin 135 GND NC GND NC GND
(RTC (TDO) (RESET)
K)

Table 3.19 ‘20 pin JTAG connector’

Copyright © 2006 Oasis Technologies Pvt. Ltd., Pune, M.S., India.


Titan-II User Manual 26

3.4.6 Connector CN5: DB-9 Female connector


for COM1
The following table lists the details of the DB-9 Female connector for
COM1.

Ser No. Signal (LPC21xx) Signal Description


(89v51RD2)
CN5.1 NC NC Not Connected
CN5.2 Pin 19 (P0.0) Pin 11 (P3.0) Transmit
CN5.3 Pin 21 (P0.1) Pin 12 (P3.1) Receive
CN5.4 NC NC Not Connected
CN5.5 GND GND Ground
CN5.6 NC NC Not Connected
CN5.7 NC NC Not Connected
CN5.8 NC NC Not Connected
CN5.9 NC NC Not Connected

Table 3.20 ‘DB-9 Female connector for COM1’

3.4.7 Connector CN13: 6 pin stepper motor


connector
Ser No. Signal (LPC21xx) Description
CN13.1 Pin 37 (P0.11) Data 0
CN13.2 Pin 38 (P0.12) Data 1
CN13.3 Pin 39 (P0.13) Data 2
CN13.4 Pin 41 (P0.14) Data 3
CN13.5 5.0V Power
CN13.6 GND GND

Table 3.21 ‘6 pin stepper motor connector’

Copyright © 2006 Oasis Technologies Pvt. Ltd., Pune, M.S., India.


Titan-II User Manual 27

3.4.8 Connector CN18: DB-9 Female connector


for COM2
The following table lists the details of the DB-9 Female connector for
COM1.

Ser No. Signal (LPC21xx) Signal Description


(89v51RD2)
CN5.1 NC NC Not Connected
CN5.2 Pin 33 (P0.8) NA Transmit
CN5.3 Pin 34 (P0.9) NA Receive
CN5.4 NC NC Not Connected
CN5.5 GND GND Ground
CN5.6 NC NC Not Connected
CN5.7 NC NC Not Connected
CN5.8 NC NC Not Connected
CN5.9 NC NC Not Connected

Table 3.22 ‘DB-9 Female connector for COM1’

3.4.9 Connector CN14: 6 pin Relay O/P


connector
CN 14.1 CN14.2 CN14.3 CN 14.4 CN14.5 CN14.6
NO P NC NO P NC

Table 3.23 ‘6 pin relay O/P connector’

Copyright © 2006 Oasis Technologies Pvt. Ltd., Pune, M.S., India.


Titan-II User Manual 28

3.4.10 Connector CN9: 20 pin connector for


GPIO-1
Ser No. Signal Signal Description
(LPC21xx) (89v51RD2)
CN9.1 Pin 46 (P0.16) Pin 22 (P2.1) IO1/ExtInt0
CN9.2 Pin 47 (P0.17) Pin 23 (P2.2) IO2/SCK1
CN9.3 Pin 53 (P0.18) Pin 24 (P2.3) IO3/MISO1
CN9.4 Pin 54 (P0.19) Pin 25 (P2.4) IO4/MOSI1
CN9.5 Pin 55 (P0.20) Pin 26 (P2.5) IO5/SSEL1/ExtInt3
CN9.6 Pin 1 (P0.21) Pin 27 (P2.6) IO6/PWM5
CN9.7 Pin 2 (P0.22) Pin 28 (P2.7) IO7
CN9.8 Pin 58 (P0.23) NC IO8
CN9.9 Pin 38 (P0.12) Pin 33 (P0.6) IO9
CN9.10 Pin 39 (P0.13) NC IO10
CN9.11 Pin 41 (P0.14) NC IO11/ExtInt1
CN9.12 Pin 45 (P0.15) Pin 21 (P2.0) IO12/ExtInt2
CN9.13 Pin 15 (P0.30) Pin 12 (P3.2) IO13/ExtInt3
CN9.14 NC NC Not Connected
CN9.15 Pin 28 NC IO14
CN9.16 NC NC Not Connected
CN9.17 3.3V 3.3V 3.3V
CN9.18 NC NC Not Connected
CN9.19 GND GND Ground
CN9.20 5.0V 5.0V 5.0V

Table 3.24 ‘20 pin connector for GPIO-1’

Copyright © 2006 Oasis Technologies Pvt. Ltd., Pune, M.S., India.


Titan-II User Manual 29

3.4.11 Connector CN10: 34 pin connector for


GPIO-2
Ser No. Signal Signal Description
(LPC21xx) (89v51RD2)
CN10.1 Pin 32 (P1.24) NC IO1
CN10.2 Pin 28 (P1.25) Pin 13 (P3.3) IO2/ExtInt0
CN10.3 Pin 9 (P0.25) NC IO3
CN10.4 NC NC Not Connected
CN10.5 Pin 11 (P0.27) NC IO5/ADC0
CN10.6 Pin 10 NC IO6
CN10.7 Pin 14 (P0.29) Pin 16 (P3.6) IO7/ADC1
CN10.8 Pin 13 (P0.28) Pin 17 (P3.7) IO8/ADC2
CN10.9 Pin 22 (P0.2) Pin 1 (P1.0) IO9/SCL
CN10.10 Pin 26 (P0.3) Pin 2 (P1.1) IO10/SDA
CN10.11 Pin 27 (P0.4) Pin 3 (P1.2) IO11/SCK0
CN10.12 Pin 29 (P0.5) Pin 4 (P1.3) IO12/MISO0
CN10.13 Pin 30 (P0.6) Pin 5 (P1.4) IO13/MOSI0
CN10.14 Pin 31 (P0.7) Pin 6 (P1.5) IO14/SSEL0
CN10.15 Pin 33 (P0.8) Pin 7 (P1.6) IO15/PWM4
CN10.16 Pin 34 (P0.9) Pin 8 (P1.8) IO16/PWM6
CN10.17 Pin 35 (P0.10) NC IO17
CN10.18 Pin 37 (P0.11) Pin 21 (P2.4) IO18
CN10.19 Pin 16 (P1.16) Pin 39 (P0.0) IO19
CN10.20 Pin 12 (P1.17) Pin 38 (P0.1) IO20
CN10.21 Pin 8 (P1.18) Pin 37 (P0.2) IO21
CN10.22 Pin 4 (P1.19) Pin 36 (P0.3) IO22
CN10.23 Pin 48 (P1.20) Pin 35 (P0.4) IO23
CN10.24 Pin 44 (P1.21) Pin 34 (P0.5) IO24
CN10.25 Pin 40 (P1.22) Pin 33 (P0.6) IO25
CN10.26 Pin 36 (P1.23) Pin 32 (P0.8) IO26
CN10.27 NC NC Not Connected
CN10.28 NC NC Not Connected
CN10.29 3.3V 3.3V 3.3V
CN10.30 NC NC Not Connected
CN10.31 GND GND Ground
CN10.32 5.0V 5.0V 5.0V

Table 3.25 ‘34 pin connector for GPIO-2’

Copyright © 2006 Oasis Technologies Pvt. Ltd., Pune, M.S., India.


Titan-II User Manual 30

3.4.12 Connector CN19: 6 pin PS-2 connector


The following table lists details about the Board’s PS-2.

Ser No. Signal Signal Description


(LPC21xx) (89v51RD2)
1 NC NC NC
2 5.0V 5.0V Power
3 NC NC NC
4 Pin 31 (P0.14) Pin 6 (P1.5) GPIO
5 GND GND GND
6 Pin 34 (P0.9) Pin 8 (P1.7) GPIO

Table 3.26 ‘PS-2’

3.1.13 SD/MMC
The following table lists details about the Board’s stepper motor.

Ser No. Signal Signal Description


(LPC21xx) (89v51RD2)
1 Pin 55 (P0.11) Pin 26 (P2.5) Data 3
2 Pin 54 (P0.12) Pin 25 (P2.4) CMD
3 GND GND GND
4 3.3V 3.3V Power
5 Pin 47 (P0.12) Pin 23 (P2.2) CLK
6 GND GND GND
7 Pin 53 (P0.12) Pin 24 (P2.3) Data 0
8 Pin 46 (P0.12) Pin 22 (P2.1) Data 1
9 Pin 45 (P0.12) Pin 21 (P2.0) Data 2
10 NC NC NC
11 NC NC NC

Table 3.27 ‘SD/MMC’

Copyright © 2006 Oasis Technologies Pvt. Ltd., Pune, M.S., India.


Titan-II User Manual 31

3.5 Titan-II Board Jumpers/Switches


There are various jumpers provided on the Titan-II board so that the user
can configure the board according to their requirements.

These jumpers are located on various parts of the board and they need to
be handled carefully for proper functioning of the board.

The following picture shows the various on-board jumpers.

J3 S6

J1
J2

S1

J12
J13
S7

J9

J15 J5

Figure 3.4 ‘Titan-II Board’s Jumpers and Settings’

Copyright © 2006 Oasis Technologies Pvt. Ltd., Pune, M.S., India.


Titan-II User Manual 32

Titan-II Board Jumpers


3.5.1 Jumper J1 & J2 (Optional)
Jumper J1 & J2 will select USB to Serial Converter (1-2 closed) or COM1
(2-3 closed) for the Serial Communication.

3.5.2 Jumper J3
Jumper J3 will select GPIO controlled LCD Backlight On/Off (1-2 closed)
& LCD backlight on continuously by (2-3 closed).

3.5.3 Jumper J4
Jumper J4 will select USB power for USB to Serial converter (1-2 closed)
& External power for USB to Serial converter (2-3 closed).

3.5.4 Jumper J5
Jumper J5 will connect Port pin 0.27 to the ADC pot (1-2 closed) & the
port pin 0.27 is available for temperature Sensor input & on the CN10.5
(2-3 closed).

3.5.5 Jumper J6, J7,J8, J10, J11, J14, J15 & J16
Jumper J6,J7,J8,J10,J11,J14 & J16 are not available for User.

3.5.6 Jumper J9
Pin 60 (port 1.25 for External interrupt 0) is available on CN5.2 (1-2
closed) or the pin is connected to I2C based IO expander’s (PCF 8574)
INT pin (2-3 closed).

3.5.7 Jumper J12 & J13


Jumper J12 & J13 will select COM2 (1-2 closed) or Keypad (2-3 closed) .

3.5.8 PWM
PWM signal can be checked.

Copyright © 2006 Oasis Technologies Pvt. Ltd., Pune, M.S., India.


Titan-II User Manual 33

Titan-II Board Switches


3.5.9 Switch S1:
Switch S1 is for Power On/Off to the board.

3.5.10 Switch S2, S3 and S4:


Not applicable.

3.5.11 Switch S6:


Selects if the port pins P1.16 through P1.23 is to drive the LCD or 7-Seg
Display

3.5.12 Switch S7:


Switch S7 will Select ISP or RUN mode of the Board.

3.5.13 Switch S8:


Selects if the port pins P0.11 through P0.14 is to drive the Stepper Motor or 7-Seg
Display.

Copyright © 2006 Oasis Technologies Pvt. Ltd., Pune, M.S., India.


Titan-II User Manual 34

Appendix A

Applications using Titan-II board

This section discusses the various applications that can be developed


using the Oasis Titan-II board.

The list of topics covered in this section:


• Feedback Control System
• Motor Control
• Data Acquisition System
• Smart Cards
• Gateway Devices
• Embedded File System
• Embedded Real Time Operating System

Copyright © 2006 Oasis Technologies Pvt. Ltd., Pune, M.S., India.


Titan-II User Manual 35

A.1 Feedback Control System:

A closed loop control system is required for the stability of a dynamic


control system. In order to monitor the stability, a feed back loop is
introduced which measures the output or stability and computes the
corrective action for controlling the input.

Following are some of the examples of a closed loop control system :


• Radar control system.
• Cruise control systems of vehicles.

With Oasis ARM board you can do the following:


• Sense the Vehicle speed, steering wheel and so on, using
on-board
• ADC
• Perform computation.
• Control the Gas/Accelerator pedal using on-board GPIO.
The figure below display how these an be done using an ARM Board.

Figure A.1 ‘Feedback Control System’

Copyright © 2006 Oasis Technologies Pvt. Ltd., Pune, M.S., India.


Titan-II User Manual 36

A.2 Motor Control

Position control of a motor can be fairly simple or complex task and it is


based on the kind of motor we are going to control. The position control of
a DC motor is complex in terms of detecting the exact position of the shaft
and controlling the driver circuitry.

In order to drive a DC Motor, a driver circuit is required, which is controlled


by the PWM generators. The PWM output is controlled by the software,
which on the one end detects the shaft position based on the back EMF
sensors or the Hall Effect transducer. On the other end it computes the
position and drives the PWM output.

Using Oasis ARM board, you can do the following:


• Sense the motor’s shaft position using on-chip ADC.
• Compute the position or speed.
• Control the PWM output using on-board PWM generators.
• Control the Stepper motor using on-board stepper motor drivers.

Copyright © 2006 Oasis Technologies Pvt. Ltd., Pune, M.S., India.


Titan-II User Manual 37

DC Motor Control

Figure A.2 ‘DC Motor Control’

Stepper Motor Control

Figure A.3 ‘Stepper Motor Control’

Copyright © 2006 Oasis Technologies Pvt. Ltd., Pune, M.S., India.


Titan-II User Manual 38

B.3 Data Acquisition System

Data acquisition involves gathering signals from various sources of


measurement, digitization and subsequent presentation of the measure to
a remote or local host for analysis.

The ARM processor based controller on the Oasis ARM board has an on-
chip ADC’s, GPIO, CAN, Serial, USB, Ethernet interfaces that can be
used to develop a sophisticated data acquisition system.

With Oasis ARM board you can do the following:


• Read the Sensor output using an on-chip ADC and GPIO.
• Compute the input and form a protocol packet using the protocol
stack.
• Send the packet to the host with an on-board USB, CAN, Serial
controller.

• In the diagram Ethernet block should not be there, ADC one block
may suffice

Figure A.4 ‘Data Acquisition System’

Copyright © 2006 Oasis Technologies Pvt. Ltd., Pune, M.S., India.


Titan-II User Manual 39

B.4 Smart Cards

Smart cards have applications in various fields such as financial


transactions (credit or debit cards), storing an individual’s personal
information (driver’s license), and in the area of health care and so on.

Oasis ARM board will seamlessly interface with SMART cards through its
on-chip serial port, RTC, to build a terminal device. USB, Ethernet modem
interfaces are available on the board for host communication.

With Oasis ARM board you can do the following:


• Read/Write from/to the Smart card
• Talk to the host using an on-board serial USB and Ethernet
interface and Oasis protocol stack library.

-II

Figure A.5 ‘Smart Card’

Copyright © 2006 Oasis Technologies Pvt. Ltd., Pune, M.S., India.


Titan-II User Manual 40

B.5 Gateway Devices:

In a typical industrial control system, Controller Area Network (CAN) is a y


standard communication protocol and it has many advantages, which
make it suitable for the noisy industrial environment.

A disadvantage with CAN bus protocol is that, the maximum distance


within which communication can take place is limited, due to which, and
as a result monitoring is not possible. However, a gateway device which
can convert Ethernet based protocol to CAN, can overcome limitations of
CAN bus and provide the user the capability of remote monitoring and
control.

With Oasis ARM board you can do the following:


• Communicate with the industrial control system using on-board
CAN controllers and protocol.
• Communicate with the host using on-board Ethernet controller and
TCP/IP protocol stack.

Figure A.6 ‘Gateway Devices’

Copyright © 2006 Oasis Technologies Pvt. Ltd., Pune, M.S., India.


B.6 Embedded File System:

With Oasis ARM board you can:

• Develop a Flash File System to be used by various embedded


applications.
• Oasis ARM board are designed to run a Real Time Operating
System. The boards / tools comprise a port of RTOS’s like uCOS
which can guarantee a real time response to the application.

S-ar putea să vă placă și