hi-6131pqtf QuickLogic Corp, hi-6131pqtf Datasheet - Page 158

no-image

hi-6131pqtf

Manufacturer Part Number
hi-6131pqtf
Description
Mil-std-1553 / Mil-std-1760 3.3v Bc / Mt / Rt Multi-terminal Device
Manufacturer
QuickLogic Corp
Datasheet
19. REMOTE TERMINAL RT1 AND
19.1. Command Responses
A brief review of MIL-STD-1553 commands and re-
sponses is appropriate here to establish terminology
used in the rest of this data sheet. Shown in Figure 11,
each command word is comprised of a sync field, three
5-bit data fields, a single bit denoting Transmit / Receive
direction and ends with a parity bit. The hardware de-
coder uses the sync field to determine word type (com-
mand vs. data). Word validity is based on proper sync
encoding, Manchester II encoding, correct bit count and
correct odd parity for the 16 data bits. Once a valid word
with command sync is found, the sync and parity are
stripped before the command’s 16 data bits are stored
for further processing.
A “valid command” can be specifically addressed to the
individual HI-6130 terminal (the command word’s em-
bedded Terminal Address field matches the terminal
address latched in the Operational Status register) or
can be a “broadcast command” addressed to all termi-
nals. Broadcast commands are always addressed to RT
address 31 (0x1F). In systems where broadcast com-
mands are disallowed, RT31 is not used as a conven-
tional terminal address. When set, the BCSTINV bit in
Configuration Register 1 renders RT31 commands as
“invalid”: broadcast commands are indistinguishable
from commands addressed to other terminals. Invalid
commands are simply disregarded.
When the command word’s 5-bit SA (subaddress) field
is in the range of 1 to 30 (0x01 to 0x1E) the command is
considered a “subaddress command”. The terminal will
either receive or transmit data words, and “direction” is
specified by the command’s T/R bit. The number of data
words transacted is specified in the 5-bit word count
field, ranging from 1 to 32 words. Thirty-two data words
Figure 11. MIL-STD-1553 Command Word
Command
Sync
RT2 CONFIGURATION AND
OPERATION
Terminal
* Word Count field is replaced by Mode Code
Address
field when the SA field equals 0x00 or 0x1F
Field
Structure
T/R
Bit
Subaddress
(SA) Field
Word Count
Field *
HOLT INTEGRATED CIRCUITS
HI-6130, HI-6131
Parity
Bit
158
is represented when the word count field equals 0x00.
When the command’s 5-bit subaddress field equals 0 or
31 (0x1F) a “mode code” command is indicated; the low
order five bits no longer specify a word count, instead
they convey a mode code value. This data sheet refers
to mode code commands by the mode code number.
For example, a mode command with 5-bit mode code
field of 0x10 is called MC16, and the full range of mode
code values is MC0 through MC31 (decimal).
Mode codes MC16 through MC31 (0x10 through 0x1F)
have a single associated data word. When the com-
mand T/R bit equals 0, the data word is contiguous with
the command word and received by the RT. When the
command’s T/R bit equals 1, the data word is transmit-
ted by the RT, following the terminal’s transmitted status
word.
Mode codes MC0 through MC15 (0x0F) do not have as-
sociated data words. For these 16 commands, the com-
mand T/R bit does not specify “direction”. These com-
mands must be transmitted with T/R bit equal to 1. If the
T/R bit is 0, the mode command is “undefined”.
Twenty-two mode commands are “undefined mode
commands ” in MIL-STD-1553B:
The UMCINV bit in Configuration Register 1 determines
how these undefined mode commands are handled
by the HI-6130/31. If the UMCINV configuration bit
equals 1, the undefined mode commands are treated
as invalid. They are not recognized by the device. There
is no terminal response and status is not updated. If the
UMCINV configuration bit equals 0, the 22 undefined
mode commands are considered valid; this is the
default condition following reset. For this case, terminal
response depends on whether or not the application
uses “illegal command detection.”
If illegal command detection is not used, all Illegal-
ization Table entries should be logic 0, including the 22
entries for these undefined commands. (The Illegaliza-
tion Table is fully described in Section 19.2 on page 160.
After MR reset, all entries equal logic 0.) The terminal
responds “in form”, transmitting clear status (and a sin-
gle mode data word if the command is MC17, MC20 or
MC21 with T/R bit = 1). Terminal status is updated.
If illegal command detection applies, the Illegalization
Table entries for these 22 undefined commands should
be initialized to logic 1. In this case, the terminal will re-
spond with status word only, with Message Error bit set.
Mode Codes 0 through 15 with T/R bit = 0
Mode Codes16, 18 and19 with T/R bit = 0
Mode Codes 17, 20 and 21 with T/R bit = 1

Related parts for hi-6131pqtf