15
Data Device Corporation
www.ddc-web.com
BU-65170/61580/61585
T-6/09-0
BC-to-RT Transfer
Control Word
Receive Command Word
Data Word #1
Data Word #2
.
Last Data Word
Last Data Word Looped Back
Status Received
Last Data Word
.
Data Word #2
Data Word #1
Status Received
Transmit Command Looped Back
Transmit Command Word
Control Word
RT-to-BC Transfer
Transmit Command
Looped Back
Rx RT Status Word
Last Data
.
Data #2
Data #1
Tx RT Status Word
Transmit Command
Receive Command
Control Word
RT-to-RT Transfer
Mode Command
Looped Back
Status Received
Mode Command
Control Word
Mode Code;
No Data
Mode Command
Looped Back
Data Word
Status Received
Tx Mode Command
Control Word
Tx Mode Code;
With Data
Tx Command
Looped Back
Last Data
.
Data #2
Data #1
Tx RT Status Word
Tx Command
Rx Broadcast Command
Control Word
RT-to-RTs (Broadcast)
Transfer
Last Data Status
Word
Last Data
.
Data #2
Data #1
Broadcast Command
Control Word
Broadcast
Data Word
Data Word Looped
Back
Status Received
Rx Mode Command
Control Word
Rx Mode Code;
With Data
Broadcast Mode Command
Looped Back
Broadcast Mode Command
Control Word
Broadcast Mode Code;
No Data
Data Word Looped Back
Data Word
Broadcast Mode Command
Control Word
Broadcast Mode Code;
With Data
FIGURE 4. BC MESSAGE BLOCK FORMATS
RT MEMORY MANAGEMENT
One of the salient features of the ACE series products is the flex-
ibility of its RT memory management architecture. The RT archi-
tecture allows the memory management scheme for each trans-
mit, receive, or broadcast subaddress to be programmable on a
subaddress basis. Also, in compliance with MIL-STD-1553B
Notice 2, the BU-65170/61580 provides an option to separate
data received from broadcast messages from nonbroadcast
received data.
Besides supporting a global double buffering scheme (as in BC
mode), the ACE RT provides a pair of 128-word Lookup Tables
for memory management control. They are programmable on a
subaddress basis (refer to TABLE 27). These 128-word tables
include 32-word tables for transmit message pointers and
receive message pointers. There is also a third, optional Lookup
Table for broadcast message pointers, providing Notice 2 compli-
ance, if necessary.
The fourth section of each of the RT Lookup Tables stores the 32
Subaddress Control Words (refer to TABLE 9 and 28). The indi-
vidual Subaddress Control Words may be used to select the RT
memory management option and interrupt scheme for each
transmit, receive, and (optionally) broadcast subaddress.
For each transmit subaddress, there are two possible memory
management schemes: (1) single message; and (2) circular buf-
fer. For each receive (and optionally broadcast) subaddress,
there are three possible memory management schemes: (1)
single message; (2) double buffered; and (3) circular buffer. For
each transmit, receive and broadcast subaddress, there are two
interrupt conditions that are programmable by the respective
Subaddress Control Word: (1) after every message to the subad-
dress; (2) after a circular buffer rollover. An additional table in
RAM may be used to enable interrupts following selected mode
code messages.
When using the circular buffer scheme for a given subaddress,
the size of the circular buffer is programmable by three bits of the
Subaddress Control Word (see TABLE 28). The options for circu-
lar buffer size are 128, 256, 512, 1024, 2048, 4096, and 8192
Data Words.
SINGLE MESSAGE MODE
FIGURE 5 illustrates the RT Single Message memory manage-
ment scheme. When operating the BU-65170/61580 in its “AIM-
HY” (default) mode, the Single Message scheme is implemented
for
all transmit, receive, and broadcast subaddresses. In the
Single Message mode (also in the Double Buffer and Circular
Buffer modes), there is a global double buffering scheme, con-
trolled by bit 13 of Configuration Register #1. This selects from
between the two sets of the various data structures shown in the
figure: the Stack Pointers (fixed addresses), Descriptor Stacks
(user defined addresses), RT Lookup Tables (fixed addresses),
and RT Data Word blocks (user defined addresses). FIGURES
5, 6, and 7 delineate the “active” and “nonactive” areas by the
nonshaded and shaded areas, respectively.
As shown, the ACE stores the Command Word from each mes-
sage received, in the fourth location within the message descrip-
tor (in the stack) for the respective message. The T/R bit, subad-
dress field, and (optionally) broadcast/own address, index into
the active area Lookup Table, to locate the data block pointer for
the current message. The BU-65170/61580 RT memory man-
agement logic then accesses the data block pointer to locate the
starting address for the Data Word block for the current mes-
sage. The maximum size for an RT Data Word block is 32
words.