MIL-STD-1553B Bus Controller Core1553BBC
16 v2.0
Error Conditions
Core1553BBC monitors bus errors and in most cases will perform automatic retry operations if recovery is possible
(Table12).
Loop Back Tests
Core1553BBC performs loop back testing on all of its
transmissions; the transmit data is fed back into the
receiver, and each transmitted word is compared to the
original. If an error is detected, the transmitter shutdown
bit is set in the BC status register.
Message Sequence Control
Core1553BBC message sequence control enables it to
automatically sequence mess ages with out CPU intervention.
It supports conditional jumps and sub-routine calls as well
as time control functions.
All instructions make use of the condition codes. The
condition codes cover error conditions, 1553B status word
values, and an external input . Core1553BBC supports CALL
and RETURN instructions wi th the aid of a stack that allows
for 255 ret urn address es to be st or ed. The stack occupies the
top 256 words of memory.
To support message timing and minor/major frame timing,
Core1553BBC has a built-in real time clock (16-bit) and
timer (8-bit) that can be used to synchronize message
timing. The r eal time clock and timer have a pr ogrammable
resolution of 1µs, 4µs, 8µs, or 32µs. Messages can be
programmed to be sent at an absolute time or relative to the
end of the previous message.
Asynchronous Messages
Core1553BBC supports asynchronous messages. While idle
or when a normal message list is being processed, the CPU
can initiate the core to jump to a secondary (asynchronous)
message list and process these messages. When complete,
the core will go back to the original message list.
The asynchronous message list can be started dire ctly by the
CPU by writing to the control register. When the current
message completes, the core pushes the current LISTPTR
address on the stack and load the LISTPTR with the value
Table 12 • Error Conditions
Erro r C ondit i on Action
Group Error
Signaling
1553B signaling error, parity, Manchester error, too
many or to few words, or incorrect SYNC type Messag e i s retried
1553B Loopback Failure. Can occur if an RT
responds late, causing the RT response and
following command word to corrupt each other on
the bus
Messag e is re tried
Loopback bit set in BC status
BC continues to process messages
Transmitter Overrun. Internal timer detects the BC
has transmitted for greater than 688µsBC controller aborts and asserts the transmitter
shutdow n interr upt
Memory
Memory Access Failur e BC controller abo rts and asser ts the memor y failure
interrupt
Stack Overflow or Underflow BC control ler aborts and asserts the stack overflow
interrupt
Status Word
Terminal Flag in SW
Sub-system Flag in SW
Service Request Flag in SW
Broadcast bit is SW
Unexpected bit in 1553B status bit set in the TSW.
Message is not retried
Busy Flag in SW
Message Error bit in SW Messag e is re tried
Other SW bit Message is retried
RT Response No or Late Re spons e Message is retried
Miscellaneous
Corrupt Instruction List
Illegal OPCODE
Message block MSGCMD message type bits [3:0]
mismatch the provided command word
BC controller aborts and asserts the corrupt
instruction list interrupt
Retry Fails Retries do not correct the error Message Okay bit in TSW not set
CPU Interface Start or second asynchronous message command
issued while an asynchronous message is active Command is ignored and an illegal command
interrupt generated