OXFORD OX16PCI954 User Guide

UG-0011 Jan 05
OX16PCI954
Oxford Semiconductor Limited 25 Milton Park Abingdon Oxfordshire OX14 4SH, UK (44) 1235 824900
User Guide
http://www.oxsemi.com
OX16PCI954 Evaluation Board User Guide
All trademarks are the property of their respective owners
© Oxford Semiconductor Limited 2005
The content of this manual is furnished for informational use only, is subject to change without notice, and should not be construed as a commitment by Oxford Semiconductor Limited. Oxford Semiconductor Limited assumes no responsibility or liability for any errors or inaccuracies that may appear in this book.
ii External—Free Release UG-001 1 Jan 05

Contents

Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .v
Revision Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v
Typographic Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v
Product Details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .vi
Contacting Oxford Semiconductor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .vi
Chapter 1 Evaluation Board Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2
Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2
Board Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3
Chapter 2 Evaluation Board Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
Jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
Headers & Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Chapter 3 Configuring the Evaluation Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Device Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12
EEPROM Configuration Using OxProm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14
Motorola Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14
Selecting Clocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
UG-0011 Jan 05 External—Free Release iii
Contents OX16PCI954 Evaluation Board User Guide
Appendix A Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Driver Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Using the Serial Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Using the Parallel Port Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Appendix B RS422 & RS232 Connector Pin Assignment . . . . . . . . . . . . . . . . . . . . . . 23
RS422 Connector Pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
RS232 Connector Pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
DB9-to-DB25 Converter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
RS232 Loop-Back Test Plugs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
RS232 Null Modem Cables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
RS232 monitor cable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Appendix C Customizing the Device Vendor ID & Subsystem ID . . . . . . . . . . . . . . . . 29
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Appendix D Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
iv External—Free Releas e UG-0011 Jan 05

Preface

The OX16PCI954 evaluation board provides an environment in which the various modes and features of the OX16PCI954 device can be demonstrated.
This guide documents the board and explains how to use it to develop systems using the Oxford Semiconductor OX16PCI954 device. It is relevant to developers working on implementations using those products and should be read before using it, to avoid the possibility of usage errors.
This manual assumes that you understand the capabilities of Oxford Semiconductor UART products, and are familiar with PCI and PC card bus interfaces.
Revision
Table I documents the revisions of this manual
Information
Table I Revision Information
Revision Modification
January 2005 First publication in revised house style
Typographic
In this manual, the conventions listed in Table II apply.
Conventions
Table II Typographic Conventions
Convention Meaning
Italic Letters With Initial Capital Letters A cross-reference to another publication
Courier Font Software code, or text typed in via a keyboard
Bold Letters A program, function, class, or method 1, 2, 3 A numbered list where the order of list items is significant
“Title” Cross-refers to another section within the document
UG-0011 Jan 05 External—Free Release v
A list where the order of items is not significant
Significant additional information
Preface OX16PCI954 Evaluation Board User Guide

Product Details

Contacting Oxford Semiconductor

The order code for the OX16PCI954 evaluation board is EV-OX16PCI954.
Oxford Semiconductor contact details:
Oxford Semiconductor Ltd.
25 Milton Park Abingdon Oxfordshire OX14 4SH
United Kingdom
Website: http://www.oxsemi.com
Telephone: +44 (0) 1235 824900 Fax: +44 (0) 1235 821141
Email: sales@oxsemi.com
Alternatively, you can contact your local representative.
vi External—Free Release UG-0011 Jan 05
Chapter 1
Evaluation Board
Overview
The OX16PCI954 evaluation board kit contains the following items:
OX16PCI954 evaluation board (5-V input) with embedded
OX16PCI954 & additional OX16C954 chip
Octopus 8- or 4-way serial cable
Parallel port cable
Additional serial port cable expander
Board documentation, standard configuration files and utility tools such as OxProm are available from the Oxford Semiconductor website.

Features The evaluation board is an adaptable tool with configurable features

including the following:
4 × OX16C954 UARTs (2xRS232, 2xRS422) accessible via a
standard 37-way D-type interface
8-bit local bus function to drive an external OX16C954 UART
(2×RS232, 2×RS422) from a similar interface
Parallel port function via a standard 25-way D-type header
Serial EEPROM socket for maximum device configurability
Internal crystal oscillator, or any frequency via a TTL oscillator
socket (switchable)—the external OX16C954 can be driven either from the TTL module or directly from the LB_Clk_Out pin of the PCI device
Isochronous mode for the internal UARTs via simple connections
Test points so that signals on any bus can be observed easily
UG-0011 Jan 05 External—Free Release 1
Evaluation Board Overview OX16PCI954 Evaluation Board User Guide

