5
Data Device Corporation
www.ddc-web.com
BU-65570M
D-09/05-0
The BU-65570M supports three types of response errors: no
response, a late response, or a response on the wrong bus. No
response errors may be programmed for a single channel (Bus
A or Bus B) or for both buses. Injecting a no response error on
one bus provides a simple mechanism for testing bus controller
retry conditions. A late response may be programmed in the
range of 12 to 30 µsec in 1 µsec increments.
RT INTERMESSAGE ROUTINES
The RT section of the BU-65570M also supports intermessage
routines. Upon completion of an RT message the BU-65570M's
on-board processor executes two intermessage routines. The
intermessage routine is specified by the data table that was used
by the RT for a given message. Refer to TABLE 3 for a summa-
ry of the BU-65570M's intermessage routines.
BC/RT DATA TABLES
The BU-65570M maintains 1000 data tables within the shared
RAM on the card. Each data table may be up to 32 words in
length. These data tables are common to both BC and RT.
Internal lookup tables map each RT address, T/R, subaddress
combination (RT mode) and message number (BC mode) to a
given data table. Data tables may be read or written to in real
time. Data tables may be either single or double buffered. Double
buffering can be used to avoid contention when the PC's appli-
cation and the 1553 bus access data tables simultaneously.
The BU-65570M provides an optional block data mode in which
the data table number associated with a given BC or RT mes-
sage is incremented after completion of the message. The block
data mode is implemented as a circular data structure. Each BC
message and RT command (RT address, T/R, and subaddress)
has three data table numbers associated with it: first, last, and
current. The current data table number will be incremented after
completion of message until the value of last is reached, at which
point the current table number will rollover to the value of first.
The incrementing of the current data table is accomplished
through the use of an intermessage routine.
MONITOR MODE
The BU-65570M contains an independent message monitor with
the ability to filter messages in real time. Monitor selection or fil-
tering is performed through the use of a lookup table based on
the RT address, T/R, and subaddress of command words.
Monitored messages are stored in the shared RAM on the BU-
65570M. Each entry in the monitor buffer contains a header fol-
lowed by a variable number of data words. Contained with the
message header are the receive/transmit command(s),
receive/transmit status(es), message format, Bus (A or B), a cap-
ture flag, word count (actual number of words in the message),
a detected error field, and a 32-bit time tag (1 µsec resolution).
The transfer of the messages from the card’s circular buffer to
the host memory/disk is determined by the capture flag which is
set upon detection of a predefined event. Capture events include
immediate, command template match, exception, or trigger. The
command template event is based on a 16-bit command word
with a 16-bit mask. Exception events may be programmed for
any exception: invalid command, invalid data, invalid status, gap
preceding data, response time error, wrong RT address error,
status set condition or an illegal command. The trigger event
uses one of the eight monitor input pins on the 9-pin D-type con-
nector as a trigger input.
INTERRUPTS
Interrupts to the PC are requested by both the BC/RT and the
Monitor on a common output. The hardware interrupt level used
by the BU-65570M is software programmable via an I/O mapped
register on the card. The interrupt level may be programmed to
any available interrupt value.
BC INTERRUPT GENERATION
BC interrupts may be enabled by a global interrupt mask for suc-
cessful messages, communication errors, status set conditions,
or on selected frame symbols (skip, break point, major frame,
and minor frame symbols). The criteria for a status set condition
is programmed globally through the use of a status mask. The
status mask allows any of the 16 bits within an RT status word to
be ignored. The status mask affects the generation of interrupts
as well as the detected error field which is stored in the message
structure.
BC interrupts are issued by intermessage routines associated
with messages allowing for selective interrupt generation on a
message by message basis. Each interrupt request is accompa-
nied by a two word vector pushed onto a circular queue which is
transparent to the user. The queue can hold up to 64 interrupt
vectors; thus, the host computer is not required to immediately
acknowledge the interrupt request.
RT INTERRUPT GENERATION
RT interrupts may be enabled by a global interrupt mask for
transmit/receive messages with no message error, mode com-
mands with no message error, transmit/receive messages with
the message error bit set, or mode commands with the message
error bit set.
RT interrupts are issued by intermessage routines associated
with data tables allowing for selective interrupt generation on a
message by message basis. Each interrupt request is accompa-
nied by a two word vector pushed onto a circular queue which is
transparent to the user. The queue can hold up to 64 interrupt
vectors; thus, the host computer is not required to immediately
acknowledge the interrupt request.
MONITOR INTERRUPTS
Monitor interrupts may be generated after each message is
received or after one third of the monitor's circular buffer has
been filled (approximately 4K words). This allows for either real-
time analysis or mass collection/storage of monitored data.