• PGA Version available, (second source to the BUS-66312)
• Compatible with MIL-STD-1750 CPUs
• Compatible with MOTOROLA, INTEL, and ZILOG CPUs
• Compatible with Aeroflex’s CT2565 BC/RT/MT and CT2512 RT
• Minimizes CPU overhead
• Signal controls for shared memory implementation
• Transfers complete messages to shared memory
• Provides memory mapped 1553 interface
• Packaging – Hermetic Metal
• 78 Pin, 2.1" x 1.87" x .25" PGA type package
• 82 Lead, 2.2" x 1.61 x .18" Flat Package
Description
Aeroflex CT2566 MIL-STD-1553 to Microprocessor Interface Unit simplifies the CPU to 1553 Data
Bus interface. The CT2566 provides an interface by using RAM allowing the CPU to transmit or
receive 1553 traffic simply by accessing the memory. All 1553 message transfers are entirely
memory or I/O mapped. The CT2566 supports 1553 interface devices such as Aeroflex's CT2512
dual RT or the CT2565 dual BC, RT, and MT. The CT2566 operates over the full military -55°C to
+125°C temperature range.
The CT2566 was designed to perform required
handshaking to the 1553 interface device, storing
or retrieving message(s) from a user supplied
RAM and notifying the CPU that a 1553
transaction has occurred. The CPU uses this
RAM to read the received data as well as to store
messages to be transmitted onto the Bus.
The CT2566 can be used to implement BC, RT,
or MT operation and can be either memory
mapped or I/O mapped to CPU address space.
Registers internal to the CT2566 control its
operation.
The CT2566 can access up to four external,
user supplied registers and can address up to
64K words of RAM. The RAM selected must be a
non-latched static RAM (capable of meeting the
timing constraints for the CT2566). A double
Aeroflex Circuit TechnologySCDCT2566 REV B 8/10/99 Plainview NY (516) 694-6700
buffering architecture is provided to prevent
incomplete or partially updated information from
being transmitted onto the 1553 Data Bus.
The CT2566 requires an external, user supplied
clock.
COMPATIBLE MICROPROCESSOR TYPES
The CT2566 may be used with most common
microprocessors, including, the Motorola 68000
family, the Intel 8080 family, Zilog Z8000
products, and available MIL-STD-1750
processors.
Interfacing the CT2566 to the 1553 Data Bus
requires external circuitry such as Aeroflex’s
CT2565(BC/RT/MT) and ACT4489D
transceivers. Figure 2 shows the interconnection
for these components.
2
Page 3
PIN NO.NAMEI/ODESCRIPTION
1SELECT
2RD/WR
3READYD
I
I
O
Select. When active, selects CT2566 for operation.
Read/Write. Controls CPU bus data direction.
Ready Data. When active indicates data has been received
from, or is available to the CPU.
4EXTEN
O
External Enable. Output from CT2566 to enable output from
external devices. Same timing as MEMOE
5TAGEN
O
Tag Enable. Enables an external time tag counter for
transferring the time tag word into memory.
6EOM
I
End of Message. Input from 1553 device indicating end of
message.
7SOM
I
Start of Message. Input from 1553 device indicating start of
message in RTU mode.
8STATERR
I
Status Error. Input from 1553 device when status word has
either a bit set or unexpected RT address (in BC mode only).
9ADRINC
I
Address Increment. Sent from 1553 device to increment
address counter following word transfer.
10MEM/REG
I
Memory/Register. Input from CPU to select memory or
register data transfer.
11CLOCK INI
12LOOPERR
13BUSREQ
I
I
Clock input; 50% duty cycle, 12MHz, max.
Loop Error. Input from 1553 device if short loop BIT fails.
Bus Request. When active, indicates 1553 device requires
use of the address/data bus.
14BUSGRNT
O
Bus Grant. Handshake output to 1553 device in response to
BUS REQUEST indicating address/data bus available to
1553 device.
15Not Used-
16MEMCS
O
-
Memory Chip Select. Low from CT2566 to enable external
RAM. Used with 4K x 4 RAM type device to read RAM or
used in conjunction with MEMWR
17OE
I
Output Enable. Input from 1553 device used to enable
memory on the parallel bus.
18N/C-
19NBGRNT
I
Not Used.
Low pulse from 1553 device preceding start of received new
protocol sequence. Used with superseding command to reset
DMA in progress.
20+ 5 VoltI
21D15I/O
22D13I/O
23D11I/O
24D09I/O
25D07I/O
26D05I/O
Logic power supply.
Data Bus Bit 15 (MSB).
Data Bus Bit 13.
Data Bus Bit 11.
Data Bus Bit 9.
Data Bus Bit 7.
Data Bus Bit 5.
27D03I/OData Bus Bit 3.
.
to write data into RAM.
Table 2 – Pin Functions (78 Pin DIP)
Aeroflex Circuit TechnologySCDCT2566 REV B 8/10/99 Plainview NY (516) 694-6700
3
Page 4
PIN NO.NAMEI/ODESCRIPTION
28D01I/OData Bus Bit 1.
29SSFLAG
O
Subsystem Flag. Output to 1553 device to set RT subsystem
flag status bit.
30SSBUSY
O
Subsystem Busy. Output to 1553 device to set RT subsystem
busy flag.
31RTU/BC
O
Output to 1553 device used in conjunction with MT to set
operating mode.
32A14OAddress Bit 14.
33A12OAddress Bit 12.
34A10OAddress Bit 10.
35A08OAddress Bit 8.
36A06OAddress Bit 6.
37A04OAddress Bit 4.
38A02I/OAddress Bit 2.
39A00I/OAddress Bit 0 (LSB).
40GND-Signal Return.
41STRBD
I
Strobe Data. Used in conjunction with SELECT
data transfer cycle to/from CPU.
42IOEN
O
Input/Output Enable. Output from CT2566 to enable external
buffers/latches connecting the hybrid to the address/data
bus.
43EXTLD
O
External Load. Used to load data into external device via the
CT2566 data bus. Same timing as MEMWR
44CHB/CHA
Input from 1553 in RT mode used to indicate received 1553
message came in either Channel A or B.
to indicate a
.
45INT
46BCSTART
47RESET
48MSGERRI
49CTLIN B/A
50CTLOUT B/A
51TIMEOUT
52MSTRCLR
53BUSACK
54WR
55CS
Table 2 – Pin Functions (78 Pin DIP) (Cont.)
OInterrupt. Interrupt pulse line to CPU.
OBus Controller Start. Outputs to 1553 in initiate BC cycle.
O
Reset. Output to external device from CT2566 consisting of
the OR condition of CPU reset and CPU Master Clear.
Message Error. Input from 1553 device when an error occurs
in message sequence.
IInput to change active memory map area (0 = area A).
O
Output from CT2566 selecting which area is to be active (0 =
area A).
IInput from 1553 device indicating no response time-out.
I
Master Clear. Power-on reset from CPU. Resets DMA in
progress and internal registers to logic “0”.
I
Bus Acknowledge. Input from 1553 device acknowledge
receipt of BUSGRNT
.
IWrite. Input from 1553 device for writing data into memory.
I
Chip Select. Input from 1553 device that is routed to
MEMCS
.
Aeroflex Circuit TechnologySCDCT2566 REV B 8/10/99 Plainview NY (516) 694-6700
4
Page 5
PIN NO.NAMEI/ODESCRIPTION
56
MEMOE
OMemory Output Enable. Output from CT2566 to enable
memory output data.
57MEMWRO
Memory Write. Output pulse from CT2566 to write data bus
data into memory.
58Not Used--
59MT
O
Bus Monitor. Used in conjunction with RTU/BC
operating mode.
60D14I/OData Bus Bit 14.
61D12I/OData Bus Bit 12.
62D10I/OData Bus Bit 10.
63D08I/OData Bus Bit 8.
64D06I/OData Bus Bit 6.
65D04I/OData Bus Bit 4.
66D02I/OData Bus Bit 2.
67D00I/OData Bus Bit 0 (LSB).
68SVCREQ
O
Service Request. Used to set service request bit in RT Status
Word.
69DBAC
O
Dynamic Bus Acceptance. Used to set status bit in RT Status
Word.
Aeroflex Circuit TechnologySCDCT2566 REV B 8/10/99 Plainview NY (516) 694-6700
6
Page 7
MEMORY MANAGEMENT
BUS-66300
Figure 3 – Synchronized map switching u
the CT2566
The RAM used by the CT2566 can be any standard
static memory with a WRITE STROBE pulse width
requirement less than 70ns. The RAM area is broken
down into pointers, look-up tables, and data blocks. All
1553 operation control is accomplished through the
RAM, including fault monitoring and data block
transfers.
For most applications, a 4K x 16 memory is sufficient
to store the number of messages, but the CT2566 can
access up to 64K words.
DOUBLE BUFFERING
A Double Buffering system is available to prevent
partially updated data blocks from being read by the
CPU or transferred onto the 1553 Data Bus. To use
Double Buffering the CPU must divide the RAM into
two areas: “current” and “non-current”. Two Stack
Pointers, Descriptor Stacks, and Look-Up Tables are
required to be used by the CPU.
The 1553 device has access only to the current area
of RAM, and will use the current Descriptor Stack and
Look-Up Table. While the 1553 device is processing
messages using the current area pointers, the CPU
can be setting up the next set of messages in the
non-current area of RAM.
Once an EOM or BCEOM occurs, the CPU can swap
the current and non-current areas by toggling bit 13 of
the Configuration Register (See register section for
description). The 1553 device will then have access to
the new current area. Meanwhile, the CPU can begin
processing the data received during the previous
transfer or can begin setting up the next set of 1553
messages.
to ensure that the swapping of the current and
non-current areas doesn’t occur while the CT2566 is
processing a message from the 1553 device. During
message processing, the INCMD
CPU’s map area selection is inhibited. CTLIN B/A
is a logic "0" and the
will
be automatically latched back into the CT2566 when
INCMD
and NODT change to a logic "1".
DESCRIPTOR STACK
The CT2566 uses a Descriptor Stack in BC and RTU
modes. Each stack entry contains four words which
refer to one 1553 message (See Figure 4). The Block
Status Word, shown in Figure 5, indicates the physical
bus which received the message (RTU mode), reports
whether or not an error was detected during message
transfer, and indicates whether the message was
completed (SOM replaced with EOM).
The user-supplied Time-Tag word is loaded at the
start of a message transfer and is updated at the end of
the transfer.
The contents of the fourth word in the Descriptor
Stack depends on the operating mode. In BC mode, it
contains the address of the message data block
containing the 1553 message formatted as shown in
Figure 6. In RTU mode, the word contains the received
1553 Command Word as shown in Figure 7.
A Stack Pointer must be initialized by the CPU. The
Descriptor Stack contains 64, four word entries, and
BLOCK STATUS WORD
TIME TAG WORD
RESERVED
MESSABE BLOCK ADDRESS
50 CTLOUT B/A
INCMD
NODT
12 MHz
49 CTLIN B/A
Notes:
(1) INCMD
(2) CTLOUT B/A
(3) CTLIN B/A
is from the BUS-65600 or BUS-65112.
reflects bit 13 of the Configuration Register.
is used to select the current area.
DQ
LS74
C
Q
An external circuit (shown in Figure 3) can be added
Aeroflex Circuit TechnologySCDCT2566 REV B 8/10/99 Plainview NY (516) 694-6700
BC DESCRIPTION BLOCK
BLOCK STATUS WORD
TIME TAG WORD
RESERVED
RECEIVED COMMAND WORD
RTU DESCRIPTION BLOCK
Figure 4 – Descriptor Stack Entries
automatically wraps around (the 64th entry is followed
by the first entry). The 1553 device uses the current
area Stack Pointer to determine the address of the
Stack entry to be used for the current 1553 message.
The CT2566 automatically increments the current area
Stack Pointer by four upon the completion of each
7
Page 8
message regardless of whether or not an error was
External Register
detected during the processing of that message.
LOOK-UP TABLES
In RTU mode a Look-Up Table is provided to allow
the CT2566 to store messages in distinct areas of RAM
based upon the subaddress of the received command
word. See RTU operation for details.
The CT2566 uses the T/R
bits to form a pointer into the “current area” Look-Up
Table. The first 32 words of this table are initialized by
the user with the addresses of the data blocks to be
used for receiving data into subaddress 0,1,2,…31.
The next 32 words are initialized by the user with the
address of the data blocks to be used when
transmitting data from subaddress 0,1,2,…31.
and the five subaddress
CT2566 REGISTERS
The CT2566 is controlled through the use of three
internal registers: the Interrupt Mask Register,
Configuration Register, and Start/Reset Register. In
15 14 13 12 11 10 9876543210
11111111
addition, the CT2566 can access up to four external,
user supplied registers. Possible external register
applications include: defining the RTU address, storing
a CPU Time Tag, and reading a captured Built-In-Test
(BIT) Word from the 1553 interface unit. For further
information, consult factory.
1553 status word bit.
1553 status word bit.
1553 status word bit.
1553 status word bit.
STOP ON ERRORCauses BC to stop at the end of current data block if an error is detected.
CONTROL AREA B/A
RTU/BC
/MTOperating Mode.
Used for double buffering (See Double Buffering).
Bit 15 Bit 14
Mode
00BC
01
10
11
MT
RTU
ILLEGAL
Figure 8 – Configuration Register
Aeroflex Circuit TechnologySCDCT2566 REV B 8/10/99 Plainview NY (516) 694-6700
8
Page 9
15 14 13 12 11 10 9876543210
11111111
LOOP TEST FAIL
RESPONSE TIME OUT (BC ONLY)
FORMAT ERROR
STATUS SET (BC ONLY)
ERROR FLAG
CHB/CHA
(RTU ONLY)
SOM
EOM
Note: In BC mode Bit 13, CHB/CHA contains a logic "0" regardless of which channel is used.
Figure 5 – Block Status Word
CONFIGURATION
REGISTER
CONFIGURATION
REGISTER
CURRENT
AREA B/
A
01315
STACK
POINTERS
Note: User may opt to share memory block(s).
Figure 6 – Use of Descriptor Stack – BC Mode
STACK
POINTERS
01315
DESCRIPTOR
STACKS
DESCRIPTOR
STACKS
BLOCK STATUS WORD
TIME TAG WORD
RESERVED
MESSAGE
BLOCK ADDR
LOOK-UP TABLE
(DATA BLOCK ADDR)
DATA
BLOCKS
DATA BLOCK
DATA BLOCK
DATA
BLOCKS
(1)
CURRENT
AREA B/
A
Note: (1) User may opt to share memory block(s).
(2) See Figure 19.
BLOCK STATUS WORD
TIME TAG WORD
RESERVED
RECEIVED COMMAND
WORD
LOOK-UP
TABLE ADDR
(2)
DATA BLOCK
DATA BLOCK
Figure 7 – Use of Descriptor Stack – RTU Mode
Aeroflex Circuit TechnologySCDCT2566 REV B 8/10/99 Plainview NY (516) 694-6700
9
Page 10
INTERRUPT MASK REGISTER
This register is an eight bit read/write register used to enable the interrupt conditions. All interrupts are enabled
with a logic "1" (See Figure 9).
1543210
1111111
NOT USED
BC EOM
FORMAT ERROR/STATUS SET
NOT USED
EOM
INTERRUPTDEFINITION
EOMEnd of Message. Set by CT2566 (during BC or RTU mode) every time a
1553 message is transferred (regardless of validity).
FORMAT ERROR/
STATUS SET
Set by CT2566 for these conditions:
Loop Test Failure: Last transmitted word did not match received word.
Message Error: Received message contained an address error, one of
eight 1553 status bits set, or 1553 specification violated (parity error,
Manchester error, etc).
Time-Out: Expected transmission was not received during allotted time
Status Set: Received status word contained status bit(s) set or address
error.
BC EOM
Bus Controller End of Message. Set by CT2566 (in BC mode) when all
messages have been transferred.
Figure 9 – Interrupt Mask Register
START/RESET REGISTER
Only two bits of this write only register are used, as illustrated in Figure 10.
1510
NOT USED
CONTROLLER START
RESET
BITDEFINITION
RESETIssued by the CPU to place the CT2566 in the power-on condition;
Configuration, and Interrupt Mask registers are reset to logic “0”.
CONTROLLER START
Issued by the CPU (BC mode) to start message transmission. The CPU
must first load the number of messages to transfer (256, max) in the
message count location of RAM (area A or B). Value is loaded in 1’s
complement (load FFFE to transmit one message). In MT mode it is
used to begin reception of 1553 messages. Issued by CPU in MT mode
to enable monitor operation.
Figure 10 – Start/Reset Register
Aeroflex Circuit TechnologySCDCT2566 REV B 8/10/99 Plainview NY (516) 694-6700
10
Page 11
BC Operation
The BC mode is selected by setting the two MSBs of
the Configuration Register to logic "0". This can be done
by writing directly to the register or by issuing a
MSTRCLR
will also clear the Interrupt Mask Register.
BC Initialization.
For BC operation, the user initializes the RAM as
shown in Table 3 and follows the steps in Figure 11, BC
Initialization. The CPU loads the data blocks with 1553
messages (See Figure 12). The first word of each data
block must contain the Control Word (shown in Figure
13) for the message. The starting addresses of the data
blocks are placed in the fourth word of the Descriptor
Stack in the order the messages are to be transmitted
(i.e. the address of the first message is loaded into the
fourth location of the Stack, the address of the second
message is placed into the eighth location, etc). Once
the data blocks and the Descriptor Stack have been
initialized, the CPU loads the current area message
count with the number of messages to transfer (load in
1’s complement).
or RESET command. Note that a RESET
Table 3 - Typical BC Memory Map
(4K memory)]
HEX ADDRESSFUNCTION
Fixed Areas
0100Stack Pointer A
0101Message Count A
0104Stack Pointer B
0105Message Count B
Aeroflex Circuit TechnologySCDCT2566 REV B 8/10/99 Plainview NY (516) 694-6700
11
Page 12
The CPU selects an internal register by asserting
Figure 13 – BC Control Word
MEM/REG
and the A2 bit to logic "0" (See Table 2).
External registers are selected by asserting MEM/REG
logic "0" and A2 bit to a logic "1". The signals EXTEN
and EXTLD are used to read and write from the
external registers (See Figures 26 to 28).
Configuration Register
The Configuration Register is an eight bit read/write
register used to define the 1553 operating mode (BC,
MT, or RTU) and the associated RTU status bits. The
four MSBs define the mode of operation; the four LSBs
define the RTU status bits (See Figure 8).
All bits in the Configuration Register (except bit 12)
will be present on the respective CT2566 output pins to
the 1553 device. The MT bit is inverted at the output.
To begin transferring messages onto the bus, the
CPU must issue a Controller Start Command (See
Figure 14). This is done by setting bit 1 of the
Start/Reset Register to a logic "1". An EOM interrupt
will be generated each time a message transfer has
been completed. A BCEOM will be generated once the
specified number of messages has been transferred
(message counter = FFFF).
A Format Error Status Set Interrupt will be generated
at the end of a message if a timeout condition or error
condition was detected. If the STOP ON ERROR bit in
the Configuration Register is set, the CT2566 will stop
bus transactions until a new Controller Start command
is issued by the CPU. These interrupts may be masked
by the CPU through the Interrupt Mask Register.
1. Reads the Stack Pointer to get the address of the
current Descriptor Stack Entry.
START
ISSUE RESET COMMAND
INITIALIZE STACK POINTER
LOAD MESSAGE COUNTER
LOAD EVERY FOURTH
LOCATION OF STACK WITH
STARTING ADDRESS
LOAD MESSAGES
SET CONFIGURATION
RESISTER TO BC MODE
INITIALIZE INTERRUPT
MASK REGISTER
ISSUE START COMMAND
Figure 11
BC Initialization (under user control)
BC START SEQUENCE
After setting the CONTROLLER START bit in the
Start/Reset Register, the CT2566 takes the following
actions:
1. Reads the Stack Pointer to get the address of the
current Descriptor Stack Entry.
2. Stores an SOM flag in the Block Status Word to
indicate a transfer operation is in progress.
3. Stores the Time Tag if used.
4. Reads the Data Block Address from the fourth
location of the Descriptor Stack and transfers the
Data Block Address into an internal Address
Register.
5. Issues a BCSTART pulse to the associated 1553
device to start the message transfers.
Note that data words are transferred to an from
memory by the associated 1553 interface unit using the
internal Address Register.
BC EOM Sequence.
Upon completion of a 1553 message (valid or invalid)
the 1553 interface unit issues an EOM pulse to the
CT2566 which takes the following actions:
158 70
NOT USED
BUS CHANNEL A/B
NOT USED
MASK BROADCAST BIT
NOT USED
MODE CODE
BROADCAST
RTU TO RTU
Note: When the BC expects the BROADCAST bit set in the status
word, a logic "1" will mask the status interrupt error flag. A
FORMAT error will be generated if the MASK BROADCAST bit
is not set.
Aeroflex Circuit TechnologySCDCT2566 REV B 8/10/99 Plainview NY (516) 694-6700
12
Page 13
CONTROLLER START
*
COMMAND RECEIVED
READS STACK POINTER
LOAD BLOCK STATUS WORD
INTO FIRST WORD OF
DESCRIPTOR STACK ENTRY
(SET SOM BIT IN BLOCK
STATUS WORD)
LOAD TIME TAG INTO
SECOND WORD OF
DESCRIPTOR
STACK ENTRY
OBTAIN DATA BLOCK
ADDRESS FROM FOURTH WORD
ISSUE BC START TO 1553 DEVICE
READ CONTROL WORD TO
DETERMINE TYPE OF TRANSFER
TRANSFER DATA TO/FROM
1553 BUS (NOTE: RAM NOW
CONTROLLED BY INPUT PINS
UPDATE BLOCK STATUS WORD
AND OE
CS
UPDATE TIME TAG
INCREMENT STACK
POINTER BY FOUR.
DECREMENT
MESSAGE COUNT
DATA BLOCK
TRANSFERRED OK
TRANSFERRED OK
?
NO
STOP ON
ERROR SET
?
YES
YES
NO
MORE MESSAGES
TO SEND
?
NO
ISSUE BC EOM
STOP
YES
After controller start is issued the subsystem must wait until BCEOM is active
*
before issuing the next controller start.
Figure 14 – BC Sequence of Operation (Under CT2566 Control)
Aeroflex Circuit TechnologySCDCT2566 REV B 8/10/99 Plainview NY (516) 694-6700
13
Page 14
2. Updates the Block Status Word by resetting the
RTU LOOK-UP TABLE ADDRESS
SOM and setting EOM and any error bits.
3. Updates the Time Tag if used.
4. Increments the contents of the Stack Pointer by
four and increments the Message Counter by
one.
5. Initiates a message transfer beginning with new
Controller Start sequence if more messages are
to be transmitted.
6. Generates a BCEOM interrupt if enabled and no
further messages are to be transmitted.
Note that if an error is received and STOP ON
ERROR is set, the CT2566 completes the current
BCEOM sequence and then stops. The Stack Pointer
will point to the next message to be transmitted.
Table 4 – Typical RTU memory map (4K memory)
HEX ADDRESSFUNCTION
Fixed Areas
0100Descriptor Stack Pointer A
0101Reserved
0104Descriptor Stack Pointer B
0105Reserved
0108-013FSpare
0140-017FLook-Up Table A
01C0-01FFLook-Up Table B
User Defined Areas
RTU Operation
The RTU mode is selected by setting bit 15 of the
Configuration Register to logic "1" and bit 14 to
logic"0".
RTU Initialization
For RTU operation, the user initializes the RAM as
shown in Table 4 and follows the steps shown in Figure
15, RTU Initialization Chart.
Look-Up Tables
The first 32 words of the Look-Up Table are initialized
with the addresses of the data blocks to be used when
received data from subaddress 0, 1, 2,…31. The next
32 table locations should be initialized with the address
of the data blocks to be used when the RTU is
instructed to transmit data from subaddress 0, 1,
2,…31. The data blocks may be any length sufficient to
contain the particular message as long as the data
block does not cross a 256 word boundary. Data blocks
may be shared by Look-Up Tables A and B, if desired
by the user (See Figure 16). The 1553 device can only
access the current Look-Up Table and the current
Descriptor Stack. The CPU selects the current area
through bit 13 of the Configuration Register.
Once in the RTU mode, the CT2566 will store the
command word in the fourth location of the current area
Descriptor Stack. The status of the message will be
recorded in the first location of the stack.
The data associated with the message will be
transferred to/from the data block indicated by the
Look-Up Table entry for that subaddress. If a system
Time Tag is provided by the user the CT2566 will
record the time of the SOM sequence in the second
word of the Stack entry.
When the CT2566 received an EOM pulse from the
1553 device, it resets the SOM bit in the Block Status
Word and sets the EOM bit and any error bits as
necessary. The Time Tag entry will be updated and an
EOM interrupt will be generated by the CPU, if enabled.
••
0EE0-0EFFData Block 107
0000-00FFDescriptor Stack A
0F00-0FFFDescriptor Stack B
158 7 6 5 40
0 0 0 0 0 0 0 01
CURRENT AREA B/A
(CONFIG. REG BIT 13)
TR (FROM COMMAND
WORD)
RTU SUBADDRESS BITS
(FROM COMMAND WORD)
RTU SOM Sequence
Initiated when 1553 terminal puts a 1553 command
word on D00-D15 and pulses SOM
saves the command received in an internal register.
Figure 17 illustrates the RTU Sequence of Operation
once a 1553 command word is received. Once the
command word is received, the CT2566 performs the
following steps:
1. Reads the Stack Pointer to get the address of the
current Descriptor Stack Entry.
2. Stores a SOM flag in the Block Status Word to
indicate a transfer operation is in progress.
3. Stores the Time Tag if used.
low. The CT2566
Aeroflex Circuit TechnologySCDCT2566 REV B 8/10/99 Plainview NY (516) 694-6700
14
Page 15
4. Stores the Command Word received.
(under CT2566 control)
}
Figure 16 – RTU Look-up Table
5. Reads a Block address from the Look-Up Table
using the T/R
bit and the subaddress from the
Command Word; transfers the Block address into
the address register. Data words are transferred
to/from memory by the associated 1553 interface
unit using the address register.
START
ISSUE RESET COMMAND
RTU EOM Sequence
At the end of a 1553 message (valid or invalid) the
CT2566 received an EOM pulse and then performs the
following:
1. Updates the Block Status Word.
2. Updates the Time Stage if used.
3. Increments the Stack Pointer by four.
4. Generates an Error Interrupt if enabled.
1553 COMMAND WORD
RECEIVED
READ STACK POINTER
UPDATE DESCRIPTOR STACK
BLOCK STATUS WORD, TIME
TAG AND COMMAND WORD
READ LOOK-UP TABLE USING
T/R SUBADDRESS CURRENT
AREA BIT B/A
INITIALIZE STACK POINTER
SET UP LOOK-UP TABLE(S)
DATA BLOCK ASSIGNMENTS
SET UP DATA BLOCKS
SET CONFIGURATION
REGISTER TO RTU MODE
INITIALIZE INTERRUPT
MASK REGISTER
WAIT FOR 1553 COMMAND
Figure 15
RTU Initialization (under user control)
TRANSFER DATA TO/FROM
1553 INTERFACE DEVICE
MESSAGE COMPLETE
?
YES
UPDATE BLOCK STATUS WORD
GENERATE EOM INTERRUPT AND
ERROR INTERRUPT IF ERROR
AND TIME TAG
INCREMENT STACK POINTER
BY FOUR
CONDITION DETECTED
EXIT
NO
Figure 17 – RTU Sequence of Operation
RECEIVED COMMAND WORD LOOK-UP TABLE
RTU
ADDR T/R
XXXXX 0 00000 XXXXX
XXXXX 0 00010 XXXXX0142
XXXXX 1 11110 XXXXX
XXXXX 1 11111 XXXXX017F
SUBADD
WORD
COUNT
USER DEFINED
USER DEFINEDXXXXX 0 00001 XXXXX0141
USER DEFINED
USER DEFINED
USER DEFINED
0140
64
LOCATIONS
017E
Aeroflex Circuit TechnologySCDCT2566 REV B 8/10/99 Plainview NY (516) 694-6700
15
Page 16
MT Operation
(under CT2566 control)
The MT mode is selected by setting bit 15 of the
Configuration Register to logic "0" and bit 14 to a
logic"1" along with issuing a Controller Start
Command.
START
ISSUE RESET COMMAND
Word. The RAM automatically wraps around (from
location FFFF to location 0000), shown in Figure 20.
Bit 7 of the Identification Word can be reset by the
CPU each time it reads the associated data word into
CPU memory. This provides a simple method of
keeping track of words that have been processed by
the CPU.
158 70
11 1 1
GAP TIME
CLEAR RAM
INITIALIZE STACK POINTER
SET CONFIGURATION REGISTER
TO MT MODE
ISSUE START COMMAND
Figure 18 – MT Initialize
(under user control)
MT Initialization
For MT operations, the entire RAM is used as the MT
Stack (See Table 5) and the setups shown in Figure 18
are followed. The user instructs the CT2566 where to
store the first received 1553 word by loading the
starting word address in the Stack Pointer. Once a
Controller Start command is issued, the CT2566 will
store this value in the internal Address Register.
The identification Word provides the CPU with
additional information regarding the received 1553
word, its format is shown in Figure 19. This information
allows the user to develop algorithms to restructure the
message transfers. External Logic can be used for
triggering on specific commands or subaddresses. For
further information, consult factory.
The 1553 device will generate an Identification Word
for every word that is transferred across the 1553 Data
Bus. The CT2566 stores the received 1553 word in the
RAM location indicated by the internal Address
Register. The contents of this register are incremented
by one so that it points to the next word in RAM, and
the Identification Word is stored at that location. The
internal Address Register is then incremented by one
again, in preparation for storing the next Identification
SET TO "1"
ERROR (1 = ERROR, 0 = GOOD STATUS)
COMMAND SYNC
1553 CHANNEL A/B
WORD GAP
SET TO "0"
Note: Each bit of the GAP TIME field
represents .5µs.
Figure 19 – MT Identification Word
START COMMAND ISSUED
GET STACK POINTER FROM
WORD 100 IN RAM AND
STORE IN INTERNAL REGISTER
WORD TRANSFERRED
ACROSS 1553 BUS
STORE RETREIVED 1553 WORD
IN RAM, INCREMENTS INTERNAL
ADDRESS REGISTER
STORE IDENTIFICATION WORD
IN RAM, INCREMENT INTERNAL
ADDRESS REGISTER
?
YES
NO
Figure 20 – MT Sequence of Operation
Aeroflex Circuit TechnologySCDCT2566 REV B 8/10/99 Plainview NY (516) 694-6700
16
Page 17
Table 5 – Typical MT memory map (4K memory)
HEX ADDRESSFUNCTION
0000
0001
0002
0003
First Received 1553 Word
First Identification Word
Second Received 1553 Word
Second Identification Word
0004•
0005•
0006•
0007•
0008•
••
••
0100
0104
Stack Pointer A (Fixed location)*
Stack Pointer B
••
••
FFFF
Word stored at FFFF will be followed by
the word stored at 0000.
MODE CODES
All mode codes applicable to dual redundant
systems are recognized by the CT2566. Mode
codes can be illegalized by the 1553 BC or
RTU device. Refer to the CT2565 or CT2512
data sheets for more information.
* The Stack Pointer is loaded into an internal Address
Register upon receipt of a Controller Start command. This
location is overwritten by data once monitor operation
begins.
CT2566 Timing Clock in at 12 MHz
Figures 21 through 37 illustrate the timing for the CT2566 and its operation. All timing definitions are listed in the
tables below and the appropriate definitions are repeated with each diagram.
Delay Timing
SYMBOLDESCRIPTIONMINMAXUNITS
td1
td2
td3
td4
td5
td6
td7
td8
READYD low delay (CPU Handshake)
IOEN high delay (CPU Handshake)
CPU MEMWR low delay
CPU MEMOE low delay
EXTLD low delay
RESET low delay
Internal Register delay (read)
Internal Register delay (write)
-200ns
-20ns
-120ns
-115ns
-130ns
-30ns
-60ns
-60ns
td9
td10
Aeroflex Circuit TechnologySCDCT2566 REV B 8/10/99 Plainview NY (516) 694-6700
Register Data/Address set-up time
Register Data/Address hold time
17
-40ns
-0ns
Page 18
Delay Timing (Cont.)
SYMBOLDESCRIPTIONMINMAXUNITS
td11
td12
td13
td14
td15
td16
td17
td18
td19
td20
td21
td22
td23
BC SOM Cycle DMA delay
INT low delay
RTU SOM Cycle DMA delay
1553 Command Word set-up time
1553 Command Word hold time
MT SOM Cycle DMA delay
CS low to MEMCS low delay
OE low to MEMOE low delay
WR low to MEMWR low delay
BUSGRNT high delay
BUSACK low Address delay
BUSACK high Address delay
Address increment delay
Pulse Width Timing
-120ns
-50ns
-200ns
60-ns
60-ns
-120ns
-30ns
-30ns
-30ns
-25ns
-45ns
-25ns
-200ns
SYMBOLDESCRIPTIONMINMAXUNITS
tpw1
tpw2
tpw3
tpw4
tpw5
tpw6
tpw7
tpw8
tpw9
tpw10
tpw11
tpw12
tpw13
tpw14
READYD pulse width (CPU Handshake)
CPU MEMWR low pulse width
CPU MEMCS low pulse width
EXTLD low pulse width
RESET low pulse width
DMA MEMWR low pulse width
DMA MEMCS low pulse width
BCSTART low pulse width
EOM low pulse width
INT low pulse width
INT low (BCEOM) pulse width
SOM low pulse width
NBGRNT low pulse width
ADRINC low pulse width
70-ns
70-ns
70-ns
70-ns
70-ns
70-ns
70-ns
70-ns
50200ns
*tpw9ns
60-ns
50200ns
50200ns
50200ns
tpw15
*The min value of tpw10 equals tpw9 minus 30 ns.
Aeroflex Circuit TechnologySCDCT2566 REV B 8/10/99 Plainview NY (516) 694-6700
MSTRCLR low pulse width
18
150-ns
Page 19
12MHz Clock
(Internal)
(41)
STRBD
(1)
SELECT
(42)
IOEN
(3)
READYD
MEM/REG (10)
RD/WR
(2)
A02 (38)
A01 (77)
A00 (39)
SSFLAG
, SSBUSY, SVCRQST
DBAC, RTU/BC, MT, CTLINB/A
D15-D00
NOTE: STRBD to IOEN (low) delay is two clock cycles. If contention occurs, delay is two clock cycles following release of bus.
See Note
td1
td7
DATA VALID
td2
tpw1
CPU Reads from Internal Register
SYMBOLDESCRIPTIONMINMAXUNITS
td1
td2
tpw1
td7
READYD low delay (CPU Handshake)
IOEN high delay (CPU Handshake)
READYD pulse width (CPU Handshake)
Internal Register delay (read)
-200ns
-20ns
70-ns
-60ns
Figure 21 – CPU reads from internal register
Aeroflex Circuit TechnologySCDCT2566 REV B 8/10/99 Plainview NY (516) 694-6700
19
Page 20
12MHz Clock
(Internal)
(41)
STRBD
(1)
SELECT
(42)
IOEN
(3)
READYD
MEM/REG (10)
RD/WR
(2)
A02 (38)
A01 (77)
A00 (39)
SSFLAG
, SSBUSY, SVCRQST
DBAC, RTU/BC, MT, CTLINB/A
See Note
td1
td9
td8
tpw1
DATA LATCHED
Configuration Register Only
td2
D15-D00
NOTE: STRBD to IOEN (low) delay is two clock cycles. If contention occurs, delay is two clock cycles following release of bus.
DATA VALID
td10
CPU Writes to Internal Register
SYMBOLDESCRIPTIONMINMAXUNITS
td1
td2
tpw1
td8
td9
READYD low delay (CPU Handshake)
IOEN high delay (CPU Handshake)
READYD pulse width (CPU Handshake)
Internal Register delay (write)
Register Data/Address set-up time
-200ns
-20ns
70-ns
-60ns
-40ns
td10
Register Data/Address hold time
-0ns
Figure 22 – CPU writes to internal register
Aeroflex Circuit TechnologySCDCT2566 REV B 8/10/99 Plainview NY (516) 694-6700
20
Page 21
12MHz Clock
(Internal)
(41)
STRBD
(1)
SELECT
(42)
IOEN
(3)
READYD
See Note
td9
td1
td2
tpw1
MEM/REG
(10)
RD/WR
(2)
A02 (38)
A01 (77)
A00 (39)
EXTEN (4)
D15-D00
NOTE: STRBD to IOEN (low) delay is two clock cycles. If contention occurs, delay is two clock cycles following release of bus.
DATA FROM EXTERNAL REGISTER
CPU Reads from External Register Timing
SYMBOLDESCRIPTIONMINMAXUNITS
td1
td2
tpw1
td9
READYD low delay (CPU Handshake)
IOEN high delay (CPU Handshake)
READYD pulse width (CPU Handshake)
Register Data/Address set-up time
-200ns
-20ns
70-ns
-40ns
Figure 23 – CPU reads from external register
Aeroflex Circuit TechnologySCDCT2566 REV B 8/10/99 Plainview NY (516) 694-6700
21
Page 22
12MHz Clock
(Internal)
(41)
STRBD
(1)
SELECT
(42)
IOEN
(3)
READYD
See Note
td9
td1
td2
td10
tpw1
MEM/REG
NOTE: STRBD to IOEN (low) delay is two clock cycles. If contention occurs, delay is two clock cycles following release of bus.
(10)
RD/WR
(2)
A02 (38)
A01 (77)
A00 (39)
EXTLD (43)
D15-D00
VALID
VALID
td5
tpw4
CPU DATA
CPU Writes to External Register
SYMBOLDESCRIPTIONMINMAXUNITS
td1
td2
tpw1
td5
td9
td10
tpw4
READYD low delay (CPU Handshake)
IOEN high delay (CPU Handshake)
READYD pulse width (CPU Handshake)
EXTLD low delay
Register Data/Address set-up time
Register Data/Address set-up time
EXTLD low pulse width
-200ns
-20ns
70-ns
-130ns
-40ns
-0ns
70-ns
Figure 24 – CPU writes to external register
Aeroflex Circuit TechnologySCDCT2566 REV B 8/10/99 Plainview NY (516) 694-6700
22
Page 23
12MHz Clock
(Internal)
(41)
STRBD
(1)
SELECT
(42)
IOEN
(3)
READYD
See Note
td1
td2
tpw1
MEM/REG
NOTE: STRBD to IOEN (low) delay is two clock cycles. If contention occurs, delay is two clock cycles following release of bus.
(10)
RD/WR
(2)
MEMCS (16)
MEMOE (56)
A15-A00
D15-D00
td4
RAM ADDRESS VALID
RAM DATA VALID
CPU Reads from Ram
SYMBOLDESCRIPTIONMINMAXUNITS
td1
td2
tpw1
td9
READYD low delay (CPU Handshake)
IOEN high delay (CPU Handshake)
READYD pulse width (CPU Handshake)
CPU MEMOE low delay
-200ns
-20ns
70-ns
-115ns
Figure 25 – CPU reads from RAM
Aeroflex Circuit TechnologySCDCT2566 REV B 8/10/99 Plainview NY (516) 694-6700
23
Page 24
12MHz Clock
(Internal)
(41)
STRBD
(1)
SELECT
(42)
IOEN
(3)
READYD
See Note
td1
td2
tpw1
MEM/REG
(10)
RD/WR
(2)
MEMCS (16)
td3
MEMWR (57)
A15-A00
D15-D00
NOTE: STRBD to IOEN (low) delay is two clock cycles. If contention occurs, delay is two clock cycles following release of bus.
RAM ADDRESS VALID
RAM DATA VALID
tpw3
tpw2
CPU Writes To Ram
SYMBOLDESCRIPTIONMINMAXUNITS
td1
td2
tpw1
td3
tpw2
tpw3
READYD low delay (CPU Handshake)
IOEN high delay (CPU Handshake)
READYD pulse width (CPU Handshake)
CPU MEMWR low delay
CPU MEMWR low pulse width
CPU MEMCS low pulse width
-200ns
-20ns
70-ns
-120ns
70-ns
70-ns
Figure 26 – CPU writes to RAM
Aeroflex Circuit TechnologySCDCT2566 REV B 8/10/99 Plainview NY (516) 694-6700
24
Page 25
BUSREQ
(13)
BUSGRNT
BUSACK
(14)
(53)
A15-A00
td2
td20
td22
MIL-STD-1553 TO CT2566 Handshaking
SYMBOLDESCRIPTIONMINMAXUNITS
td20
td21
td22
BUSGRNT high delay
BUSACK low Address delay
BUSACK high Address delay
-25ns
-45ns
-25ns
Figure 27 – MIL-STD-1553 to CT2566 Handshaking
CS
MEMCS
OE
MEMOE
WR
MEMWR
(55)
(16)
(17)
(56)
(54)
(57)
td17
td18
td19
MIL-STD-1553 Terminal to Delay
SYMBOLDESCRIPTIONMINMAXUNITS
td17
td18
td19
CS low to MEMCS low delay
OE low to MEMOE low delay
WR low to MEMWR low delay
-30ns
-30ns
-30ns
Figure 28 – MIL-STD-1553 terminal I/O delay
Aeroflex Circuit TechnologySCDCT2566 REV B 8/10/99 Plainview NY (516) 694-6700
25
Page 26
BUSACK
ADRINC
(53)
td14
(9)
A15-A00
ADDRESS
td23
ADDRESS + 1
CT2566 Address Increment
SYMBOLDESCRIPTIONMINMAXUNITS
tpw14
td23
ADRINC low pulse width
Address increment delay
50200ns
-200ns
Figure 29 – CT2566 Unit Address Increment
tpw15
MSTRCLR (52)
RESET
(47)
See Note
td6
CT2566 Direct Increment
SYMBOLDESCRIPTIONMINMAXUNITS
td6
tpw15
NOTE: The RESET (low) pulse width will be approximately equal to that of MSTRCLR (low).
RESET low delay
MSTRCLR low pulse width
-30ns
150-ns
Figure 30 – CT2566 direct reset
Aeroflex Circuit TechnologySCDCT2566 REV B 8/10/99 Plainview NY (516) 694-6700
26
Page 27
12MHz Clock
(Internal)
STRBD
SELECT
IOEN
READYD
MEM/REG
RD/WR
A02 (38)
A01 (77)
A00 (39)
D00 (67)
RESET (47)
(41)
(1)
(42)
(3)
10)
(2)
See Note
td1
td2
tpw1
tpw5
NOTE: STRBD to IOEN (low) delay is two clock cycles. If contention occurs, delay is two clock cycles following release of bus.
Programmed CT2566 Reset
SYMBOLDESCRIPTIONMINMAXUNITS
td1
td2
tpw1
tpw5
READYD low delay (CPU Handshake)
IOEN high delay (CPU Handshake)
READYD pulse width (CPU Handshake)
RESET low pulse width
-200ns
-20ns
70-ns
70-ns
Figure 31 – Programmed CT2566 reset
Aeroflex Circuit TechnologySCDCT2566 REV B 8/10/99 Plainview NY (516) 694-6700
27
Page 28
Aeroflex Circuit TechnologySCDCT2566 REV B 8/10/99 Plainview NY (516) 694-6700