Configuration The evaluation board is a valuable tool for assessing the behavior of the

OX16PCI954 device and can be configured to support systems using the following selectable capabilities:
8-port serial card
4-port serial/1-port parallel card
4-port serial card with pin-assignable subsystem ID & subsystem
vendor ID
32-bit bridge
Chapter 3 Configuring the Evaluation Board explains the board settings required to operate the OX16PCI954 in these modes.
However, the flexibility of the OX16PCI954 allows users to extend the capabilities of the chip beyond its primary modes. For example, it is possible to use the OX16PCI954 in other solutions as follows:
4-port serial/2-port parallel card
2-port serial/1-port parallel card
1-port parallel card
4-port serial/1-port custom FPGA synchronous I/O controller on
the local bus
The correct driver for a specific device mode is selected depending on the vendor, device and subsystem IDs. For the primary modes of the OX16PCI954, IDs are pre-allocated and hard-coded; they should not be changed. However, for customized operational modes, it is necessary to change the ID fields so that the Windows Plug and Play system can differentiate boards (even though they use the same chip) and load the correct driver. Appendix C Customizing the Device Vendor ID &
Subsystem ID outlines recommended procedures for reconfiguring the
hardware drivers to identify custom add-in card configurations.

Drivers The drivers provided for the OX16PCI954 evaluation board have been

written for Windows 2000, Windows NT and Windows XP operating systems. Although drivers are also available for Linux, they have not been written by Oxford Semiconductor and Oxford Semiconductor cannot be held responsible for any aspect of their performance.
2 External—Free Release UG-0011 Jan 05
For further information about device drivers, see “Drivers” on page 11.
OX16PCI954 Evaluation Board User Guide Evaluation Board Overview

Board Layout Figure 1 on page 3 shows the OX16PCI954 evaluation board.

Figure 1 OX16PCI954 Evaluation Board
Figure 2 identifies the principal features on the device.
Figure 2 OX16PCI954 Evaluation Board Features
IC1 External OX16C954
JP4 CLKsel
1
Serial Ports
JP1 External OX16C954
P2 OX16PCI954 Serial Ports
1
JP6 LK1
1
1
JP1 Parallel Port
PCI Connector
U1
OX16PCI954
JDH1 Test Pin Header
1
JP2 XTALsel
1
Oscillator
JP5 RIO link
1
EEPROM
JS1
Crystal Socket
1
JP3
JC7
Serial
For greater detail, a reference schematic for the OX16PCI954 evaluation board can be requested from Oxford Semiconductor.
Chapter 2 Evaluation Board Features gives further details about the features of the OX16PCI954 evaluation board.
UG-0011 Jan 05 External—Free Release 3
Evaluation Board Overview OX16PCI954 Evaluation Board User Guide
This page is intentionally blank
4 External—Free Release UG-0011 Jan 05
Chapter 2
Evaluation Board
Features
The OX16PCI954 evaluation board contains a variety of sockets, jumpers, connectors and headers, which enhance its flexibility.

Jumpers Tabl e 1 details the jumpers on the board and their use.

Table 1 Jumpers on the OX16PCI954 Evaluation Board
Jumper Use Selection
JP2 XTALsel Selects the oscillator type for the
OX16PCI954
JP4 CLKsel Selects the oscillator type for the
external UART
(2)
RIO link
Note:
1 If this is fitted, a TTL crystal oscillator must be connected to JS1. 2 If this is used, MIO0 must be reconfigured in LCC, otherwise an interrupt is constantly present on
function 0
Connects MIO 0 to RI of either PCI UART channel 0 or external UART channel 0
Crystal oscillator (as supplied)
TTL oscillator
LB_Clk_out(as supplied)
TTL module External UART RIO
PCI UART RIO Open (as supplied)
(1)
UG-0011 Jan 05 External—Free Release 5
Evaluation Board Features OX16PCI954 Evaluation Board User Guide

Headers & Connectors

