HYTEC VME – DAT-TX 2337 * * * * 12 CHANNEL LVDS/OPTICAL

advertisement
************************************************
*
*
*
HYTEC VME – DAT-TX 2337
*
*
*
*
12 CHANNEL LVDS/OPTICAL
*
*
*
*
DATA TRANSMITTER MODULE *
*
*
*
TECHNICAL MANUAL
*
*
*
*
AND CIRCUIT DESCRIPTION
*
*
*
************************************************
HYTEC ELECTRONICS LTD.,
64 AMY STREET
LEICESTER
ENGLAND
LE3 2FB.
Doc:
Issue:
Date:
Author:
UM2337
1.0
06/01/2004
PJM
Doc:
Issue:
Page:
Date:
Author:
CONTENTS
1.
Introduction
2.
DAT-TX Module - Register Set Overview
3.
Setting Up - Jumpers
4.
VME Interface - Full Register Set Description
5.
Control and Status Register Format
6.
Interrupts
7.
Detailed Operating Sequence
8.
Pin Connections
9.
Indicators
UM2337
1.0
1/7
06/01/2004
PJM
Doc:
Issue:
Page:
Date:
Author:
1.
UM2337
1.0
2/7
06/01/2004
PJM
Introduction
This single width 6U high VME module contains 11 differential ECL data inputs, one differential ECL
external clock input, mark/space balancer circuits and an LVDS differential output stage. There are twelve LVDS
output pairs carrying eleven data lines and one timing signal. A parallel optical output stage is provided as an
option for the same twelve signals. The unit uses J1 and J2 as standard for the normal VME interface and JAUX
for ECL power rails and optional geographical addressing.
2.
DAT-TX Module - Register Set Overview
The module is equipped with a complete set of VME registers in A16 (short addressing) space, in line
with Hytec's standard scheme which is modelled on the VXI Configuration Register set, see Figure 1.
This register set comprises the following:a)
b)
c)
d)
e)
f)
g)
An ID register, indicating manufacturer and type.
A vector register, for programming interrupt acknowledge data.
A Model Code register, showing 2337 decimal, the unit's type no.
A Control and Status Register through which the unit is
controlled and its status observed.
A Memory Attributes Register, not used.
A Memory Offset register, not used.
A 16-bit channels 0-11 test output register,
3.
Setting Up - Switches and Jumpers
Before installing the module, there are some jumpers to configure as follows:Jumper J7 selects the address selection mode. This can be either jumper selection or geographical address. If
the unit is used in a CERN specification V430 crate with JUAX (the centre 30-way DIN connector) with
geographical addressing, remove J7 and the module’s start address in A16 space will be set automatically
Jumpers J6 to J2: These set the board's VME Base address in A16 (short addressing) space when jumper J7 is
IN – jumper selection mode.
Jumpers J6 to J2 ‘OUT’ or ‘IN’ select '1' or '0' respectively for each of 5 address lines. J6 corresponds to address
line A13, J2 to A09. The jumper ‘OUT’ means that the corresponding address line must be a '1', jumper ‘IN’
means the address line must be '0'. Address lines A15 and A14 must both be '1' to start at HEX C000 in line with
Hytec's standard 'VXI' scheme.
For example: To select D600 as the start address:
A15
1
A14
1
fixed fixed
A13
0
A12
1
A11
0
A10
1
A09
1
J6
J5
J4
J3
J2
IN
OUT
IN
OUT OUT
A08
x
A07
x
A06
x
Doc:
Issue:
Page:
Date:
Author:
4.
UM2337
1.0
3/7
06/01/2004
PJM
VME Interface - Full Register Set Description
All registers in this module should be accessed in 16-bit mode, that is they are all D16 compatible. For some, the
'top half' has no meaning, but accesses to these will have no effect.
Running through our 'Overview' list (sect. 2), the following is a full description of the format and function of each
register.
Item
Name
Offset from Base Address (HEX)
a)/b)
ID/Vector
+ 00h
The ID register and Vector register are at the same address. You read the ID and write the vector. The Vector
can be read back for diagnostic purposes at offset 0Ch.
Reading the ID gives HEX FF7F, where 'F7F' on bits 0-11 is Hytec's unique VXI identifier, and 'F' on bits 12-15
means that this unit is A16 register based unit only.
Writing an 8 or 16-bit number to this location (D0-D7 or D15) stores a vector with which it will respond during
interrupt acknowledge cycles.
c)
Model Code
+ 02h
This simply shows the unit's Hytec catalogue number, which is 2337 decimal.
d)
Control and Status Register + 04h
This is a 16-bit register (CSR for short) through which the DOT-TX module is controlled and its status observed.
It implements first a RESET system, which is used to provide a software reset function. In addition to this, there
are several 'fixed' bits, which derive from the VXI spec. and then the following:i) Interrupt Enable - one bit to enable the output of the logic as an interrupt source.
ii) Three bits, IPL0, IPL1 and IPL2 that correspond to the IRQ line to be driven and which level of interrupt
acknowledge to respond to (see section 6).
iii) An Output Enable bit for controlling the output of the front-end latch. This is used to turn off these outputs so
that a test pattern can be introduced
iv) An Output Enable bit for the optical transmitter module.
v) A clock selection bit to allow the on-board master 25MHz clock or an external clock to be used for the
mark/space compensation logic.
Other bits are described in more detail in section 5.
Doc:
Issue:
Page:
Date:
Author:
4.
UM2337
1.0
4/7
06/01/2004
PJM
VME Interface - Full Register Set Description (cont.)
e)
Offset register
+ 06h
Not used.
f)
Memory Attributes Register + 08h
Not used.
g)
Test Output Channels 0-10 Register + 14h
This 16-bit register, which can be written and read at any time, provides a means to introduce test data into the
data output stream. Provided the latch output enable line is turned off in the CSR, this data will be presented to
the mark/space compensation networks for output. Only eleven of the bits in this register (bits 0-10) have any
relevance to external data.
Doc:
Issue:
Page:
Date:
Author:
5.
UM2337
1.0
5/7
06/01/2004
PJM
Control and Status Register Format
The format of this register is as follows:15
x
RST:
14
x
13
x
12
x
11
x
10
SP
09
08
07
06
05
04
03
02 01 00
SP CKSEL INTEN OEL EN1 IPL2 IPL1 IPL0 1 RST
Writing a ‘1’ to this bit resets the control logic.
IPL2, 1,0: These select the IRQ line to be driven and the level that the card will respond to with its interrupt
acknowledge vector.
EN1:
Writing a ‘1’ to this bit enables the laser in the optical transmitter module.
OEL: This (when set to ‘0’) enables the outputs of the front-end buffers. Writing a ‘1’ to this bit disables these
signals and allows test data to be output.
INTEN: This bit enabled the IRQ output of the board. ‘1’ = enabled.
CKSEL: When set to ‘1’, the external clock input of the unit will be enabled. When set to zero, the on-board
25MHz master clock will be used.
SP:
Spare control/status bits. Can be written and read.
Other bits:
‘1’ means always read as ‘1’, writing has no effect. ’x’ means reserved, can be written and read.
Doc:
Issue:
Page:
Date:
Author:
6.
UM2337
1.0
6/7
06/01/2004
PJM
Interrupts
The interrupt output of the unit is the logical OR of the interrupt source bits ANDed with the INTEN (interrupt
enable) bit.
At this time, there are no declared interrupt source bits in the logic. These will be added later as required.
7.
Detailed Operating Sequence
When powered on, this unit will be in a defined ‘default’ state in which it requires no intervention from VME in
order to transmit the incoming data over the differential LVDS bus. Only if you wish to use the fibre-optic laser
transmitter or impose your own test data do you need to give this module any commands over the VME bus.
8.
Pin Connections
There is one 34-way header on the unit. This carries differential ECL input channels 0-10, with the positive input
signals on the odd pin numbers. Looking at the front of the unit, pin 1 is bottom right.
There are then four spare differential ECL input channels 11-14, again with the positive ECL input on the odd pin
numbers, which go directly to the Xilinx after conversion to TTL levels, and one differential ECL clock signal
which may be used if desired.
The eleven data signals, now in TTL format then pass through a piece of logic which attempts to keep their
mark/space ratio at nearly 50/50 using a clock and exclusive OR gates. These signals plus the clock then go to
LVDS drivers and then to the cable.
The LVDS outputs connect to a 26-way header. Pins 1-22 carry the eleven mark/space compensated data
outputs TX0+/- to TX10+/-, with the positive outputs again on the odd numbered pins. Pins 23 and 24 carry the
transmit clock from the TX logic.
9.
Indicators
The unit carries thirteen front panel indicator LEDs. The lowest one, nearest to the 34-way input connector,
flashes every time the unit detects its VME address. The eleven LED’s above this show the state of the output
data, either from the front panel inputs or from the internal test register. An LED ‘ON’ in this section indicates that
the signal is at a logical ‘1’. The top-most LED indicates the state of the least significant bit.
At the top of the front panel is one final LED which is illuminated when the fibre-optic transmitter’s laser is active.
Download