■ Compatible with MIL-STD- 1750 and other Standard CPUs
■ DIP or Flatpack Hybrid
■ Minimizes CPU Overhead
■ Provides Memory Mapped 1553 Interface
■ On-Line & Off-Line Self-Test
■ PCs Development Tools Available
■ SEAFAC Tested
■ MIL-PRF-38534 compliant circuits available
■ DESC SMD #5962–88692 Pending
■ Packaging – Hermetic Metal
•
78 Pin, 2.1" x 1.87" x .25" Plug-In type package
•82 Lead, 2.2" x 1.61" x .18" Flat package
CIRCUIT TECHNOLOGY
ISO
9001
I
General Description
Aeroflex’s CT2553 Advanced Integrated Mux (AIM) Hybrid is a complete MIL-STD-1553 Bus
Controller (BC), Remote Terminal Unit (RTU), and Bus Monitor (MT) device. Packaged in a single
78 pin DIP package, the CT2553 contains dual low-power transceivers, complete BC/RTU/MT
protocol logic, a MIL-STD-1553-to-host interface unit and an 8K x 16 RAM.
Using an industry standard dual transceiver and standard status and control signals, the CT2553
simplifies system integration at both the MIL-STD-1553 and host processor interface levels.
All 1553 operations are controlled through the CPU access to the shared 8K x 16 RAM. To ensure
maximum design flexibility, memory control lines are provided for attaching external RAM to the
CT2553 Address and Data Buses and for disabling internal memory; the total combined memory
space can be expanded to 64K x16. All 1553 transfers are entirely memory-mapped; thus the CPU
interface requires minimal hardware and/or software support.
The CT2553 operates over the full military -55°C to +125°C temperature range. Available screened
to MIL-STD883, the CT2553 is ideal for demanding military and industrial microprocessor to 1553
interface applications. See "Ordering Information" (last sheet) for CT2554, CT2555 & CT2556.
The CT2553 is a complete MIL-STD-1553 bus
interface unit containing dual low-power
transceivers; Bus Controller (BC), Remote
Terminal (RTU), and Bus Monitor (MT) protocol
logic; 8K x 16-bit pseudo dual port RAM; and
memory management arbitration control circuitry.
The host processor interface consists of standard
control and interrupt signals, memory expansion
capability and non-multiplexed address and data
buses.
Control of the CT2553 is accomplished entirely
through the use of three internal registers and the
−55 to +125°C
−65 to +150°C
in
(53 x 47.5 x 6.4)
(mm)
in
(55.6 x 40.6 x 4.34)
(mm)
shared RAM. Transfers to and from the CT2553
are executed on a word-by-word basis ensuring
minimal wait time if contention occurs.
The specific mods of operation (1553
BC/RTU/MT) is software programmable. Memory
is configured into unique control and data block
areas based on the 1553 mode of operation.
External registers are also supported by the
CT2553 for manipulation of user data. In addition,
the CT2553 provides dynamic, online and
software initiated self-test capabilities.
3
Page 4
Aeroflex Circuit Technology
SCDCT2553 REV B 8/6/99 Plainview NY (516) 694-6700
INTERFACING
The CT2553 is compatible with most common
microprocessors including, but not limited to, the
Motorola 680 x 0, the Intel 808x, Zilog Z800x and
MIL-STD-1750 processors.
Interfacing the CT2553 to the MIL-STD-1553
Data Bus requires two Q1553-2 pulse
transformers and an external 16 MHz clock (See
Figure 2). Tri-state buffers are used to isolate the
CPU's data and address lines.
External RAM can be used instead of or in
conjunction with the CT2553's internal 8K x 16
bits. The external RAM used by the CT2553 can
be any standard static memory with an access
time of <
55ns. The external RAM can be
expanded to 64K x 16.
Two control signals, MEMENA-IN
MEMENMA-OUT
(pin 31) are provided in
(pin 69) and
addition to the standard memory I/O signals for
internal/external memory access control (See
Figures 3-5. MEMEN-OUT
and MEMEN-IN
should be tied together for Internal Memory Only
configuration. Memory CS
signals can be
generated for configurations using external
memory.
set to the appropriate logic level (0 for area A or 1
for area B). Internal circuitry ensures that the
swapping of Current Area Status does not occur
during an ongoing message transfer (See
Configuration Register).
DESCRIPTOR STACK (BC/RTU). The
DESCRIPTOR STACK (DS) is divided into 64
entries. Each stack entry contains four words
which refer to one 1553 message. The Block
Status Word (BSW) indicates the physical bus on
which the message was received (RTU mode),
reports whether or not an error was detected
during message transfer and indicates message
completion (See Figure 8).
The user-supplied Time Tag word is loaded at the
start of a message transfer and is updated at the
end of the transfer (See Time Tagging).
MEMORY MANAGEMENT
Memory can be configured to support two AREAs
(A and B), each with an independent sequential
stack and pointers for manipulating 1553
message and control data. The CPU can access
the shared RAM while 1553 message transfers
are taking place. Arbitration of the RAM is
automatically implemented in a manner
transparent to the subsystem (See Figures
28-31). Variable Length DATA BLOCKS are also
stored in the shared RAM and can be addressed
by setting pointers residing in Area A, Area B or
both.
For BC/RTU operation, each area contains a
Descriptor Stack and Stack Pointer (See Figures
6 and 7). BC operation further maintains a
Message Count for each area (number of 1553
messages per frame). RTU operation maintains a
data block address Look-Up Table for each area.
MT operation utilizes a single Stack Pointer to
indicate the starting address for storage of
received words and associated identification
Words.
CURRENT AREA ASSIGNMENT/SWAPPING.
Current area status (currently available to the
1553 terminal) is Software programmable by the
host; the unassigned area automatically assumes
non-current area status. Both areas are always
addressable by the host. Swapping of the Current
Area can be done following message transfers for
user operations such as exception handling or
multiple buffering of 1553 data.
The host selects the Current Area by writing to
the CT2553’s Configuration Register with bit 13
4
Page 5
Aeroflex Circuit Technology
SCDCT2553 REV B 8/6/99 Plainview NY (516) 694-6700
CPU
ROM
ADDRESS
DECODER
RAM
I/O
RD/WR
)
(OE
)
(54LS04)
(DIR)
(54LS245)
(SEE NOTE 1)
(54LS244)(OE
DATA
16
D0 - D15
MEMENA-OUT
MEMENA-IN
ADDRESS13
A0 - A12
A0 - A12
POR
(SEE NOTE 2)
MSTRCLR
MEM/REG
IOEN
SELECT
STRBD
RD/WR
73
31
69
CT2553
71
74
33
34
36
RTADP
51
RTADDRESS
8
40
78
TX/RX-A
TX/RX-A
1
2
3
7
6
5
4
+
–
BUS-25679
8
20
59
TX/RX-B
TX/RX-B
1
2
3
7
6
5
4
+
–
BUS-25679
3
+5V
2
-15V
HOST PROCESSOR
READYD
INT
75
72
12
13
15
MEMOE
30
52
54
16MHz
CLOCK
32
53
57
XX
17
1553 INTERFACE
Figure 2 – CT2553 Example Interconnection
SA/MC-0
SA/MC-1
SA/MC-2
SA/MC-3
SA/MC-4
T/R
BCSTRCV
LMC
ILLCMD
ILLEGALIZATION
PROM
(OPTIONAL)
+5V
5
Page 6
Aeroflex Circuit Technology
SCDCT2553 REV B 8/6/99 Plainview NY (516) 694-6700
Figure 5 – Configuration Using Both Internal and External Memory
6
Page 7
Aeroflex Circuit Technology
SCDCT2553 REV B 8/6/99 Plainview NY (516) 694-6700
CONFIGURATION
REGISTER
CURRENT
AREA B/
A
STACK
POINTERS
01315
*
MESSAGE
COUNTER
DESCRIPTOR
STACKS
BLOCK STATUS WORD
**
TIME TAG WORD
RESERVED
MESSAGE
BLOCK ADDR
*
* Note:
STACK POINTERS and MESSAGE COUNTERS are switched via the
CONFIGURATION REGISTER under external CPU control.
** Note:
DESCRIPTOR STACKS and DATA BLOCKS have 256 word boundries which
should be observed.
DATA
**
BLOCKS
DATA BLOCK
DATA BLOCK
CONFIGURATION
REGISTER
CURRENT
AREA B/
A
Figure 6 – Use of Descriptor Stack – BC Mode
STACK
POINTERS
01315
*
* Note:
STACK POINTERS and LOOK-UP TABLE are switched via the
CONFIGURATION REGISTER under external CPU control.
** Note:
DESCRIPTOR STACKS and DATA BLOCKS have 256 word boundries which
should be observed.
DESCRIPTOR
STACKS
BLOCK STATUS WORD
RECEIVED COMMAND
**
TIME TAG WORD
RESERVED
WORD
LOOK-UP
TABLE ADDR
LOOK-UP TABLE
(DATA BLOCK ADDR)
*
DATA
**
BLOCKS
DATA BLOCK
DATA BLOCK
Figure 7 – Use of Descriptor Stack – RTU Mode
7
Page 8
Aeroflex Circuit Technology
SCDCT2553 REV B 8/6/99 Plainview NY (516) 694-6700
158 70
1 1 1 1 1 1 1 1
EOMLOOP TEST FAIL
SOMRESPONSE TIME OUT (BC ONLY)
CHB/CHA
(RTU ONLY)
ERROR FLAG
Note: In BC operation, the CT2553 always writes the BSW to RAM with
Bit-13. CHB/CHA toggles as per the message control word setting.
FORMAT ERROR
STATUS SET (BC ONLY)
BIT NAMEDEFINITION
EOMSet at the completion of a message
transfer regardless of whether any errors
were detected.
SOMSet at the beginning of a message transfer
and Reset upon completion of the transfer.
CHB/CHA
ERROR
FLAG
STATUS SET Set in BC mode to indicate that a status
FORMAT
ERROR
RESPONSE
TIMEOUT
LOOP
TEST FAIL
Set in RTU mode to indicate whether the
message was received on 1553 bus A or
bus B. Toggles to indicate channel, in BC
mode.
Indicates that an error was detected within
the message transfer. The specific error
condition(s) are identified in bits 8-11.
flag bit was set within the received RTU
Status Word or that the RTU address did
not match the associated Command. Set
in BC mode when the message error bit is
set within the received RTU Status Word.
Also set in RTU mode (RT-RT transfer;
CT2553 is acting as the receiving RT)
when the transmitting RTU Status Word
contains an incorrect address. Also, set in
BC or RTU mode if the message violates
MIL-STD-1553 (parity, Manchester, sync
bit count, non-contiguous data or word
count errors).
Set in BC mode if the addressed RTU did
not respond within 14µs. Also set when
acting as a receiving RT (RT-RT transfer) if
the transmitting RT does not respond in
the specified 1553 response time.
Set when the CT2553 does not pass the
Loop Test. See Self Test paragraph.
STACK POINTER. A STACK POINTER (SP) is
maintained at a specified location in shared RAM
for each Descriptor Stack (SP-A: 0100H; SP-B:
0104H). Each Stack Pointer must be initialized by
the CPU to point to the Descriptor Stack Entry to
be used for the first MIL-STD-1553 transmission.
The current area SP is automatically incremented
by four following each message transfer thereby
always pointing to the next Block Status Word.
Note: The Stack Pointer is maintained internally using an
8-BIT REGISTER for the HIGH BYTE and an 8-BIT
COUNTER for the LOW BYTE. The high byte remains
constant (user value) while the low byte will wrap around
from FF(H) to 00(H). For example: a current Stack Pointer
value of 00 FF(H) will increment to 00 00(H) and not
01 00 (H).
LOOK-UP TABLE (RTU). A data block address
Look-Up Table is used to indicate the data blocks
to be used for individual commands. Look-Up is
based upon the T/R
(transmit/receive) and
Subaddress bits of the received 1553 Command
Word. See RTU Operation for detailed operation;
two tables are provided for double buffering in the
RTU mode.
MULTIPLE BUFFERING (BC/RTU). Unused
areas of shared RAM can be used to store
additional stacks, tables, data blocks and/or user
(non 1553-related) data. In this way, multiple data
blocks (RTU) or messages (BC) can be stored for
later use: simply update respective pointers and
initiate the appropriate start conditions. (BC mode
requires SP, message block address and message
count updating while in RTU mode, the SP and
Look-Up Table entry must be updated).
Figure 8 – Descriptor Stack - Block Status
Word
The contents of the fourth word of the stack entry
depends upon the 1553 operating mode selected.
In BC mode, It contains the address of the
associated 1553 message (Data Block). In RTU
mode, it contains the complete (received) 1553
Command Word.
CT2553 REGISTERS
The CT2553 is controlled through the use of three
internal registers: Interrupt Mask Register,
Configuration Register and a Start/Reset Register.
In addition, the CT2553 can access up to four
external, user supplied registers (See Table 2).
Possible external register applications include:
CPU Time Tag storage and RTU Address
assignment (See Figures 9 and 10).
8
Page 9
Aeroflex Circuit Technology
SCDCT2553 REV B 8/6/99 Plainview NY (516) 694-6700
ADDRESS
A00
DECODER
A
{
A01
EXTEN
A00
A01
EXTLD
Note:
A02 of the CT2553 must be set to logic 1 to operate with external registers.
Figure 9 – Use of External Registers
B
E
A
B
E
READ
{
WRITE
EXTLD
1
6
REGISTER
CPU
DATA BUS
D15 - D00
OE
Figure 10 – Example Configuration Using External Registers
16
IOENBL
5
RTADP
RT ADDR
CT2553
9
Page 10
Aeroflex Circuit Technology
SCDCT2553 REV B 8/6/99 Plainview NY (516) 694-6700
CPU TO REGISTER OPERATIONS. The CPU
11Illegal
selects a register by asserting MEM/REG
low and
A2 to a logic 0 (for internal registers) or logic 1 (for
external registers) with A0 and A1 indicating the
appropriate register address (See Figures 28-32).
The signals EXTEN
and EXTLD are used to
access the external registers.
CONFIGURATION REGISTER. The Configuration
Register is a 16-bit read/write register used to
define the 1553 operating mode (BC, RTU, or MT);
define selectable 1553 Status Word bits (RTU
only); select stop-on-error option; and support the
double buffering scheme (See Figure 11).
158 70
1 1 1 1 1 1 1 1
RTU/BCSUBSYSTEM FLAG
MTSERVICE REQUEST
CURRENT AREA B/ABUSY
STOP ON ERRORDB ACCEPT
BIT NAMEDEFINITION
SUBYSTEM FLAG
SERVICE REQUEST
BUSY
DB ACCEPT
STOP ON ERRORBC will halt message transfer after
CURRENT AREA B/A
RTU/BC
Note: A logic 0 causes the corresponding bit within the RTU’s status
word to be set to a logic 1.
Sets/resets 1553 Status Word flag.
Sets/resets 1553 Status Word flag.
Sets/resets 1553 Status Word flag.
Sets/resets 1553 Status Word flag.
completing current EOM cycle.
Selects Current Area Pointers.
RTU or BC-MT Operation Select.
BIT15BIT 14Operation
00BC
01MT
10RTU
Figure 11 – Configuration Register
INTERRUPT MASK REGISTER (BC/RTU). This
register is a 16-bit read/write register used to
enable/mask interrupt conditions. If an interrupt
condition occurs and the corresponding Interrupt
Register bit has been enabled (set to logic 1) pin
72, INT
will be pulsed low during the respective
End of Message (EOM) cycle (See Figure 12). Not
Used bit locations can optionally be used for
storing user flags.
159 8 74 3 2 1 0
1 1 1 1 1 1 1
NOT
BC EOM
FORMAT ERROR/STATUS SET
NOT USED
EOM
USED
INTERRUPTDEFINITION
EOMEnd of message. Set by CT2553 in BC or
RTU mode following each 1553 transfer
(regardless of validity).
FORMAT
ERROR/
STATUS SET
BC EOM
Set if one of the following occurs:.
Loop Test Failure: Received word does
not match last word transmitted.
Message Error:
Received message
contained a violation of any of the 1553
message validation criteria (parity, sync,
manchester encoding, bit/word count, etc.)
Time-Out: Expected transmission was
not received during the allotted time.
Status Set:
Received Status Word
contained status bit(s) set or address error.
Bus Controller End of Message. Set by the
CT2553 following transmission of all
messages within the current Message Block
(Current area message count = FFFF).
START/RESET REGISTER. This write-only
register is used to reset the CT2553 and to start
the BC and MT operations, as illustrated in
Figure13.
159 8 74 3 2 1 0
NOT USED
CONTROLLER START
RESET
START10
RESET01
BIT NAME
CONTROLLER
START
RESETIssued by the CPU to place the
BIT 1BIT 0
DEFINITION
Issued by the CPU to start
message block transmission (BC
Operation) or to begin reception of
1553 messages (MT Operation).
CT2553 in the power-on condition;
(1) aborts 1553 transfers currently
in progress, and (2) resets
Configuration and Interrupt Mask
Register bits (logic 0).
Figure 12 – Interrupt Mask Register
Figure 13 – Start/Reset Register
10
Page 11
Aeroflex Circuit Technology
SCDCT2553 REV B 8/6/99 Plainview NY (516) 694-6700
* Note: R/W (read/write) capability is dependent on the user's
decoding implementation (See Figure 9).
* External Register
CONTENTION HANDLING
The CT2553 arbitrates shared RAM (and control
register) accesses between the host CPU and the
internal 1553 protocol logic.
If the host attempts to access the RAM while an
internal 1553 memory cycle is in progress, the
CT1553 will delay the CPU's memory cycle by
inserting wait states via the READYD control
signal until the cycle has been completed. The
maximum delay is 1.8µs.
If the internal 1553 protocol logic attempts to
access the RAM while the host CPU has control of
the memory, the internal 1553 logic will wait until
the host CPU cycle has been completed. To
ensure the integrity of 1553 data transfers, the
host CPU must complete its memory cycle within
1.5µs (See Figures 28-32).
SELF TEST
The CT2553 has two self-test modes: the
automatic, continuous On-Line test and the
software-initiated Off-Line test. In both tests the
Loop Test Fail bit within the Block Status Word will
be set to a logic 1 if a failure is detected.
ON-LINE TEST. The On-Line test occurs in BC
and RTU modes during transmission of each
message onto the 1553 bus. This test wraps
around the last word transmitted, exercising the
1553 protocol logic through the 1553 transceivers.
While operating as a BC, the last word transmitted
is received, decoded, and written back into
memory location immediately following the last
word within the message block. The host CPU can
read and compare this Loop Back Word with the
last word of the message Data Block; these two
words should be identical. This insures data
integrity between the CPU and the CT2553.
While in the RTU mode, the internal 1553 Status
Word will be updated to reflect the result of the self
test. The Status Word's Terminal Flag bit will be
set to a logic 1 if a fault was indicated by the
wrap-around, self-test.
OFF-LINE TEST. The software-initiated Off-Line
test can be executed only when the CT2553 is
configured as a BC. Set the Wrap-Around Test bit
within the BC Control Word to a logic 1 and initiate
any standard message transfer. This inhibits the
1553 transceivers and initiates the standard
wrap-around test (i.e., internal 1553 encoder
output is fed back into the decoder - the word is
then written into memory). See BC Operation and
Figure 14, BC Control Word for more details.
15876543210
NOT USED
BUS CHANNEL A/B
OFF-LINE SELF TEST
MASK BROADCAST
NOT USED
MODE CODE
BROADCAST
RT-RT
BIT NAME
BUS CHANNEL
A/B
INITIATE
OFF-LINE SELF
TEST
MASK
BROADCAST (1)
MODE CODEWhen logic 1, the message is treated
BROADCASTWhen logic 1, indicates that the
RT-RTWhen logic 1, the message is treated
Note:
1. MASK BROADCAST XOR BROADCAST BIT in Status Word =
STATUS SET ERROR.
2. When the BC expects the BROADCAST bit set in the Status Word,
a logic 1 will mask the Status Interrupt Error flag.
Determines whether message will be
transmitted on 1553 Bus A or Bus B.
Logic 1 = A, logic 0 = B.
Logic 1 performs internal off-line
transmit/receive test. The last word
of the message is looped back
through the decoder and placed in
RAM. See Self Test paragraph.
When logic 1, prevents Broadcast
RCVD bit of the 1553 Status Word
response from signalling a status
error as a result of a Broadcast
command. (A FORMAT error will be
generated if the BROADCAST bit is
not set on the RTU’s Status Word.)
as a Mode Code. (The Command
Word - Word Count field indicates
Mode Code type.)
message is a Broadcast Command.
(No Status Word is expected.)
as an RT-RT transfer. (The next two
words are Command Words.) Both
Status Word responses are
validated.
DEFINITION
Figure 14 – BC CONTROL WORD
RESET
The CT2553 can be reset by pulsing the
MSTRCLR (pin 71) low or by writing to the
Start/Reset register. After a reset condition has
occurred, the Configuration, Interrupt, and
(internal) Block Status word register outputs are
forced to a logic 0.
11
Page 12
Aeroflex Circuit Technology
SCDCT2553 REV B 8/6/99 Plainview NY (516) 694-6700
TIME TAGGING (OPTIONAL)
The CT2553 will automatically access an external,
3-state device (i.e., counter) at the start and end of
each message in BC or RTU modes. The CT2553
output, TAGEN
(pin 76), enables the device's output
onto the common, 16-bit data highway while
executing a memory-write cycle. The device's value
is written into the second location of the Descriptor
Stack Entry. If a counter is used its clock, enable,
and reset control lines are connected per system
requirement (See Figure 15). If no external device is
attached to the data bus, an expected value of FFFF
(H) will be written into the Time Tag location within
the Descriptor Stack.
Note that the 8-bit Time Tag value generated in the
1553 MT mode of operation is implemented using
an 8-bit counter internal to the CT2553 (See MT
operation).
THREE-STATE
CPU
DATA BUS
D15 - D00
OE
COUNTER
DATA
BUS
D15 - D00
IOEN
OE
TAGEN
Figure 15 – BC/RT Tagging (Optional)
CT2553
CONTROL
WORD
BROADCAST
COMMAND
(NO DATA)
BROADCAST
COMMAND
LOOPED
BACK
BROADCAST
COMMAND
(NO DATA)
CONTROL
WORD
RECEIVE
COMMAND
DATA WORD
1
DATA WORD
2
DATA WORD
LAST
DATA WORD
LAST
LOOPED
BACK
STATUS
RECEIVE
RECEIVE
DATA BLOCK
CONTROL
WORD
TRANSMIT
COMMAND
TRANSMIT
COMMAND
LOOPED
BACK
STATUS
RECEIVED
DATA WORD
1
DATA WORD
2
DATA WORD
LAST
TRANSMIT
DATA BLOCK
CONTROL
WORD
RECEIVE
COMMAND
TRANSMIT
COMMAND
TRANSMIT
COMMAND
LOOPED
BACK
STATUS
WORD 1
FROM XMTR
DATA WORD
1 RECEIVED
DATA WORD
2 RECEIVED
LAST DATA
WORD
RECEIVED
CONTROL
WORD
MODE
COMMAND
DATA WORD
DATA WORD
LOOPED
BACK
STATUS
WORD
MODE CODE
WITH DATA
RECEIVE
DATA BLOCK
FORMAT
CONTROL
WORD
MODE
COMMAND
MODE
COMMAND
LOOPED
BACK
STATUS
WORD
DATA WORD
RECEIVED
MODE CODE
WITH DATA
TRANSMIT
DATA BLOCK
FORMAT
CONTROL
WORD
MODE
COMMAND
MODE
COMMAND
LOOPED
BACK
STATUS
WORD
MODE CODE
WITHOUT
DATA
CONTROL
WORD
BROADCAST
COMMAND
DATA WORD
1
DATA WORD
2
DATA
WORD LAST
DATA WORD
LOOPED
BACK
BROADCAST
COMMAND
WITH DATA
STATUS
WORD 2
FROM
RECEIVER
REMOTE
TERMINAL TO
REMOTE
TERMINAL
DATA BLOCK
Figure 16 – BC Message Formats
12
Page 13
Aeroflex Circuit Technology
SCDCT2553 REV B 8/6/99 Plainview NY (516) 694-6700
BC OPERATION
Initialization of the CT2553 via a Reset or by
setting the appropriate Configuration Register bits
will result in placing the CT2553 in the BC
operating mode.
BC MEMORY CONFIGURATION. The user
configures the memory by: (1) writing the start
address of the Descriptor Stack into the Current
Area Stack Point location; (2) loading the fourth
word of each Descriptor Stack Entry (DSE) with
the start location of each message block; and (3)
loading the Message Counter with the total
number of messages to be transmitted. Note that
the Message Count must be written in 1's
compliment. For example, to transmit one
message, load OOFE(H) (See Table 3, BC
Memory Map).
If both map areas A and B are utilized, this
procedure must be performed for each area. Note
that the Stack Pointer and Message Counter
locations are fixed; Message Block locations are
user-defined.
Each message block must be proceeded by a BC
Control Word (See Figure 14). This word informs
the CT2553 as to the format of the message
transfer. Bit 1 of the Control Word defines whether
the following message to RT 31 is to be issued in
Broadcast Mode or whether RT 31 is a unique
terminal. Memory locations must be reserved at
the end of each message for: (1) a Loop Back
Word; (2) RTU Status Word(s); and (3) received
Data words. See Figure 16, BC Message
Formats.
Message blocks may be loaded anywhere in the
non-fixed area of the shared RAM. However, each
data block may not cross a 256 word boundary
(i.e., bit 8 of the starting address of the message
block must match bit 8 of the address of the last
word of the message block).
Table 3 - Typical BC Memory Map
HEX ADDRESSFUNCTION
Fixed Areas
0100Stack Pointer A
0101Message Count A
0104Stack Pointer B
0105Message Count B
ADDITIONAL FEATURES. The Configuration
Register – STOP ON ERROR bit can be set. This
causes the CT2553 to halt operation at the end of
the current message transfer if an error is
detected. In addition, setting the Interrupt Mask
Register bits will result in a low pulse on the
Interrupt (INT
) pin with each occurrence of the
respective error, end of message or end of
message frame condition (See Configuration
Register and Interrupt Register sections).
BC TRANSFER-START SEQUENCE
After setting the CONTROLLER START bit in the
Start/Reset Register, the CT2553 takes the
following actions:
1. Reads the Current Area Stack Pointer for the
address of the Descriptor Stack Entry (DSE).
2. Stores an SOM (Start of Message) flag in the
Block Status word to indicate a transfer
operation in progress.
3. Writes the Time Tag value into the Descriptor
Stack (See Time Tag).
4. Reads the Data Block Address from the fourth
location of the DSE.
5. Starts the MIL-STD-1553 message transfer.
Upon completion of the MIL-STD-1553 message
transfer, the CT2553:
1. Generates an End Of Message (EOM) or Error
(if applicable) interrupt if enabled.
2. Reads the Stack Pointer for the address of the
DSE.
3. Updates the Block Status Word; resets SOM,
sets EOM, and sets any applicable Error bits.
4. Writes the Time Tag value into the Descriptor
Stack (See Time Tag).
5. Increment Pointers: Stack Pointer incremented
by 4 and Message Count incremented by 1.
6. If more messages remain to be sent, a BC End
Of Message (BCEOM) interrupt occurs (if
enabled).
If an error occurs and Stop On Error has been
enabled, the CT2553 stops initiating BC
Transfer-Start sequences. The Stack Pointer will
point to the next message to be transferred (See
Figure 17).
13
Page 14
Aeroflex Circuit Technology
SCDCT2553 REV B 8/6/99 Plainview NY (516) 694-6700
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
READ CONTROL WORD TO
DETERMINE TYPE OF TRANSFER
TRANSFER DATA TO/FROM
1553 BUS
UPDATE BLOCK STATUS WORD
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
Figure 17 – BC Sequence of Operation
14
Page 15
Aeroflex Circuit Technology
SCDCT2553 REV B 8/6/99 Plainview NY (516) 694-6700
BC SETUP IMPLEMENTATION EXAMPLE
Figure 18a-c shows the BC mode examples for
two message transfers, BASIC setup, and BC
memory setup.
START
LOAD CONFIGURATION
REGISTER (BC MODE)
LOAD STACK POINTER
LOAD STARTING ADDRESS OF
FIRST MESSAGE INTO STACK
LOAD STARTING ADDRESS OF
SECOND MESSAGE INTO STACK
LOAD FIRST MESSAGE
INTO MEMORY
LOAD SECOND MESSAGE
INTO MEMORY
LOAD MESSAGE COUNTER WITH
1's COMPLEMENT OF MESSAGE
COUNT = FD (HEX)
LOAD START REGISTER
WITH THE VALUE 02
Figure 18a – BC Set-Up
Example for Two
Message Transfer
GIVEN:
1. All values are in hex.
2. Map Area "A" is used and located from Address 0000 to Address
00FF.
3. Message 1 located at Address 0140, is a TRANSMIT Command
to RT# 1, Subaddress #1, Word Count = 1, transmitted on
BUSA.
4. Message 2 located at Address 0180, is a RECEIVE Command to
RT#3, Subaddress #1, Word Count = 3, transmitted on BUS B.
5. Configuration Register is assumed to be memory mapped at
location 2001. START/RESET Register is memory mapped at
location 2003.
MOV 0140,0080;Load BC Control Word Message #1
MOV 0141,0C21;Load Command Word Message #1
MOV 0180,0000;Load BC Control Word Message #2
MOV 0181,1823;Load Command Word Message #2
MOV 0182,1111;Load Data Word #1 Message #2
MOV 0183,2222;Load Data Word #2 Message #2
MOV 0184,3333;Load Data Word #3 Message #2
MOV 2003,0002;Issue "Start"
Figure 18b – Sample
BC Set-Up Instructions
0000
01400003
01800007
00000100
00FD0101
00800140
0C21
**Message #1
*
*
00000180
1823
1111
2222Message #2
3333
**
*
* Left empty for RTU’s status response.
** Loop Back word.
Descriptor
Stack Entries
Figure 18c – BC SET-UP
Memory Map
15
Page 16
Aeroflex Circuit Technology
SCDCT2553 REV B 8/6/99 Plainview NY (516) 694-6700
RTU OPERATION
Figure 19 – RTU Initialization
The RTU mode is selected by resetting the
CT2553 and setting the appropriate bits in the
Configuration Register.
RTU MEMORY CONFIGURATION. The user
configures the memory by:
1. Writing the start address of the Descriptor
Stack into the Stack Pointer location and
2. Setting up the Look-Up Table as described
below.
If both map areas (A and B) are utilized, this
procedure must be performed for each area. Note
that the Stack Pointer and Look-Up Table
locations are fixed; Data Block(s) locations are
user-defined. Message blocks may be loaded
anywhere in the non-fixed areas of the shared
RAM. However, each data block may not cross a
256 word boundary (i.e., bit 8 of the starting
address of the message block must match bit 8 of
the address of the last word of the message
block). An example of a typical RTU Memory Map
is given in Table 4. Figure 19 shows the RTU
Initialization steps.
RTU LOOK-UP TABLE. The RTU mode uses a
Look-Up Table in order to map the Data Blocks
based upon incoming 1553 Command Words.
The CT2553 uses the T/R
and Subaddress fields
to address the Look-Up Table. Each Look-Up
Table (A and B) location contains a user-defined
Data Block Pointer to an associated Data Block
(See Figures 20 and 21).
Note: The Data Block and Stack Pointers are
maintained internally using an
8-BIT-REGISTER for the HIGH BYTE and an
8-BIT COUNTER for the LOW BYTE; the high
byte remains constant (user value) while the low
byte will wrap around from FF(H) to 00(H). For
example: a current Pointer value of 10 FF(H)
will increment to 10 00(H) and not 11 00(H).
The first 32 words of the Look-Up Table are
reserved for Data Blocks associated with Receive
Commands (T/R
bit = 0). The remaining 32 words
are reserved for Data Blocks associated with
Transmit Commands (T/R
bit = 1).
Mode Commands with data are mapped in the
same manner as non-mode commands. A
Synchronize With Data command maps to the
first or thirty-second Table entry (depending upon
subaddress: all 0's or all 1's), while a Transmit
Vector Word command points to the thirty-third or
sixty-fourth entry.
START
Table 4 – Typical RTU Memory Map
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
••
0EE0-0EFFData Block 107
0000-00FFDescriptor Stack A
0F00-0FFFDescriptor Stack B
ISSUE RESET COMMAND
INITIALIZE STACK POINTER
SET UP LOOK-UP TABLE(S)
DATA BLOCK ASSIGNMENTS
SET UP DATA BLOCKS
INITIALIZE INTERRUPT
MASK REGISTER
SET CONFIGURATION
REGISTER TO RTU MODE
START REGISTER
WAIT FOR 1553 COMMAND
16
Page 17
Aeroflex Circuit Technology
SCDCT2553 REV B 8/6/99 Plainview NY (516) 694-6700
157 6 5 4 3 2 1 0
0 0 0 0 0 0 0 11
CURRENT AREA B/A
T/R (from command word)
SUB-ADDRESS (command word)
Figure 20 – RTU Look-Up Address
RTU MESSAGE BLOCK TRANSFER SEQUENCE
RTU message transfer operations begin
automatically upon receipt of a valid command
word from the 1553 bus. A message transfer
takes the form of an RTU Start Of Message
(SOM) cycle followed by the 1553 Message
Transfer Cycle and an RTU End Of Message
(EOM) cycle (See Figure 22).
RECEIVED COMMAND WORDSDATA BLOCK
SUBADD
T/R
000000XXXXX0140USER DEFINED
000001XXXXX0141USER DEFINED
000010XXXXX0142USER DEFINED
64 LOCATIONS*
111110XXXXX017EUSER DEFINED
111111XXXXX017FUSER DEFINED
WORD
COUNT
LOOK-UP
TABLE (A)
ADDRESSDATA BLOCK
*
*
Figure 21 – Look-Up Table Example
1553 COMMAND WORD
RECEIVED
READ STACK POINTER
During the RTU SOM cycle, the CT2553 the
following actions:
1. Loads the 1553 command word.
2. Reads the current area Stack Pointer to get the
address of the current Descriptor Stack Entry
(DSE).
3. Stores an SOM flag into the Block Status Word
to indicate a transfer in progress.
4.Writes the Time Tag value into the the
Descriptor Stack.
5. Stores the Command Word received.
6. Reads the associated Data Block Address from
the (current area) Look-Up Table.
The MESSAGE TRANSFER CYCLE refers to the
actual transfer of the 1553 message under control
of the CT2553. The CT2553 transfers data to and
from the memory on a word-by-word basis.
UPDATE DESCRIPTOR STACK
BLOCK STATUS WORD, TIME
TAG AND COMMAND WORD
READ LOOK-UP TABLE USING
T/R SUBADDRESS CURRENT
UPDATE BLOCK STATUS WORD
INCREMENT STACK POINTER
AREA BIT B/A
TRANSFER DATA TO/FROM
1553 INTERFACE DEVICE
MESSAGE COMPLETE
?
YES
AND TIME TAG
BY FOUR
NO
Upon completion of the message transfer, the
CT2553 executes an RTU End Of Message
(EOM) cycle during which the CT2553:
1.Generates an EOM or Error interrupt (if
enabled).
2. Updates the Block Status Word: clears SOM,
sets EOM, and any appropriate error bits.
3. Writes the Time Tag value into the Descriptor
Stack.
4. Increments the Stack Pointer by 4.
17
GENERATE EOM INTERRUPT AND
ERROR INTERRUPT IF ERROR
CONDITION DETECTED
WAIT FOR NEXT
1553 COMMAND
Figure 22 – RTU Message Transfer
Operation
Page 18
Aeroflex Circuit Technology
SCDCT2553 REV B 8/6/99 Plainview NY (516) 694-6700
ADDITIONAL FEATURES. Four 1553 Status
Word flags can be programmed via the
appropriate Configuration Register bits. In
addition, setting Interrupt Mask Register bits will
result in a low pulse on the Interrupt (INT
) pin
with each occurrence of the respective error or
end of message condition. (See Configuration
Register and Interrupt Register sections.)
THIS RT: Each command appearing on either
1553 Bus is decoded and tested for
Manchester/protocol errors. If the CT2553
receives a valid command word containing a
RTU address equivalent to the RTAD0-RTAD4
inputs (pins 10, 9, 50, 49, and 11, respectively),
THIS-RT
(pin 55) will be pulsed low. This signal
can be used to identify specific 1553 commands.
This signal is also active in the BC mode.
Command Illegalization (Optional). The CT2553
has the capability to illegalize MIL-STD-1553
mode commands. In addition, valid non-mode
commands can be illegalized based upon the
Command Word subaddress field. An illegal
command is identified by driving the Illegal
Command, ILLCMD
(pin 12) input low. The
CT2553 multiplexes the Word Count and
Subaddress fields (pins SA/MC0 - SA/MC4).
The CT2553 responds to illegalized commands
by transmitting its Status Word with the Message
Error bit set. No data words are transmitted;
received words, however, are placed in the
shared RAM locations indicated by the current
area Look-Up Table.
Upon receipt of a valid mode command, the
CT2553 will output the Command Word-Word
Count field and set the Latched Mode Command
(LMC) output to a logic 1. Upon receipt of a valid
non-mode command, the CT2553 will output the
Command Word-Subaddress field and set the
Latched Mode Command (LMC) output to a
logic0.
An external PROM can be used for command
illegalization by decoding the word
count/subaddress, LMC and Broadcast Received
(BCSTRCV
) bits and driving ILLCMD low where
appropriate (See Figure 23).
BUSY BIT. If the user asserts the BUSY bit low
in the Configuration Register, the CT2553 will
respond with a Status Word with the BUSY bit
set. In addition, no data words will be transferred
from the shared RAM as indicated by the
corresponding value in the current area Look-Up
Table. The CT2553 will transfer data associated
with a Receive Command into memory but will
not transmit data out onto the MIL-STD-1553 bus
when busy upon receipt of a Transmit Command.
SCDCT2553 REV B 8/6/99 Plainview NY (516) 694-6700
MT OPERATION
Figure 24 – MT Initialization
Initiate a Reset in order to initialize the CT2553.
Configure the CT2553 as a Bus Monitor (MT) by
setting the appropriate Configuration Register
Bits. See Figure 24 for MT initialization Steps.
MT MEMORY CONFIGURATION. The user
configures the memory by writing the start
address for 1553 data storage into the Stack
Pointer location. The Monitor Stack will
automatically wrap around once the RAM has
been filled (i.e., location FFF(H) is followed by
location 0000). An example of a typical MT
Memory Map 4 given in Table 5.
Table 5 – Typical MT Memory Map
HEX ADDRESSFUNCTION
0000
0001
0002
0003
0004•
0005•
0006•
••
••
0100
••
••
FFFF•
MT START SEQUENCE. After setting the
CONTROLLER START bit in the Start/Reset
Register, the CT2553 takes the following actions:
1. Reads the start address for 1553 data storage
from the Stack Pointer location. The Stack
Pointer location(s) will be overwritten with 1553
data once the MT mode has begun and 1553
data is written into locations 0100(H) and
0101(H)].
2. Stores the received 1553 word into memory.
3. Increments the Stack Pointer by 1.
4. Generates an Identification Word and stores
this value into memory.
5.Repeats steps 2-4 until a Reset condition
occurs.
MT IDENTIFICATION WORD. The Identification
word provides the CPU with information pertaining
to the received 1553 word. Its format is shown in
Figure 25, This information allows the user to
analyze the 1553 data.
THIS-RT
: Each command appearing on either
1553 Bus is decoded and tested for
Manchester/protocol errors. If the CT2553
receives a valid command word containing a
Command Sync and a RTU address equivalent to
the RTAD0-RTAD4 inputs (pins 10, 9, 50, 49, and
11, respectively), THIS-RT
low. This signal can be used to identify specific
1553 commands or for switching to RTU mode
upon receipt of a command to this address.
First Received 1553 Word
First Identification Word
Second Received 1553 Word
Second Identification Word
Stack Pointer (Fixed location)
(pin 55) will be pulsed
START
ISSUE RESET COMMAND
CLEAR RAM
INITIALIZE STACK POINTER
SET CONFIGURATION
REGISTER TO MT MODE
ISSUE START COMMAND
MSBLSB
158 7 6 5 4 3 2 1 0
1
GAP TIME
WORD FLAG
THIS RT
BROADCAST
ERROR
COMMAND SYNC
1553 CHANNEL A/B
CONTIGUOUS DATA
MODE CODE
BIT NAMEDEFINITION
GAP TIMEIndicates the time between receipt of the
WORD FLAGAlways logic 1.
THIS RTLogic 0 indicates RT address field of the
BROADCASTLogic 0 indicates the RTU address field of
ERRORLogic 1 indicates Manchester, Parity,
COMMAND SYNCLogic 1 indicates 1553 Command or
1553 CHANNEL
A/B
CONTIGUOUS
DATA
MODE CODEWhen logic 1, the data transferred is a
previous and current words.Time is
indicated in 0.5µs increments for a
maximum of 128 µs and goes to FF over
128µs. (See Word Gap bit.)
associated command or Status Word
matches the RT address field of the
CT2553.
the command or Status Word
corresponds to address 31 (decimal).
Sync and/or low bit counter.
Status Word sync field. (Logic 0 indicates
a Data Word sync field in received word.)
Indicates word received on 1553 BusA
(1) or Bus B (0).
Logic 1 indicates the word was received
within 2µs of the previous word. If logic 0,
bits 8-15 contain the measured gap
between the words.
mode code command.
Figure 25 – MT Identification Word
19
Page 20
Aeroflex Circuit Technology
SCDCT2553 REV B 8/6/99 Plainview NY (516) 694-6700
START COMMAND ISSUED
Figure 26 – MT Data Storage Operation
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
MT DATA STORAGE. Figure 26 shows the steps
in a MT data Storage operation.
INTERRUPTS: SA/MC - 0 (pin 13), SA/MC - 1
(pin 52) and SA/MC - 2 (on 52) represents B6,
B7, and B8 counter outputs in the MT mode. B6
counts every 32 words transferred, B7 every 64
words, and B8 every 128 words. These counter
outputs can be used to generate interrupts to the
subsystem to insure proper servicing of Memory.
The Data Word and Identification Word transfers
increment the counter by two.
BUILT-IN-TEST WORD (RTU MODE)
The CT2553 contains a 14 bit Built-In-Test (BIT)
word register which stores information about the
condition of the RTU. When a Mode Command is
received to transmit BIT word, the contents of this
register are transmitted over the 1553 data bus.
Figure 27 shows the meaning of each bit in the
BIT register. Information is included regarding
transmitter timeouts, loop test failures, transmitter
shutdown, subsystem handshake failure, and the
results of individual message validations.
MODE CODES
The CT2553 implements all mode codes
applicable to dual redundant systems. Mode
codes can also be illegalized using the
appropriate I/O signals. Mode command
illegalization and handling are detailed in the RTU
Operation section and listed in Table 6.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0
CHAN B XMITTER TIMEOUT
CHAN A XMITTER TIMEOUT
CHAN B LOOP TEST FAILURE
CHAN A LOOP TEST FAILURE
CHAN B XMITTER SHUTDOWN
CHAN A XMITTER SHUTDOWN
NON-MODE BROADCAST CMD TO XMIT
MESSAGE HIGH WORD COUNT
MESSAGE LOW WORD COUNT
ILLEGAL MODE CODE OR ILLEGAL
BROADCAST WITH MODE CODE
MODE CODE OR T/R ERROR
CHAN A/B LOOP TEST FAILURE
HANDSHAKE FAILURE
CHAN A/B XMITTER TIMEOUT
Notes:
(1) Bits 0-2 and 10-13 are latched and only cleared by a mode reset command or a master RESET
(2) Bits 3-7 are cleared at the start of each new message and updated at the end of the message. They
reflect the present command word.
(3) Bits 8-9 are set by the mode command for Transmitter Shutdown and are cleared by the mode
command for Override Transmitter Shutdown, Reset RT or a master RESET
.
.
Figure 27 – Built-In-Test Word (RTU Mode)
20
Page 21
Aeroflex Circuit Technology
SCDCT2553 REV B 8/6/99 Plainview NY (516) 694-6700
DYNAMIC BUS CONTROL (00000)
MESSAGE SEQUENCE = DBC * STATUS
The CT2553 responds with status. If the subsystem wants control of the bus, it must set DBACC within 2.5us after NBGRT.
ERROR CONDITIONS
1.
Invalid Command.
Command Followed by Data Word.
2.
T/R bit Set to Zero.
3.
Zero T/R bit and Broadcast Address.
4.
No response, command ignored.
No status response. Bits set: message error (SW), High word Count (BIT Word).
No status response. Bits set: message error (SW), T/R Error (Bit Word).
No status response. Bits set: message error, broadcast received (SW), Illegal Mode Code, T/R
Error (BIT Word).
Broadcast Address.
5.
No status response. Bits set: message error, broadcast received (SW), Illegal Mode Code (BIT Word).
SYNCHRONIZE WITHOUT DATA WORD (00001)
MESSAGE SEQUENCE = SYNC * STATUS
The CT2553 responds with status. If sent as a broadcast, the broadcast receive bit will be set and status response suppressed.
ERROR CONDITIONS
1.
Invalid Command.
Command Followed by Data Word.
2.
T/R bit Set to Zero.
3.
Zero T/R bit and Broadcast Address.
4.
No response, command ignored.
No status response. Bits set: message error (SW), High Word Count (BIT Word).
No status response. Bits set: message error (SW), T/R Error (BIT Word).
No status response. Bits set: message error, broadcast received (SW), Illegal Mode Code, T/R
Error (BIT Word).
TRANSMIT STATUS WORD (00010)
MESSAGE SEQUENCE = TRANSMIT STATUS * STATUS
The status and BIT word registers are not altered by this command and contain the resulting status from the previous command.
ERROR CONDITIONS
1.
Invalid Command.
Command Followed by Data Word.
2.
T/R bit Set to Zero.
3.
Zero T/R bit and Broadcast Address.
4.
No response, command ignored.
No status response. Bits set: message error (SW), High Word Count (BIT Word).
No status response. Bits set: message error (SW), T/R Error (BIT Word).
No status response. Bits set: message error, broadcast received (SW), Illegal Mode Code, T/R
Error (BIT Word).
Broadcast Address.
5.
No status response. Bits set: message error, broadcast received (S/W), Illegal Mode code, T/R Error (BIT Word).
INITIATE SELF-TEST (00011)
MESSAGE SEQUENCE = SELF TEST * STATUS
The CT2553 responds with a status word. If the command was broadcast, the broadcast received bit is set and status transmission
suppressed. Short-loop test is initiated on the status word transmitted. If the test fails, an RT fail flag is generated.
ERROR CONDITIONS
1.
Invalid Command.
Command Followed by Data Word.
2.
T/R bit Set to Zero.
3.
Zero T/R bit and Broadcast Address.
4.
Faulty Test.
5.
No response, command ignored.
No status response. Bits set: message error (SW), High Word Count (BIT Word).
No status response. Bits set: message error (SW), T/R Error (BIT Word).
No status response. Bits set: message error, broadcast received (SW), T/R Error (BIT Word).
Bits set: terminal flag (SW), A/B Loop Test Fail, Current 1553 Bus (A or B) Loop Test Fail (BIT Word).
TRANSMITTER SHUTDOWN (00100)
MESSAGE SEQUENCE - SHUTDOWN * STATUS
This command is only used with dual redundant bus systems. The CT2553 responds
with status. At the end of the status transmission, the CT2553 inhibits any further transmission from the dual redundant channel. Once
shutdown, the transmitter can only be re-activated by Override Transmitter Shutdown or RESET RT commands.
ERROR CONDITIONS
1.
Invalid Command.
Command Followed by Data Word.
2.
T/R bit Set to Zero.
3.
Zero T/R bit and Broadcast Address.
4.
No response, command ignored.
No status response. Bits set: message error (SW), High Word Count (BIT Word).
No status response. Bits set: message error (SW), T/R Error BIT Word).
No status response. Bits set: message error, broadcast received (SW), Illegal Mode Code, T/R
Error (BIT Word).
Table 6 – Mode Codes
21
Page 22
Aeroflex Circuit Technology
SCDCT2553 REV B 8/6/99 Plainview NY (516) 694-6700
OVERRIDE TRANSMITTER SHUTDOWN (00101)
MESSAGE SEQUENCE - OVERRIDE SHUTDOWN - STATUS
This command is only used with dual redundant bus systems. The CT2553 responds with status. At the end of the status transmission, the
CT2553 re-enables the transmitter of the redundant bus. If the command was broadcast, the broadcast received bit is set and status
transmission is suppressed.
ERROR CONDITIONS
1.
Invalid Command.
Command Followed by Data Word.
2.
T/R bit Set to Zero.
3.
Zero T/R bit and Broadcast Address.
4.
No response, command ignored.
No status response. Bits set: message error (SW), High Word Count (BIT Word).
No status response. Bits set: message error (SW), T/R Error (BIT Word).
No status response. Bits set: message error, broadcast received (SW), Illegal Mode Code, T/R
Error (BIT Word).
INHIBIT TERMINAL FLAG BIT (00110)
MESSAGE SEQUENCE - INHIBIT TERMINAL FLAG * STATUS
The CT2553 responds with status and inhibits further internal or external setting of the terminal flag bit in the status register. Once the
terminal flag has been inhibited, it can only be reactivated by an Override Inhibit Terminal Flag or Reset RT command. If the command was
broadcast, the broadcast received bit is set and status transmission is suppressed.
ERROR CONDITIONS
1.
Invalid Command.
Command Followed by Data Word.
2.
T/R bit Set to Zero.
3.
Zero T/R bit and Broadcast Address.
4.
No response, command ignored.
No status response. Bits set: message error (SW), High Word Count (BIT Word).
No status response. Bits set: message error (SW), T/R Error (BIT Word).
No status response. Bits set: message error, broadcast received (SW), T/R Error (BIT Word).
OVERRIDE INHIBIT TERMINAL FLAG BIT (00111)
MESSAGE SEQUENCE - OVERRIDE INHIBIT TERMINAL FLAG * STATUS
The RTU responds with status and reactivates the terminal flag bit in the status register. If the command was broadcast, the broadcast
received bit is set and status transmission is suppressed.
ERROR CONDITIONS
1.
Invalid Command.
Command Followed by Data Word.
2.
T/R bit Set to Zero.
3.
Zero T/R bit and Broadcast Address.
4.
No response, command ignored.
No status response. Bits set: message error (SW), High Word Count (BIT Word).
No status response. Bits set: message error (SW), T/R Error (BIT Word).
No status response. Bits set: message error, broadcast received (SW), T/R Error (BIT Word).
RESET REMOTE TERMINAL (01000)
MESSAGE SEQUENCE - RESET REMOTE TERMINAL * STATUS
The CT2553 responds with status and internally resets. Transmitter shutdown, mode commands, and inhibit terminal flag commands will be
reset. If the command was broadcast, the broadcast received bit is set and the status word is suppressed.
ERROR CONDITIONS
1.
Invalid Command.
Command Followed by Data Word.
2.
T/R bit Set to Zero.
3.
Zero T/R bit and Broadcast Address.
4.
No response, command ignored.
No status response. Bits set: message error (SW), High Word Count (BIT Word).
No status response. Bits set: message error (SW), T/R Error (BIT Word).
No status response. Bits set: message error, broadcast received (SW), T/R Error (BIT Word).
RESERVED MODE CODES (01001-01111)
MESSAGE SEQUENCE = RESERVED MODE CODES * STATUS
The CT2553 responds with status. If the command is illegalized through an optional PROM, the message error bit is set and only the status
word is transmitted.
ERROR CONDITIONS
1.
Invalid Command.
Command Followed by Data Word.
2.
T/R bit Set to Zero.
3.
Zero T/R bit and Broadcast Address.
4.
No response, command ignored.
No status response. Bits set: message error (SW), High Word Count (BIT Word).
No status response. Bits set: message error (SW), Illegal Mode Code (BIT Word).
No status response. Bits set: message error, broadcast received (SW), Illegal Mode Code (BIT
Word).
Table 6 – Mode Codes (continued)
22
Page 23
Aeroflex Circuit Technology
SCDCT2553 REV B 8/6/99 Plainview NY (516) 694-6700
TRANSMIT VECTOR WORD (10000)
MESSAGE SEQUENCE - TRANSMIT VECTOR WORD * STATUS VECTOR WORD
The CT2553 transmits a status word followed by a vector word. The contents of the vector word (from the subsystem) are enabled onto
DBO-DB15 with BUSREQ after the command transfer (same as data word in a normal transmit command).
ERROR CONDITIONS
1.
Invalid Command.
Command Followed by Data Word.
2.
T/R bit Set to Zero.
3.
Zero T/R bit and Broadcast Address.
4.
No response, command ignored.
No status response. Bits set: message error (SW) High Word Count (BIT Word).
No status response. Bits set: message error (SW), T/R Error, Low Word Count (BIT Word).
No status response. Bits set: message error, broadcast received (SW), Illegal Mode Code, T/R
Error, Low Word Count (BIT Word).
Broadcast Address.
5.
No status response. Bits set: message error, broadcast received (SW), Illegal Mode code, (BIT Word).
SYNCHRONIZE WITH DATA WORD (10001)
MESSAGE SEQUENCE - SYNCHRONIZE DATA WORD * STATUS
The data word received following the command word is transferred to the subsystem. The status register is then enabled and its contents
transferred onto the data bus and transmitted. If the command was broadcast, the broadcast received bit is set and status transmission is
suppressed.
ERROR CONDITIONS
1.
Invalid Command.
Command Not Followed by Data Word.
2.
Command followed by too many Data Words.
3.
Command T/R bit Set to One.
4.
Command, T/R bit Set to One and Broadcast Address.
5.
No response, command ignored.
No status response. Bits set: message error (SW), Low Word Count (BIT Word).
No status response. Bits set: message error (SW), High Word Count (BIT word).
No status response. Bits set: message error (SW), T/R Error, High Word Count (BIT Word).
No status response. Bits set: message error, broadcast received (SW), High
Word Count, T/R Error (BIT Word).
TRANSMIT LAST COMMAND (10010)
MESSAGE SEQUENCE = TRANSMIT LAST COMMAND * STATUS LAST COMMAND
The status and BIT word registers are not altered by this command. The SW contains the status from the previous command. The data
word transmitted contains the previous valid command (providing it was not another TRANSMIT LAST COMMAND).
ERROR CONDITIONS
1.
Invalid Command.
Command Followed by Data Word.
2.
T/R bit Set to Zero.
3.
Zero T/R bit and Broadcast Address.
4.
Broadcast Address.
5.
No response, command ignored.
No status response. Bits set: message error (SW).
No status response. Bits set: message error (SW), T/R Error, Low Word Count (BIT Word).
No status response. Bits set: message error, (SW), Illegal Mode Code T/R Error (BIT Word).
No status response. Bits set: message error, broadcast received (SW), Illegal Mode Code (BIT Word).
TRANSMIT BIT WORD (10011)
MESSAGE SEQUENCE - TRANSMIT BIT WORD * STATUS BIT WORD
The CT2553 transmits a status word followed by the BIT word . When activated, BITEN allows the subsystem to latch the BIT word on the
parallel data bus. The BIT word is not altered by this command; however, the next SW will reflect errors in this transmission.
ERROR CONDITIONS
1.
Invalid Command.
Command Followed by Data Word.
2.
T/R bit Set to Zero.
3.
Zero T/R bit and Broadcast Address.
4.
No response, command ignored.
No status response. Bits set: message error (SW).
No status response. Bits set: message error (SW), T/R Error, Low Word Count (BIT Word).
No status response. Bits set: message error, broadcast received (SW), Illegal Mode Code, T/R
Error, Low Word Count (BIT Word).
Broadcast Address.
5.
No status response. Bits set: message error, broadcast received (SW), Illegal Mode code, (BIT Word).
Table 6 – Mode Codes (continued)
23
Page 24
Aeroflex Circuit Technology
SCDCT2553 REV B 8/6/99 Plainview NY (516) 694-6700
SELECTED TRANSMITTER SHUTDOWN (10100)
MESSAGE SEQUENCE - TRANSMITTER SHUTDOWN DATA * STATUS
The data word received is transferred to the subsystem and status is transmitted. If the
command was broadcast, the broadcast received bit is set and status transmission suppressed. Intended for use with RTs with more than
one dual redundant channel.
ERROR CONDITIONS
1.
Invalid Command.
Command Not Followed by Data Word.
2.
No response, command ignored.
No status response. Bits set: message error (SW), High Word Count, Illegal Mode Code (BIT
Word).
Command Followed by too many Data Words.
3.
No status response. Bits set: message error (SW), Low Word Count, Illegal Mode Code
(BIT Word).
Command T/R bit Set to One.
4.
Command T/R bit Set to One and Broadcast Address.
5.
Mode Code, High Word Count (BIT Word).
No status response. Bits set: message error (SW), Illegal Mode Code, High word count (BIT Word).
No status response. Bits set: message error, broadcast received (SW), Illegal
OVERRIDE SELECTED TRANSMITTER SHUTDOWN (10101)
MESSAGE SEQUENCE - TRANSMITTER SHUTDOWN DATA * STATUS
The data word received after the command word is transferred to the subsystem. If the
command was broadcast, the broadcast received bit is set and status transmission suppressed.
ERROR CONDITIONS
1.
Invalid Command.
Command Not Followed by Data Word.
2.
No response, command ignored.
No status response. Bits set: message error (SW), Low Word Count, Illegal Mode Code (BIT
Word).
Command Followed by too many Data Words.
3.
No status response. Bits set: message error (SW), High Word Count, Illegal Mode Code
(BIT Word).
Command T/R bit Set to One.
4.
Command T/R bit Set to One and Broadcast Address.
5.
No status response. Bits set: message error (SW), Illegal Mode Code, High Word Count (Bit Word).
No status response. Bits set: message error, broadcast received (SW), Illegal
Mode Code, High Word Count, T/R (BIT Word).
RESERVED MODE CODES
MESSAGE SEQUENCE = RESERVED MODE CODE (T/R = 1) * STATUS
RESERVED MODE CODE (T/R = 0) * STATUS
The CT2553 responds with status. If the command was broadcast, the broadcast received bit is set and status transmission suppressed.
ERROR CONDITIONS (T/R = 1)
1.
Invalid Command.
Command Followed by Data Word.
2.
No response, command ignored.
No status response. Bits set: message error (SW), High Word Count, Illegal Mode Code (BIT
Word).
ERROR CONDITIONS (T/R = 0)
1.
Invalid Command.
Command not Followed by Contiguous Data Word.
2.
No response, command ignored.
No status response. Bits set: message error (SW), High word Count, Illegal Mode
Code (BIT Word).
Command Followed by too many Data Words.
3.
No status response. Bits set: message error (SW), High Word Count, Illegal Mode Code
(BIT Word).
Table 6 – Mode Codes (continued)
24
Page 25
Aeroflex Circuit Technology
SCDCT2553 REV B 8/6/99 Plainview NY (516) 694-6700
16MHz Clock
(Internal)
STRBD
SELECT
IOEN
READYD
MEM/REG
RD/WR
A02
A01
A00
SSFLAG
, SSBUSY, SVCRQST
DBAC, RTU/BC, MT, CTLOUTB/A
See Note 1
tr
td1
tz
See Note 2
td8
td7
tpw1
DATA LATCHED
Configuration Register Only
td2
D15-D00
NOTE:
1. STRBD to IOEN (low) delay is two clock cycles. If contention occurs, delay is two clock cycles following release of bus.
2. CPU must release STRBD
within 1.5µs of IOEN going active. READYD will go away within one clock cycle maximum.
DATA VALID
td9
CPU Writes to Internal Register
SYMBOLDESCRIPTIONMINMAXUNITS
td1
td2
tpw1
td7
td8
td9
tr
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
Register Data/Address hold time
READYD to STRBD release
-150ns
-20ns
50-ns
-60ns
-30ns
-0ns
-1.37µs
tz
(SELECT • STRBD) to IOEN
-1.8µs
Figure 28 – CPU Writes to Internal Register
25
Page 26
Aeroflex Circuit Technology
SCDCT2553 REV B 8/6/99 Plainview NY (516) 694-6700
16MHz Clock
(Internal)
STRBD)
SELECT
IOEN
READYD
MEM/REG
RD/WR
A02
See Note 1
tr
td1
See Note 2
tz
td8
tpw1
td2
td9
A01
A00
td5
EXTLD
D15-D00
NOTE:
1. STRBD to IOEN (low) delay is two clock cycles. If contention occurs, delay is two clock cycles following release of bus.
2. CPU must release STRBD
within 1.5µs of IOEN going active. READYD will go away within one clock cycle maximum.
VALID
VALID
tpw6
CPU DATA
CPU Writes to External Register
SYMBOLDESCRIPTIONMINMAXUNITS
td1
td2
tpw1
td5
READYD low delay (CPU Handshake)
IOEN high delay (CPU Handshake)
READYD pulse width (CPU Handshake)
EXTLD low delay
-150ns
-20ns
50-ns
50-ns
td8
td9
tpw6
tr
tz
Register Data/Address set-up time
Register Data/Address set-up time
EXTLD low pulse width
READYD to STRBD release
(SELECT • STRBD) to IOEN
-30ns
-0ns
56-ns
-1.37µs
-1.8µs
Figure 29 – CPU Writes to External Register
26
Page 27
Aeroflex Circuit Technology
SCDCT2553 REV B 8/6/99 Plainview NY (516) 694-6700
16MHz Clock
(Internal)
STRBD
SELECT
tr
See Note 1
IOEN
READYD
MEM/REG
RD/WR
MEMCS
(Internal)
MEMOE
A15-A00
D15-D00
NOTE:
1. STRBD to IOEN (low) delay is two clock cycles. If contention occurs, delay is two clock cycles following release of bus.
2. CPU must release STRBD
tz
td4
within 1.5µs of IOEN going active. READYD will go away within one clock cycle maximum.
See Note 2
td1
RAM ADDRESS VALID
RAM DATA VALID
td2
tpw1
CPU Reads from RAM
SYMBOLDESCRIPTIONMINMAXUNITS
td1
td2
tpw1
td4
tr
tz
READYD low delay (CPU Handshake)
IOEN high delay (CPU Handshake)
READYD pulse width (CPU Handshake)
CPU MEMOE low delay
READYD to STRBD release
(SELECT • STRBD) to IOEN
-150ns
-20ns
50-ns
-100ns
-1.37µs
-1.8µs
Figure 30 – CPU Reads from RAM Timing
27
Page 28
Aeroflex Circuit Technology
SCDCT2553 REV B 8/6/99 Plainview NY (516) 694-6700
16MHz Clock
(Internal)
STRBD
SELECT
tr
See Note 1
IOEN
READYD
MEM/REG
RD/WR
MEMENA-OUT
MEMWR
A15-A00
D15-D00
tz
NOTE:
1. STRBD to IOEN (low) delay is two clock cycles. If contention occurs, delay is two clock cycles following release of bus.
2. CPU must release STRBD within 1.5µs of IOEN going active. READYD will go away within one clock cycle maximum.
See Note 2
td1
td3
RAM ADDRESS VALID
RAM DATA VALID
td2
tpw1
tpw2
CPU Writes to Ram
SYMBOLDESCRIPTIONMINMAXUNITS
td1
td2
tpw1
td3
tpw2
tr
tz
READYD low delay (CPU Handshake)
IOEN high delay (CPU Handshake)
READYD pulse width (CPU Handshake)
CPU MEMWR low delay
CPU MEMWR low pulse width
READYD to STRBD release
(SELECT • STRBD) to IOEN
-150ns
-20ns
50-ns
-120ns
70-ns
-1.37µs
-1.8µs
Figure 31 – CPU Writes to RAM Timing
28
Page 29
Aeroflex Circuit Technology
SCDCT2553 REV B 8/6/99 Plainview NY (516) 694-6700
16MHz Clock
(Internal)
STRBD
SELECT
IOEN
READYD
MEM/REG
RD/WR
A02 (38)
A01
A00
EXTEN
See Note
tr
td1
tz
td8
tpw1
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 FROM EXTERNAL REGISTER
CPU Reads from External Register Timing
SYMBOLDESCRIPTIONMINMAXUNITS
td1
td2
tpw1
td8
tr
READYD low delay (CPU Handshake)
IOEN high delay (CPU Handshake)
READYD pulse width (CPU Handshake)
Register Data/Address set-up time
READYD to STRBD release
-150ns
-20ns
50-ns
-40ns
-1.37µs
tz
(SELECT • STRBD) to IOEN
-1.8µs
Figure 32 – CPU Reads from External Register Timing
29
Page 30
Aeroflex Circuit Technology
SCDCT2553 REV B 8/6/99 Plainview NY (516) 694-6700
16MHz Clock
(Internal)
tr
STRBD
SELECT
IOEN
READYD
MEM/REG
RD/WR
A02
A01
A00
SSFLAG
, SSBUSY, SVCRQST
DBAC, RTU/BC, MT, CTLINB/A
D15-D00
NOTE:
1. STRBD to IOEN (low) delay is two clock cycles. If contention occurs, delay is two clock cycles following release of bus.
2. CPU must release STRBD within 1.5µs of IOEN going active. READYD will go away within one clock cycle maximum.
See Note 1
td1
tz
See Note 2
td6
DATA VALID
td2
tpw1
CPU Reads from Internal Register
SYMBOLDESCRIPTIONMINMAXUNITS
td1
td2
tpw1
td6
tr
tz
READYD low delay (CPU Handshake)
IOEN high delay (CPU Handshake)
READYD pulse width (CPU Handshake)
Internal Register delay (read)
READYD to STRBD release
(SELECT • STRBD) to IOEN
-200ns
-20ns
70-ns
-60ns
-1.37µs
-1.8µs
Figure 33 – CPU Reads from Internal Register Timing
30
Page 31
Aeroflex Circuit Technology
SCDCT2553 REV B 8/6/99 Plainview NY (516) 694-6700
Table 7A – CT2553 Pin Function Table (78 Pin DIP)
I
PinName
1D00(5)-0.4-4003.6I/O Data Bus Bit 0 (LSB).
2D02(5)-0.4-4003.6I/O Data Bus Bit 2.
3D04(5)-0.4-4003.6I/O Data Bus Bit 4.
4D06(5)-0.4-4003.6I/O Data Bus Bit 6.
5D08(5)-0.4-4003.6I/O Data Bus Bit 8.
6D10(5)-0.4-4003.6I/O Data Bus Bit 10.
7D12(5)-0.4-4003.6I/O Data Bus Bit 12.
8D14(5)-0.4-4003.6I/O Data Bus Bit 14.
9RTAD1(5)-0.4--Remote Terminal Address Bit 1.
10RTAD0(5)-0.4--Remote Terminal Address Bit 0 (LSB)
11RTAD4(5)-0.4--Remote Terminal Address Bit 4 (MSB)
12ILLCMD
13SA/MC-0---4002.0Subaddress/Mode Command Bit 0. Multiplexed output bit-0 of
14Logic +5V----+5V supply input for digital logic section. B6 counter.
15SA/MC-1---4002.0Subaddress/Mode Command Bit 1. In MT mode, pulses every time 32
16BCSTRCV
17LMC---4002.0Latched Mode Command. Logic 1 indicates current command word is a
18 -15V---- -15V input power supply connection for the B channel transceiver.
19GNDB----Ground B. Power supply return connection for the B channel
20TX/RX-B----Transmit/Receive transceiver-B. Input/output to the coupling
21Logic GND----Logic Ground. Power supply return for the digital logic section.
22A01(5)-0.4-4003.6Address Bit 1
23A03(5)-0.4-4003.6Address Bit 3
24A05(5)-0.4-4003.6Address Bit 5
25A07(5)-0.4-4003.6Address Bit 7
26A09(5)-0.4-4003.6Address Bit 9
27A11(5)-0.4-4003.6Address Bit 11
28A13(5)-0.4-4003.6Address Bit 13
29A15(5)-0.4-4003.6Address Bit 15 (MSB)
30MEMOE
45D09(5)-0.4-4003.6I/O Data Bus Bit 9.
46D11(5)-0.4-4003.6I/O Data Bus Bit 11.
47D13(5)-0.4-4003.6I/O Data Bus Bit 13.
48D15(5)-0.4-4003.6I/O Data Bus Bit 15 (MSB).
49RTAD3(5)-0.4--Remote Terminal Address Bit 3.
50RTAD2(5)-0.4--Remote Terminal Address Bit 2.
51RTADP(5)-0.4--Remote Terminal Address Parity input.
52SA/MC-2---4002.0Subaddress/Mode Command Bit 2. B8 (MSB) counter.
53SA/MC-4---4002.0Subaddress/Mode Command Bit 4.
54SA/MC-3---4002.0Subaddress/Mode Command Bit 3.
55THIS-RT
56RTPARERR
57T/R
58+5VB----+5V power supply connection for the B channel transceiver.
59TX/RX-B
60A00(5)-0.4-4003.6Address Bit 0 (LSB).
61A02(5)-0.4-4003.6Address Bit 2.
62A04(5)-0.4-4003.6Address Bit 4.
63A06(5)-0.4-4003.6Address Bit 6.
64A08(5)-0.4-4003.6Address Bit 8.
65A10(5)-0.4-4003.6Address Bit 10.
66A12(5)-0.4-4003.6Address Bit 12.
67A14(5)-0.4-4003.6Address Bit 14.
68MEMWR
69MEMENA-IN
70INCMD
71MSTRCLR
72INT
73IOEN
74SELECT
75READYD
76TAGEN
77+5VA----+5V input/power supply for channel A transceiver.
78TX/RX-A
(µA) IIL(mA) IOH(µA) IOL(mA)
IH
Description
---4002.0Logic 0 pulse indicates receipt of a valid command word which contains
the Remote Terminal address equivalent to the RTADO-RTAD4 inputs.
---4002.0RTU (address) Parity Error. Logic 0 indicates RTU address parity (odd
parity: RTADO-RTAD4, RTADP) has been violated.
---4002.0Transmit/Receive 1553 data. Latched T/R bit from current command
word.
----Transmit/Receive transceiver-B. Inverted I/O to coupling transformer
that connects to channel B of the 1553 Bus.
---4004.0Memory Write. Output pulse to write data into memory.
±20±0.02--Memory Enable In. Enables internal RAM only; connect directly to
MEMENA-OUT
.
---4002.0In Command. Indicates BC or RTU currently in message transfer
sequence.
(6)-0.7--Master Clear. Power-on reset from CPU.
---4004.0Interrupt. Interrupt pulse line to CPU.
---4004.0Input/Output Enable. Output to enable external hybrid to the
address/data bus.
(6)-0.7--Select. Input from the CPU. When active, selects CT2553 for operation.
---4004.0Ready Data. When active indicates data has been received from, or is
available to, the CPU.
---4004.0Tag Enable. Enables an external time to counter for transferring the
time tag word into memory.
----
Transmit/Receive transceiver-A. Inverted I/O to the coupling
transformer that connects
to the A channel of the 1553 Bus.
is specified at: VCC = 5.5V, VIH = 2.7V.
1. I
IH
is specified at: VCC = 5.5V, VIL = 0.4V.
2. I
IL
is specified at: VCC = 4.5V, VIH = 2.4V.
3. I
OH
is specified at: VCC = 4.5V, VIH = 0.4V.
4. I
OL
5. Internal Pull-up Resistor = 30K Ohms, typ.
6. Internal Pull-up Resistor = 16K Ohms, typ.
7. Pin 13 = B6, Pin 15 = B7 and Pin 52 = B8 (MSB). B6, B7 and B8 are the MSB lines of an 8 BIT Counter used in the BC and MT
mode to count 32 WORD TRANSFERS to memory (16 words received off the bus) for a total of 128 DATA and Tag words (in
MT mode). (See pages 19 & 20 for discussion.)
32
Page 33
Aeroflex Circuit Technology
SCDCT2553 REV B 8/6/99 Plainview NY (516) 694-6700