The OX16PCI954 evaluation board has the following headers and connectors:
JP3—configuration header
JP6 LK1—DTR/DSR header for RS422 channels
JDH1—test header
P2—37-way D-type connector
JP1—header giving access to the external UART serial ports
JP7—parallel port header
JP3
Figure 3 shows JP3, the 10×2 configuration header on the evaluation
board.
Figure 3 JP3 Configuration Header
1
Quad FIFO Select# NC NC INTEN# Intel/Motorola Mode# RS422 Enable NC Mode1 Mode 0 PCI FIFOSEL
Table 2 lists the pins on JP3 and explains their use.
Table 2 JP3 Settings
Pin Pair Fitted Open
External FIFOSEL# External UART has 128-byte deep FIFOs (as
supplied) LPTBUF# Parallel port transceiver disabled (as supplied) Parallel port transceiver enabled Low Power Enable Allow driver to shut down the RS232 line drivers RS232 line drivers always enabled (as supplied) INTEN# External UART interrupts enabled (as supplied) External UART interrupt-enables depend on
Intel/Motorola# Mode Motorola-type local bus Intel-type local bus (as supplied) RS422 Enable Enable RS422 line drivers (as supplied) Disable RS422 line drivers Test Always short Do not open the connection
Mode1 Mode0
(1) (1)
Mode[1] = 1 Mode[1] = 0 (as supplied)
Mode[0] = 1 Mode[0] = 0 (as supplied) PCI FIFOSEL PCI UART has 128-byte deep FIFOs (as supplied) PCI UART has 16-byte deep FIFOs
Note: 1 The combined effect of these pin settings determines the operational mode of the evaluation board; see
Chapter 3 Configuring the Evaluation Board for further details.
External UART has 16-byte deep FIFOs
MCR[3]
6 External—Free Release UG-0011 Jan 05
OX16PCI954 Evaluation Board User Guide Evaluation Board Features

JP6 LK1

Figure 3 shows JP6 LK1, which is the 5×2 DTR/DSR header for RS422
channels on the evaluation board.
The OX16PCI954 evaluation board supports two RS422 ports. Data transfer rates are much greater using RS422 protocol, because it uses differential signalling. However, RS422 connectors only allow for CTS/ RTS flow control. JP6 LK1 provides access to the hardware lines necessary to provide DTR/DSR flow control in addition to conventional CTS/RTS flow control.
Figure 4 JP6 LK1
1
DSR2­DSR2+ GND DSR3­DSR3+
DTR2­DTR2+ DTR3­DTR3+ NC
RS422 connection via a 9-way D connector is documented in Appendix B
RS422 & RS232 Connector Pin Assignment.

JDH1

Figure 5 shows JDH1, which is the test header on the evaluation board.
All non-PCI pins can be accessed from this header.
Figure 5 JDH1
1 32 A B C
Table 3 on page 8 lists the pin allocations on JDH1.
.
UG-0011 Jan 05 External—Free Release 7
Evaluation Board Features OX16PCI954 Evaluation Board User Guide
Table 3 P1 Pin Allocations
Pin No.
1 MIO 0 MIO 1 MIO 2 2 MIO 3 MIO 4 MIO 5 3 MIO 6 MIO 7 LBRST# 4 PE BUSY ACK# 5 SLCT ERR# LBCS0# 6 LBCS1# LBCS2# LBCS3# 7LBRD# LBWR# GND 8 GND LBCLK GND
9 SLIN# INIT# AFD# 10 STB# GND LBDOUT 11 LBD0 LBD1 LBD2 12 LBD3 GND LBD4 13 LBD5 LBD6 LBD7 14 MIO 8 MIO 9 MIO 10 15 MIO 11 RXD5 RI5 16 DCD5 DSR5 CTS5 17 DTR5 RTS5 GND 18 GND GND GND 19 SOUT5 SOUT4 RTS4 20 DTR4 CTS4 DSR4 21 DCD4 RI4 GND 22 GND UART_Clk GND 23 SIN4 SIN1 RI1 24 DCD1 DSR1 CTS1 25 DTR1 RTS1 SOUT1 26 SOUT0 RTS0 DTR0 27 CTS0 DSR0 DCD0 28 RI0 SIN0 GND 29 GND FIFOSEL VCC 30 GND TEST VCC 31 GND MODE1 VCC 32 GND MODE0 VCC
Row A Row B Row C
P2
On the evaluation board, P2 is a 37-way D-type connector which is used to access the PCI UART serial ports. Table 4 on page 9 lists the pin allocations on the connector.
8 External—Free Release UG-0011 Jan 05
Loading...
+ 30 hidden pages