4.10.1 SELF·DIAGNOSTIC STATUS CODE SUMMARY 000 - Successful Completion. The chip executed all self-diagnostics following a reset and detected no errors. 001 - Unconditional Branch Failed. The chip's internal sequencer attempted an unconditional branch and failed to reach the desired location. 010 - Data Register Full Failed. The chip attempted to set and reset the Data Register Full status bit in the Interrupt Register and failed. 011 - Initial Conditions Incorrect. The chip detected one of its internal initial conditions in the wrong state. 100 - Initial Command Bits Incorrect. The chip tested bits 6,4,2,1 and 0 of the Command Register and found at least one was not zero.
101 - Diagnostic Flag Failed. The chip failed in its attempt to set and reset its internal diagnostic flag. 110 Data Turnaround Failed. During self-diagnostics the chip attempts to flush several bytes of data through its internal data paths. It also attempts to set and reset the Parity Error bit in the Interrupt Status Register. This status indicates that one of these operations failed. 4.11 TRANSFER COUNTER (THREE EIGHT·BIT COUNTERS) Receive and Transfer commands that require more than a single byte of data to be transferred. It may also be used with Select and Reselect commands to set a timeout for no response.
To write to (read from) the Transfer Counter, CS is activated with A3-AO selecting a byte and then pulsing WR (RD). The Transfer Counter is addressed as shown below. The Transfer Counter is comprised of three, eight-bit register/counters. It is used by the chip for Send, A3 A2 A1 AO 1 1 0 0 1 1 0 1 1 1 1 0 SELECTED BYTE Most Significant Byte Middle Byte least Significant Byte For Send, Receive and Transfer commands with single·byte not specified, the Transfer Counter specifies to the chip the maximum number of bytes to be sent or received before interrupting. The Transfer Counter must be loaded prior to issuing the command.
When single-byte is specified, the chip neither uses nor alters the Transfer Counter. To facilitate servicing interrupts for commands that use the Transfer Counter, a bit is provided in the Auxiliary Status Register to indicate when the Transfer Counter is zero. For Select and Reselect commands, the Transfer Counter specifies the number of time intervals (1024 ClK periods) that the chip will wait before automatically aborting the command due to no response (BSY) from the destination device. The Transfer Counter must be loaded prior to issuing the command.
If the Transfer Counter is loaded with all zeroes, the timeout logic in the chip will be disabled, and the chip will not automatically abort the command due to no response. 16