WD33C93A SCSI Bus Interface Controller ~ WESTERN DIGITAL Copyright © 1991 Western Digital Corporation All Rights Reserved Information furnished by Western Digital Corporation is believed to be accurate and reliable. However, no responsibility is assumed by Western Digital Corporation for its use; nor for any infringements of , patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of Western Digital Corporation. Western Digital Corpora- tion reserves,the right to change specifications at any time without notice. ' Western Digitalis a registered trademark of Western Digital Corporation. All other trademarks mentioned herein belong to their respective companies. Western Dig'ltal Corporation Western Digital Plaza, 8105 Irvine Center Drive, Irvine, CA 92718 For Service and Literature, call: 714.932.4900 800.832.4778 (USA) 800.448.8470 (Canada) WD33C93A WD33C93A SCSI Bus Interface Controller FEATURES The WD33C93A is intended for use in systems which o Implements full SCSI bus features: arbitration, interface to the SCSI (Small Computer System Inter- disconnect, reconnect, parity generation/checking face) Bus. The WD33C93A can operate in both the on both data ports, soft reset, and synchronous Initiator (typically, a host computer system) and the data transfers. Target (typically, a peripheral device) SCSI bus roles. o Asynchronous Data transfers up to 2.5 Mb/sec When used in the host system, the WD33C93A inter- faces to both the host bus and to the SCSI bus. To o Synchronous Data transfers up to 5.0 Mb/sec perform a SCSI operation, the host processor must o Synchronous offset selectable from 1 to 12 bytes. issue a command to the WD33C93A to select the o Compatible with most microprocessors through an desired Target. The WD33C93A then arbitrates for the 8-bit data bus; supports both multiplexed and non- SCSI bus and selects the peripheral unit. If it fails to get multiplexed address/data bus systems. Host bus the bus because of a higher priority bus device, it data parity checking and generation is an optional continues trying, notifying the host when it has suc- feature. ceeded by generating an interrupt. At this point, the WD33C93A is operating in the initiator role. When the o Can be used as host adapter (SCSI Initiator) or peripheral requests a SCSI command from the host, the peripheral adapter (SCSI Target). WD33C93A receives the request and generates o Local host data transfer options include another interrupt to the host. The host responds to this programmed 110, single byte OM A, burst (multibyte) interrupt by issuing a "Transfer Info" command and DMA, or direct bus access (WD bus) transfers. supplying SCSI command bytes to the WD33C93A. o Includes 48-ma drivers for direct connection to The WD33C93A transfers the SCSI command to the the SCSI bus. peripheral, and then waits for the next bus phase request. This process continues until all SCSI informa- o 24 bit transfer counter. tion including data, status, and messages have been o Programmable timeout for selection and reselection. transferred. o Internal Microcontroller The WD33C93A also offers high level Select-And- o "Combination" commands greatly reduce interrupt- Transfer commands, which may be used to eliminate handling responsibilities. the interrupt-handling which is otherwise typically required between each SCSI bus phase. o Special "Translate Address" command performs the Logical-to-Physical addressed translation. When the WD33C93A is used in a peripheral system, it interfaces with a local processor and the SCSI bus just o Single + 5V supply. as it does when used as a host adapter. In this environ- o Available in 44;pin chip carrier or 40-pin DIP. ment, the WD33C93A will operate primarily in a Target o Low power CMOS design. role. The Target-role command set enables the WD33C93A to reqljest each SCSI bus phase individu- ally, or the special combination commands may be used DESCRIPTION for automatic SCSI bus phase sequencing. The WD33C93A is a MOSNLSI device which is imple- The WD33C93A has an internal microcontroller, a reg- mented in Western Digital's CMOS process. It operates ister task file, and SCSI interface logic. This architec- from a single 5 volt supply and is available in either a 44- ture supports both tight control of the protocol for non- pin chip carrier or a 40-pin dual-in-line package. All standard SCSI implementations, as well as a hands- inputs and outputs are TTL-compatible. free mode for standard SCSI applications. 12-12-90 29-1 "'''''''''" .. 1/0 1 40 vee ~ 2 39 REO , GNO 3 38 ACK C/O 4 37 i\1"N SSY 5 36 MR sa: 6 35 GNO eLK 7 34 SU1 rmo 8 33 SOO OACK 9 32 S05 INTRa 10 31 SD4 DO 11 4O-PIN 30 goo 01 12 29 ~ D2 13 DIP 28 GNO D3 14 27 SIn D4 15 26 soc os 16 25 SUP D6 17 24 ALE 07 18 23 RE AO 19 22 wr:. GNO 20 21 cs G S S S S S S G S S N 0 o (N.C.)O 0 0 0 N 0 0 0 7 6 5 4 3 2 0 0 - - - - - - 39 38 37 36 35 34 33 32 31 30 29 MR 40 28 sap Am 41 27 ALE ACR 42 26 FiE REQ 43 25 WE vee 44 24 cs (N.C.) - -. 23 GND i/o 2 22 (N.C.) fJSG 3 21 AO GNO 4 20 D7 CIO 5 19 D6 SS? 6 18 D5 7 8 9 10 11 12 13 14 15 16 17 seD D DI DDDDD E L R A PN01234 L K a e T - K R a NOTE: Pin labeled N.C. should be left not connected. 29-2 12-12-90 WD33C93A 4. PIN DESCRIPTIONS 4.1 PROCESSOR/DMA INTERFACE DIP PLCC , (40 PIN) (44 PIN) NAME 110 FUNCTION· 7 8 ClK I 8-16 MHz square wave clock. 36 40 MR I Reset is an active low input which forces the WD33C93A into an idle state. All SCSI signals are forced to the negated state. 10 12 INTRa 0 Interrupt Request to external microprocessor. Used to indicate command completionltermination or a need to service the SCSI interface. This bit is reset when the SCSI Status register is read. 23 26 RE I/O Read enable is an active low input which is used with CS- to read a WD33C93A register. In WD Bus mode, it is used as an output to read data from a sector buffer. (Tri-State) 22 25 WE 110 Write enable is an active low input which is used with CS- to write a W033C93A register. In WO Bus mode, it is used as an output to write data to a sector buffer. (Tri-State) 21 24 CS I Chip Select is an active low input which is used to ~ualifY RE· and WE- when accessing a register. his signal must be inactive during a OMA cycle (OACK· active in OMAlburst mode, or DRO active in WD Bus mode). 19 21 AO I Address pin used to access the internal rellisters for non-multiplexed address/aata busses (I.e., the ALE pin is grounded). The address of the desired register is loaded into the Address register during a write cycle with AO = O. The selected register is then accessed when AO = 1. 24 27 ALE I Address latch Enable is used for multiplexed address/data busses to load the address of the desired WD33C93A register from the data bus. If indirect addressing is to be used, the ALE pin should be grounded. See the description of the Address register for a complete discussion of direct and indirect addressing. 9 10 DACK/(RCS) 110 OMA acknowledge input used for interfacing to an external DMA controller. When DACK is low, all bus transfers are to/from the Data reaiS- ter regardless of the contents of the ADD RES register. In WO Bus mode, this pin functions as a RAM chip select output to allow the W033C93A to access a sector buffer. RE· and WE· are outputs when RCS· is active. Since this pin can be an open drain output, a pullup resistor is required when operating in WD Bus mode. 8 9 DRO/ (DRO) 110 Data request is an output when interfacing to an external DMA controller, and an input when in WD Bus mode. When used with an external OMA controller, ORO· and DACK· form the handshake for the data-byte transfers. In Burst mode, ORO· remains low as long as there is data to transfer. In WD Bus mode, the W033C93A performs burst transfers while ORO is high, and when ORO is low, data transfers are inhibited, RCS- is false, and the RE- and WE· outputs are disabled. Since this pin can be an open drain output, a pullup resistor is required when operating In OMA or Burst mode. 18·11 17-13 D7-00 I/O Host processor data bus. 11 OP I/O Data Parity, used only for checking/generating host data bus parity during data transfers. (odd) 12-12·90 29-3 4.2 SCSI INTERFACE Note: All pins have open-drain output drivers. DIP PLCC (40 PIN) (44 PIN) NAME 110 FUNCTION 39 43 REO 1/0 REO- is an input in the initiator role and an output in the target role. It indicates a request for a REal ACK data transfer. 38 42 ACK I/O ACK- is'an output in the initiator role and an input in the target role. II is used to indicate an acknowledgement for a REO/ACK data transfer handshake. 37 41 ATN 110 ATN- is an output in the initiator role and an input in the target role. II is used to indicate the SCSI Attention condition. 2 3 MSG I/O MSG- is an input in the initiator role and an output in the target role. II is asserted during a Message phase. 4 5 CIO I/O C/O· is an input in the initiator role and an output in the target role. It is used to indicate whether Control or Data information is on the SCSI data bus. 1 2 I/O I/O 1/0- is an input in the initiator role and an output in the target role. It controls the direction of data movement on the SCSI data bus with respect to an Initiator. 5 6 BSY I/O BSY· is asserted when the W033C93A is attempting to arbitrate for the SCSI bus or when connected as a Target. 6 7 SEL I/O SEL- is asserted when the W033C93A is attempting to select or reselect another SCSI device. N/A 28 SOP I/O SCSI data bus parity signal. (odd) 34-26 38-29 S07-S00 I/O SCSI data bus. 29-4 12-12-90 WD33C93A 5. WD33C93A BLOCK DIAGRAM SCSI INTERNAL BUS BUS SCSI ARBITRATION REGISTER FILE . -~ ~ ~ . - - AO/ALE PLA AND STACK ... CS- SCSI HOST INTERFACE PARITY ~ ~ GEN/CHECKER DATA BUFFERS PARITY GEN/CHECKER ... ~ RE- WE- D? I DO DP SCSI REQ/ACK ~ ~ HANDSHAKE MICROCONTROLLER LOGIC ........t----I~~ DRO- DATA BUFFER/ TRANSFER 12 BYTE FIFO COUNTER . . . .r-----.~ DACK .-- ROM I PROGRAM CNTR· 12-12-90 29-5 WD33C93A 6. WD33C93A REGISTERS 6.1 REGISTER MAP ADDRESS AO RIW REGISTER ACCESSED (Hex) 0 R AUXILIARY STATUS XX 0 W ADDRESS REGISTER XX 1 RfW OWN ID REGISTER /CDB SIZE 00 1 RfW CONTROL REGISTER 01 1 RfW TIMEOUT PERIOD REGISTER 02 1 RfW TOTAL SECTORS REGISTER /CDB 1ST 03 1 RfW TOTAL HEADS REGISTER /CDB 2ND 04 1 RfW TOTAL CYLINDERS REGISTER (MSB) /CDB 3RD 05 1 RfW TOTAL CYLINDERS REGISTER (LSB) ICDB 4TH 06 1 RfW LOGICAL ADDRESS (MSB) ICDB 5TH 07 1 RfW LOGICAL ADDRESS (2ND) /CDB 6TH 08 1 RfW LOGICAL ADDRESS (3RD) /CDB 7TH 09 1 RfW LOGICAL ADDRESS (LSB) /CDB 8TH OA 1 RfW SECTOR NUMBER REGISTER /CDB 9TH OB 1 RfW HEAD NUMBER REGISTER ICDB 10TH OC 1 RfW CYLINDER NUMBER REGISTER (MSB) ICDB 11TH OD 1 RfW CYLINDER NUMBER REGISTER (LSB) ICDB 12TH OE 1 RfW TARGET LUN REGISTER OF 1 RfW COMMAND PHASE REGISTER 10 1 RfW SYNCHRONOUS TRANSFER REGISTER 11 1 RfW TRANSFER COUNT REGISTER (MSB) 12 1 RfW TRANSFER COUNT REGISTER (2ND BYTE) 13 1 RfW TRANSFER COUNT REGISTER (LSB) 14 1 RfW DESTINATION ID REGISTER 15 1 RfW SOURCE 10 REGISTER 16 1 R SCSI STATUS 17 1 RfW COMMAND REGISTER 18 1 RfW DATA REGISTER 19 1 R AUXILIARY STATUS (DIRECT ADDRESSING MODE) 1F NOTES: 1. All unused bits of a defined register are reserved and must be zero. 2. Reading an undefined or unavailable register results in an all-ones data bus output. 3. Register addresses are determined by the Address register bits ARO thru AR7. 4. When using a multiplexed address/data bus with ALE, the AO pin is ignored and the Address register is loaded with ALE. In this mode, the Auxiliary Status register is mapped at Hex 1F. 5. See section 6.3 for a description of how reset affects the internal registers. 29-6 12-12-90 WD33C93A 6.2 REGISTER DESCRIPTIONS 6.2.1 AUXILIARY STATUS REGISTER (Address Hex IF) The Auxiliary Status register is a read-only register which contains general status information not directly associated with the interrupt condition. The Auxiliary Status register may be accessed at any time, except during DMA accesses (DACK- asserted in DMA/Burst mode, or ORO asserted in WD bus mode). 7 6 5 4 3 2 1 0 INT LCI BSY CIP 0 0 PE DBR Bit 0 DBR Data Buffer Ready is used during pro- Bit 3 Not used, will be zero. grammed 110 to indicate to the pro- Bit 4 CIP COMMAND IN PROGRESS, when cessor whether or not the Data register set, indicates that the WD33C93A is is available for reading or writing. Our- interpreting the last command entered ing Send or Transfer commands which into the Command register and there- transmit data over the SCSI bus, tre fore this register is unavailable. When DBR bit is set when the WD33C93A is this bit is reset, a command may be ready to take a byte from the host; the written to the Command register. bit is reset when the processor writes the byte to the DATA register. During Bit 5 BSY BUSY indicates that a Level " com- Receive or Transfer commands which mand is currently executing and there- receive data over the SCSI bus, the fore only the Command register (when DBR is set when a byte is received; it is CIP = 0), the DATA register, and the reset when the processor reads the Auxiliary Status register are access- byte from the DATA register. ible by the host. A Level " command may not be written to the Command Bit 1 PE Parity Error status indicates that even register when this bit is one. parity was detected on a data byte received during an information trans- Bit 6 LCI LAST COMMAND IGNORED indi- fer. Parity is checked on data received cates that a command was issued by from the host bus during transfers out the host just prior to or concurrent with to the SCSI bus. and is checked on a pending interrupt. and therefore the data received from the SCSI bus dur- command will be ignored and this sta- ing transfers out to the host bus. tus set. Detection of a parity error will set the Bit 7 INT INTERRUPT PENDING indicates that PE status bit regardless of the state of the Intrq pin is asserted. The host the HHP or HSP bits in the Control should read the SCSI Status register register. The PE bit is cleared when a to clear Intrq prior to issuing any new command is issued. commands. Bit 2 Not used, will be zero. 12-12-90 29-7 WD33C93A 6.2.2 ADDRESS REGISTER 6.2.3 OWN IDICDB SIZE REGISTER [Address XX Hex] [Address 00 Hex] The Address register is a write-only register which The Own ID/CDB Size register, in its first mode, can· contains the address of the register to be accessed. tains both the encoded ID of the WD33C93A on the Registers in the WD33C93A may be accessed in one of SCSI bus and several control bits that are used to two ways: initially configure the device during the "Reset" com· • Direct addressing (multiplexed address/data busses). mand. These bits control 'advanced feature' selection, In direct addressing, the falling edge of the ALE signal host bus parity enable, and selection of the input clock is used to latch the address into the ADDRESS regis- division. In its second mode (when advanced features ter. The ALE is typically then followed by the CS- and are enabled, see 7.3), this register is used during the WE- or RE- signals that access the selected register. combination commands to specify the SCSI CDB size if Also, in direct addressing, the AUXILIARY STATUS the command group is unknown to the WD33C93A. register is located at address 1F Hex. In the first mode, this register (as defined below) is • Indirect addressing (separate address/data busses). sampled and becomes effective only after a "Reset" In indirect addressing, the register access is per· command is issued to the device. This register must be formed in two separate cycles. This method is initialized, and then a "Reset" command issued, to set enabled by attaching ALE to ground. First, the the SCSI bus ID, the clock divisor, and the operating Address register is loaded by performing a write of the modes before any other commands are issued. desired address to the WD33C93A (WE- and CS- In the second mode, bits 3·0 of this register are used asserted) with AO = O. Then the register is accessed during the Select·and· Transfer and Wait-for·Select by asserting CS- and WE- or RE-, with AO = 1. Also, commands to specify the SCSI Command Descriptor following every access with AO = 1, the Address regis- Block size if it is not a group 0, group 1, or group 5 ter will automatically increment to paint at the next command. This mode is enabled only when advanced register, with the exception of the following locations: features are enabled (see 7.3). Auxiliary Status register, Data register, and the Com- mand register. In indirect addressing, the Auxiliary Status register is accessed by performing a read (CS· and RE· asserted) with AO = O. OWN IDICDB SIZE REGISTER 7 6 5 4 3 2 1 0 FS1 FSO 0 EHP EAF ID2 ID1 IDO Bit 0-2 IDn SCSI ID Bits 0-2 set the SCSI bus ID Status register will indicate parity number that the WD33C93A will use errors detected on the host bus, and during arbitration and selection. the HHP bit in the Control register will Bit 3 EAF ENABLE ADVANCED FEATURES, be used. When this bit is zero, no when set to one, causes the checking is performed on the host bus; WD33C93A to enable certain the PE bit is not set when a parity error advanced features (see section 7.3). is detected on the host bus, and the When this bit is zero. those features HHP bit must be set to zero. are disabled. NOTE: Parity is always generated on Bit 4' EHP ENABLE HOST PARITY, when set to the host data parity bit (DP), regard· one, enables odd parity checking on less of the state of this bit. the host bus; the PE bit in the Auxiliary Bit 5 Not used, will be zero. 29·8 12·12-90 WD33C93A Bit 6-7 FSn FREQUENCY SELECT 0-1 select the shows input clock frequency ranges divisor that is applied to the input and the corresponding divisors. The clock. The resulting clock is used for correct divisor for the input clock must data transfer timing and for SCSI bus be used, or SCSI bus timing specifica- arbitration timing. The table below tions may not be met. INPUT CLOCK RESULTING FREQUENCY FS1 FSO DIVISOR (MHZ) 8-10 0 0 2 12-15 0 1 3 16 1 0 4 xx 1 1 undefined Note that an 11 MHZ clock rate should not be used, as the resulting SCSI bus clear delay may violate SCSI specifications. The formula for computing the maximum SCSI data transfer rate is: MAXIMUM SCSI TRANSFER RATE = INPUT CLOCK FREQUENCY [MByte/sec] CLOCK DIVISOR 6,2.4 CONTROL REGISTER [Address 01 Hex] The CONTROL register is used to enable/disable cer- tain functions, such as response to parity errors and the SCSI attention condition. interrupt handling, and data transfer modes. BIT 7 6 5 4 3 2 1 0 DM2 DM1 DMO HHP EDI 101 HA HSP Bit 0 HSP The HALT on SCSI PARITY ERROR Bit 1 HA The HALT on ATTENTION bit (in Tar- bit enables the WD33C93A to termi- get mode only) enables the nate a Receive or Transfer command if WD33C93A to terminate a Send or a parity error is detected on an incom- Receive command if the ATN- input is ing SCSI data byte. In the Initiator role, asserted. This normally indicates that termination due to a SCSI parity error the Initiator detected a parity error causes the ACK- pin to be left in the while receiving data from the active state in order to inhibit any addi- WD33C93A. The ATN- input is tested tional data transfers (REQs) by the before the start of a data transfer, Target; this facilitates error handling every 4096 bytes if the transfer count with the Target. Synchronous data is greater than 4096, and after the end transfers check parity every 4096 of the transfer. These 'ules apply to bytes, or at the end of the remaining both synchronous and asynchronous transfer count, whichever is less. transfers. Asynchronous transfers check parity on every byte. 12-12-90 29-9 WD33C93A Bit 2 IDI The Intermediate Disconnect Interrupt between those commands, resulting in bit, when set, enables the WD33C93A reduced host system overhead. Refer to generate an 8SH disconnect inter- to Section 7 for more details. rupt and suspends a Select-and- Bit 4 HHP The Halt on Host Parity Error bit Transfer command if the Target dis- enables the WD33C93A to imme- connects according to the defined diately terminate a Send or Transfer SCSI protocol. When this bit is reset, command if a parity error is detected no interrupt is generated by a valid on an incoming host data byte. Host disconnect. This feature, when used parity errors are checked according to with the Resume SAT command, the rules for checking SCSI parity provides support for overlapped SCSI errors. However, a halt on a host parity operations. IDI is also used to select error will not hold the ACK- signal execution options in Target mode com- asserted when an error occurs. Host bination commands that serve to parity checking is performed at the reduce host system overhead. Refer to same intervals as SCSI parity Section 7 for more details. checking. Bit3 EDI When the Ending Disconnect Interrupt Bit 5-7 DMx DMA Mode Select bits 2-0 are used to bit is set, the 16H interrupt which nor- select the DMA mode of operation, mally follows the Command Complete which describes the host bus transfer message during the execution of a mode used during Data In or Data Out Select-And-Transfer command will be phases. The following table describes suppressed until the Target discon- the different DMA modes, and the nects from the SCSI bus. EDI is also state of these bits to select them: used in the Target mode combination commands to, enable chaining DM2 DM1 DMO DMA MODE SELECTED 0 0 0 Polled 1/0 Mode, or no DMA enabled. All data phase transfers are performed by polling for DBR in the Auxiliary Status register, and then writing (reading) the data to (from) the Data register. 0 0 1 Burst Mode selects a demand-mode DMA interface. In this mode, the DRO- signal will be active as long as there is datalspace in the internal FIFO to allow the transfer to continue. The DMA controller responds by asserting DACK- and RE-IWE- as long as DRO- is active. 0 1 0 WD Bus Mode should be selected when the WD33C93A is connected to a WD Bus. This mode is also referred to as Direct Buffer Access (DBA) mode. In this mode, the WD33C93A acts as a bus master, and all data access signals reverse their direction: The DRO- signal become the DRO input, which enables the WD33C93A to drive the buffer bus control signals. The DACK- signal becomes the RCS- output, which is asserted as a chip select for the buffer. RE- and WE- become outputs which drive the read and write functions of the external FIFO/RAM buffer. As long as the DRO signal is asserted, transfers will continue in a burst manner, until the transfer is complete or the host/local up decides to pause the transfer by negating the DRO signal; after negating DRO, one more transfer may occur before the RCS-, RE-, and WE- signals are negated. 1 0 0 DMA Mode is selected when the WD33C93A is to be used with a DMA controller in single-type transfer mode. In this mode, DRO- is asserted and then negated, and the DMA controller responds by asserting DACK- and WE- or RE-, for each data byte transferred to/from the WD33C93A. 29-10 12-12-90 WD33C93A 6.2.5 TIMEOUT PERIOD REGISTER Select-And· Transfer: This register should be loaded [Address 02 Hex] with the third and fourth bytes of the COB before issuing a Select·And·Transfer command. The Timeout Period register is an 8-bit register contain- ing a preset value which determines the timeout period Wait·For·Select·And·Receive: The WD33C93A will for Select and Reselect commands. This value may be store the third and fourth bytes of the received COB in calculated as a function of the input clock frequency and this register. the desired timeout period, as shown in the following equation: 6.2.9 LOGICAL ADDRESS REGISTER! register value = Tper' Ficlk COB 5TH-8TH BYTES [Address 07, 80d 08, 09, OA Hex] Where: Translate Address: The logical Address register is a Tper the desired timeout period in milliseconds; 32·bit register which should be loaded with the logical Ficlk the input clol.k frequency at the ClK pin in address to be translated prior to issuing the Translate Megahertz (with no divisor applied). Address command. d decimal Select·And·Transfer: For six byte COBs, only the first The constant '80' scales the units of the equation, as is two bytes of this register are loaded with the fifth and based on the internal timeout cycle time. The user sixth bytes of the COB. For ten and twelve byte COBs, should round the resulting 'register value' up to the next this register is loaded with the fifth, sixth, seventh, and integral value to ensure that the user's minimum timeout eighth bytes of the COB. requirement is met. Wait·For·Select·And·Receive: The WD33C93A will The timeout period specifies how long the WD33C93A store the fifth, sixth, seventh (if any), and eighth (if any) will wait for a response (indicated by assertion of the bytes of the received COB in this register. BSY- signal) after it has begun the selection phase (assert SEl- and negate BSY-) before terminating the 6.2.10 SECTOR NUMBER command. The timeout function can be disabled by REGISTER/COB 9TH BYTE [Address OB Hex] loading the Timeout Period register with zero. Translate Address: This register will contain the result· NOTE: The following twelve registers are used ing sector number following a Translate Address exclusively by the Translate Address and/or "com- command. bination" commands. The function of each register Select·And·Transfer: This register should be loaded is determined by the type of command issued. with the ninth byte of a ten or twelve byte COB before issuing a Select· and· Transfer command. 6.2.6 TOTAL SECTORS REGISTER! Wait·For·Select·And·Receive: The WD33C93A will COB 1ST BYTE [Address 03 Hex] store the ninth byte of a ten or twelve byte received COB Translate Address: The Total Sectors register should in this register. be set to the total number of sectors per track prior to issuing a Translate Address command. 6.2.11 HEAD NUMBER REGISTER Select-and· Transfer: This register should be loaded COB 10TH BYTE [Address DC Hex] with the first byte of the Command Descriptor Block Translate Address: The Head Number register con· before issuing a Select·And·Transfer command. tains the resulting head number following a Translate Wait·For·Select·And·Receive: The WD33C93A will Address command. If automatic compensation for store the first byte of the received COB in this register. spare sectors on a disk is to be performed by the WD33C93A, then the number of spare sectors per 6.2.7 TOTAL HEADS REGISTER! cylinder must be written into this register before issuing COB 2ND BYTE [Address 04 Hex] the Translate Address command. It should be noted that when compensation is used, the maximum number of Translate Address: This register holds the total number cylinders allowed is 4096, and the maximum number of of heads during a Translate Address command. heads is 15. An initial value of zero in this register Select·And· Transfer: This register should be loaded indicates that no compensation is to be performed. with the second byte of the COB before issuing a Select· Select·And-Transfer: This register should be loaded And·Transfer command. with the tenth byte 01 a ten or twelve byte COB before Wait·For·Select-And·Receive: The WD33C93A will issuing a Select·And·Transfer command. store the second byte of the received COB in this Wait·For·Select·And·Receive: The WD33C93A will register. store the tenth byte of a ten or twelve byte received COB in this register. 6.2.8 TOTAL CYLINDERS REGISTER! COB 3RD AND 4TH BYTES 6.2.12 CYLINDER NUMBER REGISTER/COB [Address OS, 06 Hex] 11TH AND 12TH BYTES [Address 00, DE, Hex] Translate Address: This is a 16·bit register which holds Translate Address: The Cylinder Number register is a the totai number of cylinders. 12-12-90 29-11 .- ..... -.-".'~. VVUJJ(;~JA 16-bit register which contains the resulting cylinder During Wait-For-Select-And-Receive commands, this number following execution of the Translate Address register may hold the image of the Identify message command. When a Translate Address command involv- received from the Initiator. If the TLV bit is zero, there ing automatic compensation for spare sectors is issued was no Identify message received. If the TLV bit is one, (Le. the Head Number register initially contains a non- then a valid Identify message was received. The DOK zero value). then this register must be loaded with total bit will then indicate whether or not the Initiator has number of sectors per cylinder (total sectors/track • enabled disconnects. total heads - total spare sectors/cyl) before issuing the During Reselect-And-Transfer commands, this register command. is used to set the LUN to be used in the Identify mes- Select-And-Transfer: This register should be loaded sage sent to the Initiator after Selection phase. The TLV with the eleventh and twelfth bytes of a twelve byte CDB and DOK bits are not used. before issuing a Select-and-Transfer command. In advanced mode, during Select-And-Transfer com- Walt-For-Select-And-Recelve: The WD33C93A will mands, this register is used to handle reselection by an. store the eleventh and twelfth bytes of a twelve byte unexpected Target. In this mode, this register will hold received CDB in this register. the image of the Identify message received from the Send-Status-And-Command-Complete: The CDB11 Target. In this case, the TLV bit is one, since the Target register is used to specify the returned status byte to be always sends the Identify message. sent during a Send-Status-And-Command-Complete command. The CDB12 register is used to determine the 6.2.14 COMMAND PHASE REGISTER type of Command-Complete message sent by the [Address 10 Hex] WD33C93A. If bit 0 of the CDB12 register is set to one, The Command Phase register is used during combina- then a linked Command Complete message will be sent tion commands to indicate which phases of these multi- during command execution. In this case, bit 1 of the phase commands have been completed. Thus, if the CDB12 register is used as a FLAG bit to determine command has terminated abnormally, the processor whether a OA Hex (FLAG = 0) or a OB Hex (FLAG = 1) can read this register to determine the cause of the Linked Command Complete message is sent. If bit 0 is termination and how to respond to it. This register is zero, then a simple Command Complete message (00 also used to resume combination commands by loading Hex) is sent. this register with a value that indicates the next desired or expected bus phase, and reissuing the command. 6.2.13 TARGET LUN REGISTER Refer to the description of the specific commands for [Address OF Hex] details regarding the various command phases and The Target LUN register is used to hold both the Logical resume values. Unit Number (LUN) and Target status information dur- ing various WD33C93A commands and sequences. During a Select-And- Transfer or Reselect-And-Transfer command. the contents of this register (along with the Source ID register) are used to generate and check the Identify messages which are transferred across the SCSI bus. In addition, the Target LUN register is used to hold the Target Status byte received during a Select- And-Transfer command. BIT 7 6 5 4 3 2 1 0 TLV DOK 0 0 0 TL2 TL 1 TLO 29-12 12-12-90 WD33C93A 6.2.15 SYNCHRONOUS TRANSFER chronous data transfers. and is typically determined by REGISTER [Address 11 Hex] negotiation with the other SCSI device (as defined in the SCSI standard). The Transfer Period control bits The Synchronous Transfer register is used to select select the minimum transfer reriod for both syn· between synchronous and ~synchronous transfers, chronous and asynchronous SCSI transfers and, if WO· and is also used to define the maximum transfer rate. Bus mode is used. the transfer period and the width of For information phases other than a "data" transfer the RE·IWE· strobes for host transfers. The period is phase, or when the selected offset is zero defined in tp.rms of the internal clock cycte time; the (OF3 - OFO = 0), asynchronous transfers will occur. frequency of this clock is determined by the divisor Values greater than zero define a synchronous transfer selected in the OWN 10 register. mode and the offset is determined as shown below. This offset determines the effective FIFO depth for syn· BIT 7 6 5 4 3 2 1 0 0 TP2 TP1 TPO OF3 OF2 OF1 OFO Bit 0-3 OFx The OFFSET bits are used to select the desired offset according to the following: OF3 OF2 OF1 OFO SELECTED OFFSET 0 0 0 0 Note 1 0 0 0 1 1 0 0 1 0 2 0 0 1 1 3 0 1 0 0 4 0 1 0 0 5 0 1 1 0 6 0 1 1 1 7 1 0 0 0 8 1 0 0 1 9 1 0 1 0 10 1 0 1 1 11 1 1 0 0 12 1 1 0 1 12 1 1 1 X 12 Note 1" - Asynchronous data phase transfers 12·12·90 29-13 WD33C93A Bit 4-6 TPx The TRANSFER PERIOD bits are used to select the desired transfer period according to the following table: SCSIIWD-BUS (SCSI REQ/ACK synchronous pulse width TP2 TPl TPO TRANSFER PERIOD and WD-BUS RE-IWE- pulse width) 0 0 X 8 cycles (4 cycles) 0 1 0 2 cycles (1 cycle) 0 1 1 3 cycles (1 cycle) 1 0 0 4 cycles (2 cycles) 1 0 1 5 cycles (3 cycles) 1 1 0 6 cycles (4 cycles) 1 1 1 7 cycles (4 cycles) The 'cycle' referred to above is the period of the internal data transfer clock after the divisor chosen in the OWN 10 register is applied. This period is calculated by the following formula: DIVISOR (from OWN 10) CYCLE (f.Ls) = 2 * INPUT CLOCK FREQUENCY (MHZ) 6.2.16 TRANSFER COUNT REGISTER Transfer command will be completed when a single byte [Address 12, 13, 14 Hex] has been transferred. The Transfer Count register is a 24-bit register contain- After the completion of any successful transfer. the ing a preset value for the internal transfer counter. This Transfer Count register will be zero. This includes com- preset value is loaded into the internal transfer counter mands issued in Single Byte Transfer mode. when a Send, Receive, or Transfer command is issued. When a transfer is interrupted by a hall on error condi- This counter is used to define command completion by tion, a SCSI bus phase change. or an abort. the Transfer decrementing as each data byte is transferred over the Count register will contain the number of bytes NOT SCSI bus and causing a successful completion inter- successfully transferred tolfrom the SCSI bus. includ- rupt when the counter reaches zero. In combination ing clearing the internal FIFO of any bytes left in the commands, this register specifies the number of bytes FIFO (see DATA register). This FIFO clearing process to be transferred during a Data phase. may cause the Transfer Count register to differ with the The counter function can be disabled by loading the user's DMA controller count, because some bytes may Transfer Count register with zeroes prior to issuing a have been transferred into the FIFO, but not to the SCSI command or by setting the Single-Byte Transfer bit in bus; therefore, the Transfer Count should be used to the Command register concurrent with issuing the com- determine the actual number of bytes transferred to/ mand. If the counter is disabled, the Send, Receive, or from the SCSI bus. 29-14 12-12-90 WD33C93A 6.2.17 DESTINATION 10 REGISTER Bit 6 DPD DATA PHASE DIRECTION. when [Address 15 Hex) advanced features are enabled (see 7.3). is used to specify the expected The Destination 10 register contains the encoded SCSI direction of the SCSI data phase. This bus 10 of the device which is to be selected or allows the WD33C93A to verify the res elected when a Reselec( or Select command is issued. This register also contains control bits that direction during Select-And-Transfer affect the operation of certain combination commands. commands before beginning the transfer. When this bit is zero, the expected direction is out (to the Tar- get). When this bit is one, the expected BIT 7 6 5 4 3 2 1 0 direction is in (from the Target). An unexpected information phase error SCC DPD 0 0 0 012 011 010 will occur if the direction does not match the setting of this bit. Bit 0-2 Destination 10 bits 010-012 contains Bit 7 SCC SELECT COMMAND CHAIN is used the encoded SCSI bus 10 of the device only when the Reselect-And-Transfer which is to be selected or reselected command is issued with EDI = 1. This when a Reselect or a Select command bit selects which command is chained is issued. to when the data transfer is completed. When this bit is zero, a Send-Status- and-Command-Complete command begins executing. When this bit is one. a Send-Disconnect-Message com- mand begins executing. 6.2.18 SOURCE 10 REGISTER [Address 16 Hex) The SOURCE 10 register is used to report the SCSI bus 10 of the device that has selected or reselected the WD33C93A. It also contains bits that enable and con- trol response to selection and reselection. BIT 7 6 5 4 3 2 1 0 ER ES DSP 0 SIV SI2 SI1 SIO Bit 0-2 Six Source 10 Bits 2-0 are valid only if the causes the WD33C93A to ignore the SIV bit is set to one. These bits indicate bus parity when responding to selec- the SCSI bus 10 of the device that tion or reselection. When this bit is selected or reselected the zero, any selection or reselection with WD33C93A. a parity error is ignored. Bit 3 SIV Source 10 Valid is set to one alter the Bit 6 ES Enable Selection. when set to one. WD33C93A is selected or reselected if enables the WD33C93A to respond to the other SCSI bus device asserted its a selection by another device on the own bus 10 bit (in addition to the bus 10 SCSI bus. When this bit is zero. any bit of the WD33C93A) during the selection is ignored. selectlreselect phase. This bit is zero if Bit 7 ER Enable Reselection. when set to one. only the bus 10 bit of the WD33C93A enables the WD33C93A to respond to was asserted. a reselection by another device on the Bit 4 Not used. will be zero. SCSI bus. When this bit is zero. any Bit 5 DSP Disable Select Parity. when set to one. reselection is ignored. 12-12-90 29-15 WD33C93A 6.2.19 SCSI STATUS REGISTER [Address 17 Hex] BIT 7 6 5 4 3 2 1 0 The SCSI Status register is a read-only register which SS7 SS6 SS5 SS4 SS3 SS2 SSt SSO indicates the cause of the most recent interrupt request assertion. Interrupt request is asserted whenever a conditior. occurs within the WD33C93A that requires Bit 0-3 SSx SCSI Status bits 0-3 are status intervention by the host; for example: qualifiers whose meaning depends • the WD33C93A has been reset; upon which upper (4-7) status bit is set. • the command completed successfully; • the bus phase changed; Bit 4-7 SSx SCSI Status bits 4-7 define the type of • an error occurred. interrupt that occurred. The possible Once interrupt request has been asserted, the contents codes are defined in the following of this register will not change until aiter the SCSI table: STATUS register has been read or until the WD33C93A has been reset. STATUS CODE GROUP MEANING 0000 xxxx The WD33C93A is in a reset state. 0001 xxxx A WD33C93A command has completed successfully. 0010 xxxx A WD33C93A command has paused or was aborted by an Abort command. 0100 xxxx A WD33C93A command has been terminated prematurely due to an error or other unexpected condition. 1000 xxxx An event on the SCSI bus requires service. 29-16 12-12-90 WD33C93A All other Status Code groups are currently not used and are reserved for future use. MCI CODE MEANING In the following tables, the 'State' column indicates the 000 Data Out phase current state from which the Status Code can occur. Also, the MCI field refers to the signals that define a 001 Data In phase SCSI bus information transfer phase: MSG, C/D, and 010 Command phase 1/0. A bit set to one indicates that the signal is asserted 011 Status phase on the SCSI bus. A zero indicates negation. Whenever one of these Status Codes occurs, the REQ signal is 100 Unspecified Info Out phase asserted on the SCSI bus. The table below summarizes 101 Unspecified Info In phase the meaning of the MCI field: 110 Message Out phase 111 Message In phase RESET STATE INTERRUPTS STATUS CODE STATE* SPECIFIC MEANING 0000 0000 D, T,I WD33C93 Reset. The device has been reset, or a Reset command has executed successfully with no advanced features enabled. The new state of the WD33C93A is disconnected. 0000 0001 D, T,I WD33C93A Reset. The device has successfully completed a Reset command with advanced features enabled. The new state of the WD33C93A is disconnected. *D Disconnected T Connected as a Target I Connected as an Initiator 12-12-90 29-17 WD33C93A SUCCESSFUL COMPLETION INTERRUPTS STATUS CODE STATE· SPECIFIC MEANING 0001 0000 D A Reselect command completed successfully. The new state of the WD33C93A is connected as a Target. 0001 0001 D A Select command completed successfully. The new state of the WD33C93A is connected as an Initiator. 0001 0010 Reserved for future use. 0001 0011 D, T A Receive, Send, Reselect-And-Transfer, Wait-For-Select-And- Receive, Send-Status-And-Command-Complete, or a Send- Disconnect-Message command completed successfully (ATN- is not asserted). 0001 0100 D, T A Receive, Send, Reselect-And-Transfer, Wait-For-Select-And- Receive, Send-Status-And-Command-Complete, or a Send- Disconnect-Message command completed successfully (ATN- is asserted). 0001 0101 D, T A Translate Address command completed successfully. 0001 0110 D, I A Select-And-Transfer command completed successfully. 0001 0111 Reserved for future use. 0001 1MCI I A Transfer (non-Message IN phase) command completed successfully. MCI defines the new information type (SCSI bus phase) being requested. PAUSED OR ABORTED INTERRUPTS STATUS CODE STATE· SPECIFIC MEANING 0010 0000 I A Transfer Info (Message-In phase) command has paused with ACK- asserted. This allows the host to examine the message before accepting it. 0010 0001 I A Save Data Pointers message was received during a Select- And-Transfer command. The host should save its current data buffer pOinter. 0010 0010 D A Select or Reselect command was aborted. 0010 0011 T A Receive or Send command has halted by an error or was aborted (ATN- is not asserted). 0010 0100 T A Receive or Send command has halted by an error or ATN- asserted, or was aborted (ATN- is asserted). 0010 0101 D An Abort was issued while the WD33C93A was in the process of being selected or reselected. 0010 0110 Reserved for future use. 0010 0111 D The WD33C93A has been reselected during a Select-And- Transfer (with IDI = 0) by a Target that does not match the SCSI bus ID loaded into the Destination ID register; or the following Identify message did not match the LUN loaded into the Target LUN register. ACK- has been left asserted following the Identify message, and the bus ID and LUN of the reselecting Target are available in the Source ID and Target LUN registers. (Advanced Mode only) 0010 1MCI I A Transfer command was aborted. MCI define the new information type (SCSI bus phase) being requested. • D Disconnected T Connected as a Target I Connected as an Initiator 29-18 12-12-90 WU::J::Jc.:9::JA TERMINATED INTERRUPTS STATUS CODE STATE* SPECIFIC MEANING 0100 0000 , D, T,I An invalid command was issued. 0100 0001 I An unexpected disconnect (SCSI bus free) by the Target caused a command to terminate. The new state of the W033C93A is disconnected. 0100 0010 D A timeout occurred during a Select or Reselect command. The state of the WD33C93A is disconnected. 0100 0011 T,I A parity error caused a command to terminate (ATN- is not asserted). The transfer direction determines whether it is a SCSI or host parity error. 0100 0100 T,I A parity error caused a command to terminate (ATN- is asserted). The transfer direction determines whether it is a SCSI or host parity error. 0100 0101 D, T The Logical Address exceeded the disk boundaries. 0100 0110 D A Target whose SCSI bus device ID does not match the bus 10 set in the Destination ID register has reselected the W033C93A during a Select-And- Transfer command (with IDI = 0). This interrupt occurs when the WD33C93A is not in Advanced Mode. The new state of the WD33C93A is connected as an Initiator. 0100 0111 I An inCOrrtlct status byte (i.e. the status byte has a parity error) was received during a Select-And- Transfer command. The Data Register can be read to observe the status byte in error. 0100 1MCI I An unexpected information phase was requested. MCI define the SCSI bus phase which is requested. This is typically caused by a phase change before the Transfer Count has reached zero, or an unexpected phase sequence occurred during a Select- And-Transfer command . • 0 Disconnected T Connected as a Target I Connected as an Initiator 12-12-90 29-19 WD33C93A SERVICE REQUIRED INTERRUPTS STATUS CODE STATE" SPECIFIC MEANING 1000 0000 D The WD33C93A has been reselected. The new state of the WD33C93A is conne-::ted as an Initiator. No Identify message transfer has yet occurred. 1000 0001 D The WD33C93A has been reselected in Advanced Mode. The SCSI bus ID of the Target may be read from the Source ID register. The Identify message from the Target may be read from the Data register. The ACK- signal is left assorted. The new state of the WD33C93A is connected as an Initiator. 1000 0010 D The WD33C93A has been selected (no ATN- assertion). The new state of the WD33C93A is connected as a Target. 1000 0011 D The WD33C93A has been selected (ATN- was asserted). The new state of the WD33C93A is connected as a Target. 1000 0100 T The ATN- signal has been asserted. 1000 0101 I A disconnect has occurred. The new state of the WD33C93A is disconnected. 1000 0110 Reserved for future use. 1000 0111 T The Wait-For-Select-And-Receive command has paused because the first byte of the incoming CDB is not a known command group. The Own ID register must be loaded with the CDB length, and the command resumed. The CDBI register may be examined to determine the SCSI command group from the opcode. The new state of the WD33C93A is connected as a Target. (Advanced Mode only) 1000 lMCI I The REO signal has been asserted following connection or when the WD33C93A is in the Initiator state and no command is executing. The information phase type should be examined. MCI define the information phase (SCSI bus phase) which is being requested . • D = Disconnected T = Connected as a Target I = Connected as an Initiator 29-20 12-12-90 WD33C93A 6.2.20 COMMAND REGISTER The Single-Byte Transfer (SBT) bit in the Command [Address 18 Hex] register is only used during information transfer type commands. When this bit is set in conjunction with one The Command register is used to issue the WD33C93A of these commands, the transfer counter is disabled commands. Since the WD33G93A expects the SCSI and exactly one byte is to be transferred, regardless of Status to have been read before the host can issue a the value in the Transfer Count register. valid command. a command should not be loaded into the Command register within seven microseconds Refer to the Commands section for a description of the (independent of input clock frequency) from the last commands and their corresponding command codes. SCSI Status read to avoid the command being ignored (indicated by the LCI bit in the Auxiliary Status register). Also. this register should never be loaded when the CIP or INT bits (in Auxiliary Status) are set to one, and a BIT 7 6 5 4 3 2 1 0 Level II command should never be loaded when the SBT CCG CC5 CC4 CC3 CC2 CC1 eeo BSY bit is set to one. 12-12-90 29-21 WD33C93A 6.2.21 DATA REGISTER [Address 19 Hex] o The Own ID register is reset to zero. The DATA register is used to transfer data bytes o Advanced mode is disabled. between the host and the SCSI bus during the SCSI o The ES, ER, and DSP bits in the Source ID register , information transfer phases (command, data, status, or are reset to zero. message phase). It may be accessed by the. processor o The SCSI Status register is reset to zero. during any type of information phase (simple Level II o The internal FIFO, internal transfer counter (not the commands) or via the DMAlWD BUS interface during a SCSI Data In phase or Data Out phase (simple and host accessible register), offsets, and state machines combination Level II commands). are cleared. o The internal clock divider circuit is set to divide by two. The DATA register is actually a port for the host interface into the interval twelve byte FIFO of the WD33C93A. o The following host accessible registers are NOT The FIFO is used for all transfers (synchronous and affected by the MR- signal: asynchronous) between the SCSI bus and the host bus, o Registers 01 Hex through 15 Hex; for both DMA and processor access transfers. If the o Source 10 (16 Hex) register bits 0-3; WD33C93A is to be halted for any reason (through ABORT, for example), then data transfers with this FIFO o Command register (18 Hex). must continue until an interrupt occurs. This must be NOTE: The SCSI Soft Reset may be implemented by done so that the FIFO is returned to a ready state for using the SCSI bus reset signal to cause a reset of the subsequent transfers, and to flush incoming data to the WD33C93A (for example, OR the host power on reset host bus. signal with the received SCSI bus reset (RST) signal). The DATA register is accessed by the host processor The host may examine the registers that are not during a data phase when the CONTROL register DMA affected by the MR- signal to recover from the SCSI mode select bits are all reset (= 0), and when the DBR reset condition. bit in the Auxiliary Status register is true. The processor writes (reads) the DATA register by loading the Address 6.3.2 SOFTWARE RESET register with a Hex value of 19 and asserting the WE- The following results occur when the WD33C93A (RE-) and CS- pins. This access also occurs during executes the Reset command: non-data phases. o The DBR bit in the Auxiliary Status register is reset to When the Control register DMA mode selects bits are zero. The INT bit (and INTRa pin) is set to one when set for DMA mode or Burst mode, the DMA interface is the Reset command is complete. enabled. In this case, the DATA register is written (read) o All SCSI bus signals are reset to the negated state. when the DACK- and WE- pins are asserted in response to the assertion by the WD33C93A of the DRO- pin. o The internal FIFO, internal transfer counter. offsets. When the WD-BUS is selected by the DMA mode select and state machines are cleared. bits, the RCS- pin functions as an external buffer chip o The Own 10 register is interpreted and the clock select and the WE- and RE- pins become outputs, divisor, host parity, and advanced mode are allowing the WD33C93A to automatically transfer data configured. between its DATA register and the external buffer. In this o Registers 01 Hex through 16 Hex are reset to zero. mode, bus control can be returned to the external The Command register (18 Hex) is also reset to zero. processor or any device by negating the ORO pin. o The SCSI Status register is set as commanded by the 6.3 RESET CONDITIONS EAF bit in the Own 10 register. 6.3.1 HARDWARE RESET The following results occur when the WD33C93A is reset by the assertion of the MR- signal: o The LCI and PE bits in the Auxiliary Status register are reset to zero. The DBR bit in the Auxiliary Status Register is reset to zero. The BSY and CIP are reset to zero, and the INT bit (and INTRa pin) is set to one when the hardware reset is complete. 29-22 12-12-90 WD33C93A 7. COMMANDS 7.1 COMMAND LISTS COMMAND VALID CODE COMMAND LEVEL (Hex) STATES 00 Reset D.T.I I 01 Abort D.T,I 02 Assert ATN I 03 Negate ACK I 04 Disconnect T.I 05 Reselect D 06 Select-With-ATN D 07 Select-Without-ATN D 08 Sel w/ATN-And- Transfer D,I 09 Sel wlo ATN-And-Transfer D,I OA Reselect-And-Receive Data D OB Reselect-And-Send Data D OC Wait-For-Select-And-Receive D I OD Send-Status-And-Command-Complete. T OE Send-Disconnect-Message T OF Set IDI D,T.I 10 Receive Command T 11 Receive Data T 12 Receive Message Out T 13 Receive Unspecified Info Out T 14 Send Status T 15 Send Data T 16 Send Messag~ In T 17 Send Unspecified Info In T 18 Translate Address D,T 20 Transfer Info I WD33C93A valid states: D Disconnected T Connected as a Target I Connected as an Initiator Command Levels: I Level I command " Level" command 12-12-90 29-23 7.2 WD33C93A COMMAND TYPES WD33C93A was idle, the SCSI status register will be set to 81 Hex, and the Identify message will be in the There are two basic types of WD33C93A commands: Data register. If the WD33C93A was executing a Select· Levell and Level II. Levell commands may be issued And·Transfer command. the SCSI status register will be while a Level II command is in progress (indicated by an set to 27 Hex, and the Identify message will be in t~e • Auxiliary Status of BSY = 1, CIP= 0) and, except for the Target LUN register. In either case. the Sourc~ 10 regis, "Abort" and "Reset" commands, do not generate an ter will contain the SCSI bus 10 of the reselecltng Target, interrupt upon their completion. Level II command and the ACK signal remains asserted so that the Iden· execution will always result in an interrupt. If a Level II tify message may be rejected. command is issued while another Level II command is executing, unpredictable results may occur. 7.3.2 UNKNOWN SCSI COMMAND GROUPS There are two types of Level II commands. 'Simple' When a SCSI Command Descriptor Block is transferred Level II commands are associated with a single opera· on the SCSI bus. the command length in bytes is tion or phase (for example, selection or informat~on determined by the group code, which is found in bits 7-5 transfer). 'Combination' Level II commands combine of the first command byte, or opcode. Group 0 (opcodes multiple phases into a single WD33C93A command to 00 to 1F Hex), group 1 (opcodes 20 to 3F Hex), and minimize interrupt overhead. The Initiator combination group 5 (opcodes AO to BF Hex) commands are defined commands 'expect' certain SCSI bus phases at certain by the SCSI standard (X3.131-1986) as six, ten, and times during a sequence. These expected phases are twelve byte commands, respectively. All other com· based on common sequences performed by a Target on mand groups are undefined by that standard. In normal the SCSI bus; any deviation causes an interrupt. Target mode, the WD33C93A will assume that these combination commands can also be chained together undefined groups are six byte commands when execut· to minimize interrupt overhead by creating longer ing Select· And· Transfer or Wait·For·Select.A~d· phase sequences. Receive commands. In Advanced Mode, the follOWing NOTE: When using command chaining, care must be events will occur: taken to ensure that all commands in the chain are • Select·And· Transfer: When loading the COB into initialized prior to issuing the command. the COB registers prior to issuing the command. the The WD33C93A will be in one of three "states" during host also loads the expected command length into operation: Disconnected, Connected as a Target, ~r the OWN 10 register. The WD33C93A uses this value Connected as an Initiator. Certain commands are valid to make sure the correct number of bytes are then only in particular states as indicated in the Comma~d transferred in the command phase. List. An attempt to issue a Level II command which IS • Walt-For-Select·And·Recelve: When receiving the invalid for the present WD33C93A state will cause an COB from the Initiator, the WD33C93A will check the "invalid command" interrupt. Levell commands issued first COB byte as soon as it is received. If the group is in invalid states will be ignored. undefined, an interrupt will occur so that the host 7.3 ADVANCED MODE FEATURES processor can examine the first command byte in the COB 1ST register, and then load the Total command The WD33C93A has several new features included length into the Own 10 register. The SCSI status which add new functions to the original WD33C93 register is set to 87 Hex, and the Command Phase design. Some of these features cause the WD33C93A register is set to 31 Hex, when this interrupt occurs. to be incompatible with the WD33C93. These features have been grouped together under the heading of After the interrupt, the WD33C93A will only accept a 1>.dvanced Mode' features. These features are disabled Resume Wait·For·Select·And·Receive command, when the WD33C93A is reset by the MR· signal (hard· Abort, Disconnect, or Reset command. All other com· ware reset). They must be enabled by the host by mands are invalid; during the interrupt pro::essing, the issuing the 'Reset' command with the 'Enable WD33C93A will continue to transfer the first six bytes of Advanced Features' (EAR) bit set in the Own 10 register. the command into its internal FIFO. The host can determine if advanced features have been enabled (thereby implying that a WD33C93A is 7.3.3 DATE PHASE DIRECTION installed) by examining the SCSI status register after During a Select·And· Transfer command in normal issuing the 'Reset' command. mode the Data phase direction is determined solely by the T~rget; if this direction does not match the direction The features enabled by this bit are described below. expected by the host, the WD33C93A will not detect this error but expects that the transfer will continue. In 7.3.1 UNEXPECTED RESELECTION: Advanced Mode, the DPD bit in the Destination 10 When in normal mode, a reselection when idle (ER = 1) register is compared with the state of the I/O signal on or when disconnected during a Select·And· Transfer the SCSI bus. If the expected and actual directions do command (and the Target bus 10 does not match the not match, an interrupt will occur with 'unexpected Destination 10 register) causes an immediate interrupt phase' status in the SCSI status register. after the reselection handshake is complete. In Advanced Mode, the WD33C93A will continue to the Message In phase to fetch the Identify message. If the 29·24 12·12·90 WD33C93A 7.4 LEVEL I COMMANDS processor has received the interrupt indicating this, the TRANSFER COUNT register contains the number of 7.4.1 RESET (00 HEX) bytes that were not successfully transferred with the SCSI The Reset command performs a similar function to the bus. The WD33C93A remains in the connected as a hardware reset caused by asserting the MR- pin except Target state. The WD33C93A is now ready to receive any that the Own 10 register is sampled for information con- appropriate Target mode command, including a resume cerning the operating configuration of the WD33C93A. of the command that was aborted. The WD33C93A is also initialized as described in the Initiator State: When the WD33C93A is in a connected as RESET CONDITIONS section. The Reset command may an Initiator state, the Abort command may be used to be executed in any WD33C93A state and will force the abort TRANSFER INFO, TRANSFER PAD, Select, or WD33C93A into the Disconnected state, aborting any Select-and-TRANSFER command. When issuing an previously issued (;ommand in progress. Upon comple- Abort in the connected as an Initiator state, the local tion of the Reset command, an interrupt is generated the processor must continue to service any data request SCSI STATUS will be 00 Hex or 01 Hex, depending on the (DBR, ORO, etc.) from the WD33C93A until an interrupt contents of the OWN 10 register. from the WD33C93A occurs. This is required to allow the FIFO to clear; the Abort processing will not complete until 7.4,2 ABORT (01 HEX) the FIFO contents are flushed to the data destination. The Abort command is valid in any WD33C93A state: After the Abort command is processed and the local Disconnected, Target, or Initiator. The Abort command processor has received the interrupt indicating this, the has different effects depending on the state and the TRANSFER COUNT register contains the number of command that is currently executing, as described below: bytes that were not successfully transferred with the SCSI Disconnected St3te: In the Disconnected state, the Abort bus. The WD33C93A remains in the connected as an command may be used to halt an attempted Select, Initiaior state. The WD33C93A is now ready to receive Select-and-Transfer, Reselect, or Reselect-and-Transfer any appropriate Initiator mode command, including a command. " the Abort command is issued following a resume of the command that was aborted. Select or Reselect command and the WD33C93A has won arbitration, the WD33C93A releases the SCSI bus by 7.4,3 DISCONNECT (04 HEX) removing the Bus 10 bits while SEL- is asserted and The Disconnect command may be used in either the checking for a negated BSY- signal. If, after at least 200 Target or the Initiator connected states. In the Target role, IJ.S, there is no BSY- response, the WD33C93A goes to a the Disconnect command is the normal procedure for Bus Free condition, and a "paused/aborted" interrupt is disconnecting from the SCSI bus following the informa- generated. If there is a response within this time period, tion transfer phase. In the Initiator role, Disconnect can be then a "successful completion" interrupt will result used to release the bus following a timeout condition. The instead. If the WD33C93A has not yet won arbitration, it Disconnect command causes the immediate release of will immediately abort the Select or Reselect command. all bus signals and, in Target mode, returns the SCSI bus Target State: When the WD33C93A is in a Connected as to the Bus Free phase. If the Disconnect command is a Target state, the Abort command may be used to abort issued during an active Level II command, the Level II RECEIVE, SEND, or the data phase portion of a Target command is immediately terminated and the WD33C93A combination command. When issuing an Abort in the transitions to the Disconnected state. Connected as a Target state, the following rules apply: 1. When an Abort command is issued to abort a SEND 7.4.4 ASSERT ATN (02 HEX) or Reselect-and-SEND command, the local processor The Assert ATN command is only valid when Connected must not service any data request (DBR, ORO. etc.) from as an Initiator. It is normally used to allow the Initiator to the WD33C93A until an interrupt from the WD33C93A inform a Target that it has a message pending (the Target occurs. This is required to allow the FIFO to clear; the is expected to respond by performing a Message Out Abort processing will not complete until the FIFO contents Phase). are flushed to the SCSI bus. The WD33C93A removes the data request at an arbitrary time during the Abort ATN- is automatically negated: command processing and the data request is not valid • before the last by1e of a Transfer Info command issued once the Abort command is written to the COMMAND in response to the Message Out phase; register. • when the Identify message out is transferred to the 2. When an Abort command is issued to abort a Target during a Select-and-Transfer command; RECEIVE or Reselect-and-RECEIVE command, the • when a SCSI Bus Free phase occurs. local processor must CONTINUE to service any data request (DBR, ORO, etc.) from the WD33C93A until an The Select-with-ATN and Select-with-ATN-and-Transfer interrupt from the WD33C93A occurs. This is required to commands will cause the WD33C93A to automatically allow the FIFO to clear; the Abort processing will not assert ATN- prior to the release of SEL- providing the bus complete until the FIFO contents are flushed to the local arbitration is won. processor. After the Abort command is processed and the local 12-12-90 29-25 WD33C93A 7.4.5 NEGATE ACK (03 HEX) deasserted. At this time, a timeout sequence whose The Negate Ack command causes ACK-to be negated. It length is determined by the value in the Timeout Period is used when Connected as an Initiator following Mes- register begins. If BSY- is not asserted by the Target .sage-In type Transfer Info commands, or when the before a timeout occurs, the WD33C93A begins its WD33C93A has detected a parity error on any received selection abort sequence (as described in the Abort information and the Halt on SCSI Parity Error (HSP) bit is command description), and if there is no Target set. Host parity errors do not affect the ACK- signal. For all response the Select-with-ATN command is terminated other Initiator transfers, ACK- negation is automatic. and a "terminated" interrupt is generated. If the Target responds before the timeout period has elapsed or In the case of a Message-In transfer, incoming messages before the selection abort sequence is complete, the may be rejected and the Initiator may indicate its intent to WD33C93A negates the Sel- signal, putting the send either a "Message Reject" or a "Message Parity WD33C93A in a Connected-as-an-Initiator state. A Error" Message by issuing the Assert ATN command prior "successful completion" interrupt indicates that the to issuing the Negate Ack command. If the incoming Select-with-ATN command has been completed message is to be accepted, only the Negate Ack com- successfully. mand should be issued. If the WD33C93A does not win the arbitration or there is During non-Message-In transfers, if the Transfer com- no response from the Target and the timeout feature is mand is terminated by parity error, the Assert ATN com- disabled, the Select-with-ATN command can be mand can again be issued prior to Negate ACK, this time aborted with an Abort command. When the Abort com- indicating the Initiator's intent to send an "Initiator mand is successfully executed under these circum- Detected Error" Message. stances, the WD33C93A is disconnected from the bus and a "paused/aborted" interrupt is generated. 7.4.6 SET 101 (OF HEX) The Set 101 command is used in the Initiator role to 7.5.2 SELECT-WITHOUT-ATN (07 HEX) support overlapped SCSI operations. If a SCSI command The Select-without-ATN command is identical to the is executing via a Select-and-Transfer command,then the Select-with-ATN command except that ATN- is not set Set 101 command may be used to set the 101 bit in the during the Selection Phase. Control register, which then causes an interrupt to occur upon a Target disconnection. This ability allows the 101 bit 7.5.3 RESELECT (05 HEX) to be left reset when the first SCSI operation is started, The Reselect command is identical to the Select-with- which may reduce the number of WD33C93A interrupts, out-ATN command except that the I/O signal is asserted yet also allows a second operation to be started when upon completion of the Arbitration Phase. Successful needed without waiting for the first operation to be completed. completion of the Reselect command results in the WD33C93A being Connected as a Target. 7.5 SIMPLE LEVEL II COMMANDS 7.5.4 RECEIVE (10-13 HEX) 7.5.1 SELECT-WITH-ATN (06 HEX) There are four RECEIVE commands which are dis- Select-with-ATN is valid only in the Disconnected stat& tinguished from each other only by the state of three and when issued will cause the WD33C93A to select a SCSI interface signals and the type of data that is Target. Before issuing this command, the SCSI Bus 10 transferred. These commands, consisting of the of the Target device should be written into the Destina- Receive Command, Receive Data, Receive Message tion 10 register. When the Select-with-ATN command is Out, and Receive Unspecified Info Out commands are issued, the WD33C93A begins bus arbitration. If the valid only in the Connected-as-a- Target state. The type WD33C93A is selected or reselected by another device of Receive command selected determines the state of during the arbitration, the Select-with-ATN command is the 1/0-, C/D-, and MSG- outputs during the command aborted and a "service required" interrupt (ax Hex) is according to the following chart below (1 = asserted). generated. The Receive commands are information transferrring Should the WD33C93A win the arbitration, SEL- and commands and are therefore dependent on the SBT bit ATN- are asserted, the Target and Initiator Bus IDs are in the Command register for determination of a suc- placed on the SCSI data bus. and then BSY- is cessful completion. In addition to a termination caused RECEIVE COMMAND TYPE OPCODE MSG C/O I/O Receive Command 10 0 1 0 Receive Data 11 0 0 0 Receive Message Out 12 1 1 0 Receive Unspecified Info Out 13 1 0 0 29-26 12-12-90 WD33C93A by reset (via either a Reset command being issued or the Send Status. Send Data. Send Message In. and assertion of the MR- pin). a Receive command comple- Send Unspecified Info In commands. The SCSI pin tion or termination will occur under any of these condi- states during the Send commands are determined by tions: (1) The internal transfer counter is disabled the particular commands as follows shown in the chart (SBT = 1 or the Transfer COUflt register is loaded with below (asserted = 1). zero) and a single byte has been read from the Data The Send commands are also information transferring register; (2) The counter has decremented to zero (with commands and as such are also dependent upon the SBT = 0) indicating that the specified number of bytes SBT bit in the Command register for command comple- have been transferred; (3) A parity error has been tion. In addition to that caused by reset (via either a detected on one of the received data bytes (and Reset command being issued or assertion of the MR- HSP = 1); (4) The ATN- pin is asserted (and HA = 1); (5) pin). a Send command completion or termination will The Abort command is issued; or (6) A Disconnect occur under any of these conditions: (1) The internal command is issued. transfer counter is disabled (SBT = 1 or the Transfer When the Receive command is completed as a result of Count register is loaded with zero) and a single byte has receiving the correct number of bytes. a "successful been read from the Data register; (2) The counter has completion" interrupt will be generated. If a parity error decremented to zero (with SBT = 0) indicating that the has caused termination. a "terminated" interrupt will specified number of bytes have been transferred; (3) A instead be generated. In this case. the Transfer Count parity error has been detected on one of the data bytes register will contain the number of bytes yet to be from the host (and HHP = 1); (4) The ATN- pin is transferred. After any completion or termination of the asserted (and HA = 1); (5) The Abort command is is- Receive commands except those due to a subsequent sued; or (6) A Disconnect command is issued. The Disconnect command or reset. the WD33C93A is in the WD33C93A remains Connected-As-A-Target following Connected-as-a-Target state. the Send command completionltermination IInless the As data transfer commands. the Receive commands Disconnect command or reset was used to force a are dependent on the DMA mode select bits in the termination. Control register for the Data register accessing mode. During a Send command. Data register accessing is These bits determine whether the Data register controlled by the DMA mode select bits in the Control accesses will be handled by the processor or through a register. When these bits are set to the appropriate DMAlWD interface. When the processor is required to mode. loading of the Data register is accomplished by a read the Data register (i.e. DMA mode select bits = 0). it DMA controller or through the WD-Bus interface. If the must monitor the DBR status bit (in Auxiliary Status) to DMA mode select bits are zero. the processor must poll determine when a byte is available for reading. During the Auxiliary Status register and can write to the Data Receive commands. this status bit will be reset when a register only when the Data Buffer Ready bit is set byte is read from the Data register and set when a byte (DBR = 1). Send commands cause the DBR bit to be is loaded into the Data register via the SCSI interface. reset every time the processor loads a byte into the DBR is also reset when a Receive command is issued. Data register and set when a byte is transferred from All information transfers involving other than data infor- the Data register onto the SCSI data bus. The DBR bit mation are asynchronous. However. if the information will also be set upon issuing a Send command. phase involves data transfers. the Synchronous Trans- As in the case of Receive commands. synchronous fer register will be evaluated. In this case. any selected transfers will occur only when data transfers are offset other than zero results in synchronous transfers. involved and an offset other than zero is selected. The minimum Transfer Period for both types of transfers is determined by the transfer period bits in this same 7.5.6 TRANSFER (20 HEX) register. Transfer Info is used to send and receive data. com- 7.5.5 SEND (14-17 HEX) mand. status. and message information. As in the case of the RECEIVE commands. there are four Send commands which are distinguished only by the state of the 110-. C/D-. and MSG- pins and the type of data that is transferred. The four Send commands. also valid in the Connected-as-a-Target state only. are SEND COMMAND TYPE OPCODE MSG CID 1/0 Send Status 14 0 1 1 Send Data 15 0 0 1 Send Message In 16 1 1 1 Send Unspecified Info In 17 1 0 1 1 12-12-90 29-27 WU:J:Jt.:Y3A The first Req- assertion following connection as an If a parity error is detected on a data byte received from tnitiator results in a "service required" interrupt. The the SCSI bus (and HSP = 1). or on a data byte received processor should examine the SCSI Status register to from the host (and HHP = 1). then the WD33C93A will determine the type and direction of information transfer terminate the command and. for SCSI parily errors. will , requested by the Target. and then issue a Transfer Info leave ACK- asserted (10 also halt the Target). In this command in response. While an Initiator. the case a "terminated" interrupt is generated. Finally. WD33C93A will also generate an interrupt each time negation of the BSY- signal (Le. the Target suddenly the Target device requests a new type of information disconnects) or a transition in the 110-. C/D-. and/or transfer phase. MSG- pins during a Transfer command will also termi- As in the case of the Send and Receive commands. nate the command and generate a "terminated" when the Transfer Info command completion is to be interrupt. dependent upon the internal transfer counter. the pro- If a parity error is detected on a received byte but parity cessor should load the Transfer Count register prior to error command termination is disabled (HSP = 0 or issuing this command. The DMA mode select bits in the HHP = O. as appropriate). the WD33C93A will still set Control register. the offset and transfer period bits in the the Parity Error status bit in the Auxiliary Status register Synchronous Transfer register. and the SBT bit in the but will not terminate the command as a result of this Command register are used during Transfer Info com- error. mands just as they are during the Send-And-Receive commands. However. for processor access of the Data 7.5.7 TRANSLATE ADDRESS (18 HEX) register during Transfer Info commands (when the DMA The Translate Address Command is used to perform a mope select bits are zero. or the bus phase is other than logical-to physical-address translation. Certain SCSI Data phase). behavior of the Data Buffer Ready (DBR) commands involve a logical address which may be up to status bit is determined by the direction of information 32 bits in length. When a command is detected which transfer as defined by the 110- pin. When the transfer is requires address translation. the processor can reload from Initiator to Target. the DBR bit is reset by writing to the logical address into the WD33C93A Logical the Data register and is set when the byte is transferred Address register and then issue the Translate Address from the Data register onto the SCSI data bus. When command to have the WD33C93A do the conversion. the transfer is from Target to Initiator. DBR is set when a Upon receiving a "successful completion" interrupt. the byte is received over the SCSI data bus and transferred processor can read three WD33C93A registers to into the Data register and is reset by reading the Data extract the Cylinder Number. Head Number. and Sector register. DBR is also reset whenever a Transfer Info Number corresponding to the logical address. The disk command is issued. parameters contained in the Total Sectors. Total Heads. There are several causes of a Transfer Info command and Total Cylinders registers must also be valid before completionltermination in addition to a reset. Just as for issuing a Translate Address command. a Send or Receive command. the Transfer Info com- If automatic compensation for spare sectors is to be mand can be terminated by issuing a subsequent Dis- performed by the WD33C93A. then the number of connect or Abort command. The Abort command will spare sectors per cylinder and total number of sectors cause a "paused/aborted" interrupt to be generated per cylinder must also be loaded in the Head Number after executiOn (leaving the WD33C93A in a connected and Cylinder Number registers respectively. A "termi- state). while the Disconnect command causes an imme- nated" interrupt will occur if any division operation diate disconnect and does not generate an interrupt. performed during this command results in an overflow. A Transfer Info command will be either completed or paused when the specified number of bytes (either a single byte or multiple bytes as defined by the Single- 7.6 COMBINATION LEVEL 1\ COMMANDS Byte Transfer bit in the Command register) have been 7.6.1 SELECT·AND·TRANSFER sent or received. The WD33C93A generates a "suc- (08 AND 09 HEX) cessful completion" interrupt only after receiving another REO- from the Target during non-Message In The Select-And-Transfer commands are capable of information phases. but generates a "paused/aborted" greatly reducing the host or local processor interrupt- interrupt for Message-In phases without waiting for an handling burden by enabling the WD33C93A's internal additional REO- (Note that when the completed Trans- microprocessor to manage the low-level SCSI protocol. fer Info command was a Message-In transfer phase. the ACK- pin will be left asserted by the WD33C93A in the last REO-ACK cycle of the command. and the pro- cessor is required to issue a negate ACK or an Assert ATN followed by a Negate ACK command to accept or reject the message respectively). 29-28 12-12-90 WUJ3C93A This results in as few as one interrupt per SCSI opera- throughout the entire Select-And· Transfer command tion. Select· And· Transfer commands are used when in execution, if the Target requests an unexpected infor· an Initiator role, and typically consist of at least the mation phase type, the WD33C93A term in ales the following SCSI phases: (1) Selection of a Target device; command and generates a "terminated" interrupt. If (2) Sending of a command; -(3) Reception of status the Command phase is requesled in this situation, the information; and (4) Reception of a Command Com- WD33C93A will extract the SCSI command from the plete Message. These commands optionally consist of internal Command Descriptor Block registers and send a Data Transfer phase and additional Message Transfer 6, 10, or 12 bytes of command information as deter- phases. During execution of a Select· And· Transfer mined by its evalualion of the SCSI command code in command, the Command Phase register will be the CDBl register. The Command Phase register is set updated to indicate which bus phases of the SCSI to Hex 30 before the first Command byte is sent and operation have been completed, so that upon comple- Ulen increments with each byte transferred, so that for a tion or termination of the command. the WD33C93A 12-byte COB command the Command Phase register may be interrogated to find out where the SCSI opera- will contain Hex 3C when all bytes of the COB have been tion was stopped. transferred. The two Select-And- Transfer commands are dis- After the Command phase, the WD33C93A expects tinguished from each other only by whether or not the either a Data In phase, Data Out phase, Status phase, ATN- pin is asserted during the Selection phase. Select- or Message In phase. If the Target is requesting a And-Transfer commands directly support Group 0 (6- Message In phase, a pending disconnection is byte COB), Group 1 (lO·byte COB), and Group 5 (12- assumed. The WD33C93A therefore expects to receive byte) SCSI commands. In addition, the ability to have either a Save Data Pointer Message (Hex 02) or a ATN- asserted during Selection supports the SCSI Disconnect Message (Hex 04). If either message is Message Protocol which calls for an Identify Message incorrect, or if a different message is received, a "termi- Out phase following the Selection. When the Select nated" interrupt will be generated to alert the processor w/Atn·And- Transfer commands is issued, the of that fact and to allow the message to be read from the WD33C93A expects the first information phase request Data register. A "terminated" interrupt will also be gen· from the Target to be a Message Out phase, whereas for erated if the Target disconnects before sending the a Select w/o Atn-and-Transfer command, the first infor- Disconnect message. When a correct Save Data mation phase request is expected to be a Command Pointer message is received, a "paused/aborted" inter- Out phase. rupt is generated and the Select·And-Transfer com- When a Select-And- Transfer command is issued, the mand terminated to allow the processor to save the WD33C93A arbitrates for the bus and selects a Target SCSI data pOinters. However, if a Disconnect message just as during a Select command. If the Target does not is received, the Command Phase register will be respond before a timeout occurs, the Select-And-Trans· updated to Hex 42 and command execution continues. fer command is terminated and a "terminated" interrupt When the actual Target-disconnection does occur, the is generated. Failure to complete the Selection phase is Command Phase register is updated to Hex 43 and if also indicated by the fact that the Command Phase the 101 bit is set, the WD33C93A terminates the Select· register contains all zeroes. If the Selection is success- And· Transfer command by generating an 85H interrupt. ful, no interrupt is generated, but the Command Phase However, if the 101 bit is reset, then instead the register will be set to a Hex 10. WD33C93A sits in an idle state, waiting for the Target to After completing the Selection phase, the WD33C93A reconnect. If a different Target device Reselects the begins an information transfer phase. If ATN- has been WD33C93A, a "terminated" interrupt is generated. asserted (i.e. a Select w/Atn-And- Transfer command However, if the original Target Reselects the was issued), the WD33C93A expects the Target to WD33C93A, no interrupt is generated and the Com- respond with a Message Out phase. If the first informa- mand Phase register is set to Hex 44. tion phase request is other than a Message Out Following the original Target Reselection, the request, the WD33C93A will terminate the command WD33C93A expects a Message In phase which should and generate a "terminated" interrupt. However, when consist of the Target sending an Identify Message. This the Target does request a Message Out phase, the single-byte message should be of the binary form: WD33C93A will respond by automatically sending an 10000tll. where lit is the Target Lun. If the data received Identify Message. This single byle message is of the by the WD33C93A is different or the Target Lun spec- binary form: 1rOOOttt, where r = 1 if the Enable Aeselect ified in this byte does not match the contents of the bit in the Source 10 register is equal to 1, and ttt is the Target Lun register, a "terminated" interrupt is gener- encoded Target Logical Unit Number contained in the ated and the Message byte may be examined by Target LUN register. Once the Identify Message has the processor. A correct Identify Message In phase re- been sent, the WD33C93A will set the Command Phase sults in the Command Phase register being updated register to Hex 20. to Hex 45. Following the Message Out phase (or Selection phase After the Identify Message is received from the Target or when ATN- was not asserted during Selection), a Com- immediately after the Command Out phase (when there mand phase is expected by the WD33C93A. Again, and is no disconnection), a Data In phase, Data Out phase. 12-12-90 29-29 WD33C93A or Status phase should occur. If the Transfer Count status byte is stored in the Target Lun register where it register contains any non-zero value, then the can be read upon completion of the command. WD33C93A will expect a Data Transfer phase. If Following completion of the status-byte transfer, aMes· Advanced Features are enabled, then the DPD bit will sage In phase is expected. The WD33C93A expects the 'be examined to verify the correct data direction. If the Target to send a Command Complete Message (Hex data direction is incorrect, then a "terminated" interrupt 00) to indicate that the SCSI command operation has is generated. In this phase, the WD33C93A will use the been completed. After the WD33C93A receives this Transfer Count register to determine the number of Command Complete Message, the Command Phase bytes to be transferred, and all host-side Data register register advances to Hex 60, and if the EDI bit is reset, a accesses will be accomplished via the method selected "successful completion" interrupt is generated. The by the DMA mode select bits in the Control register. processor should then read the Target Lun register to When the internal counter reaches zero, the Data examine the Target status. An additional interrupt will Transfer phase is complete and the Command Phase then occur when the SCSI bus goes to the Bus Free register is set to Hex 46. state, or when another REO· is asserted to begin an Note that any number of disconnectionireconnection information transfer phase (as in SCSI linked com· cycles may occur during the Data Transfer phase so mands). If the EDI bit is set, the "successful completion; long as they are accomplished according to the defined interrupt will be suppressed until the Target disconnects message protocol. The Command Phase register will from the SCSI bus. cycle through the disconnect phases (41-45) with each At any time during execution of the Select· And· Transfer disconnection and subsequent reconnection until all of commands, an abnormal or unexpected condition will the data has been transferred and the Data Transfer cause the WD33C93A to terminate the command, set phase is complete. the appropriate status qualifiers, and generate a "termi· A Status phase is expected by the WD33C93A following nated" interrupt. If the termination occurred during an the Data Transfer phase (or instead of the Data Transfer information transfer phase, the WD33C93A will be left phase when the Transfer Count register contains a in a Connected-as-an-Initiator state (unless termination value of zero). At the start of the Status phase, the was due to a sudden Target disconnection). Command Command Phase register is loaded with Hex 47. Upon termination during any other phase will result in the completion of the Status phase, the Command Phase WD33C93A being in a Disconnected state. Transfer register will be updated to Hex 50, and the received COMMAND MEANING PHASE 00 No SCSI bus device has been selected. The WD33C93A is in the disconnected state. The Target has been selected. The WD33C93A is now in the connected as an Initiator 10 state. 20 An Identify message has been sent to the Target. 30 Command phase has started, no bytes transferred. 3x Command phase, x bytes have been transferred. 41 Save Data Pointer message received. 42 Disconnect message received, bus not free. Target has disconnected (SCSI bus free) following a successful transfer of a 43 Disconnect message. The WD33C93A is now in the disconnected state. The WD33C93A has been reselected by the Target whose SCSI bus ID matches the 44 value in the DESTINATION ID register. The WD33C93A is now in the connected as an Initiator state. The WD33C93A has received an Identify message from the Target whose Logical Unit 45 Number matches the value in the TARGET LUN register. The number of bytes specified in the TRANSFER COUNT register have been 46 transferred tolfrom the Target during a Data Oullin phase. 47 The Target has begun a Receive Status phase. The WD33C93A has successfully received a Status byte from the Target and stored it 50 in the TARGET LUN register. The WD33C93A has successfully received a Command Complete message from the 60 Target. 29-30 12-12-90 WD33C93A COMMAND MEANING PHASE 10 Resume after Target selection is complete. Resume after Identify message out. Command phase is expected; an implied Negate 20 ACK occurs. 30 Resume when Command phase has begun (REO- asserted). Resume after Command phase or after Save Data Pointer message. Data, Status, or 41 Message In phases are expected. An implied Negate ACK occurs. 42 Resume to complete Disconnect Message In; an implied Negate ACK occurs. 44 Resume after reselection by a Target. Resume to transfer more data in a data transfer phase. May expect Status or 45 Message In as well. An implied Negate ACK occurs. Resume after the data phase has been completed, expecting Status phase or a Save 46 Data Pointer/Disconnect Message In phase. An implied Negate ACK does not occur. 50 Resume to complete a Status phase; an implied Negate ACK occurs. Resume to complete a Command Complete message from the Target; an implied 60 Negate ACK occurs. commands may be used to handle the exception by (1) Reselect-and-Receive command, EDI = 0, transferring messages with the Target. and SCC = don't care: The following table summarizes the possible values , Reselection phase; that the Command Phase register can take during the • Send Identify Message In; Select-And-Transfer commands, and their meanings • Receive Data Out phase; relative to command termination: • Completion interrupt. A "Resume Select-And-Transfer" command is (2) Reselect-and-Send command, EDI = 0, assumed whenever a normal "Select-And-Transfer" and SCC = don't care: command is issued while the WD33C93A is in the Connected-Initiator state. When the "Resume" is iss- • Reselection phase; ued, the WD33C93A examines the Command Phase • Send Identify Message In; Register to determine where to restart the Select-And- • Receive Data In phase; Transfer command execution. This feature, in conjunc- • Completion interrupt. tion with the Intermediate Disconnect Interrupt (3) Reselect-and-Receive command, EDI = 1, enabled, allows support of multi-threaded or over- and SCC=O: lapped 110 on the SCSI bus. • Reselection phase; The table above briefly describes the valid settings of • Send Identify Message In; the Command Phase register when resuming a Select- • Receive Data Out phase; And-Transfer command: • Chain to Se.nd-Status-and-Command Complete. (4) Reselect-and-Send command, EDI = 1, 7,6,2 RESELECT·AND· TRANSFER and SCC=O: (OA AND 08 HEX) • Reselection phase; The Reselect-And- Transfer commands include the • Send Identify Message In; Reselect-and-Receive Data and the Reselect-and- • Receive Data In phase; Send Data commands. These commands cause the • Chain to Send-Status-And-Command Complete. WD33C93A to execute certain common SCSI bus (5) Reselect-and-RCV command, EDI = 1, phase sequences as a Target following a Reselection and SCC=1: phase. These phases are determined by which com- mand is sent, and the setting of two bits: the EDI bit in • Reselection phase; the Control Register; and the SCC bit in the Destination • Send Identify Message In; 10 register. The SCSI bus phase sequences are sum- • RCV Data Out phase; marized below. Refer to the command descriptions of • Chain to Send-Disconnect-Message. the Send-Status-And-Command-Complete and Send- Disconnect-Message commands for details on those sequences. 12-12-90 29-31 (6) Reselect·and·Send command, EDI = 1, or if a parity error is detected on an incoming data byte and SCC=1: (and HSP = 1 or HHP = 1, depending on data direction), • Reselection phase; the command will be terminated and the appropriate • Send Identify Message In; status will be set. In this case, the Command Phase • Send Data In phase; register should be evaluated to determine the last suc· • Chain to Send· Disconnect· Message. cessfully completed phase. If none of these conditions occurs, all phases complete normally, and if EDI = 0, If the res election attempt times out during a Reselect· then a "successful completion" interrupt would be gen· And· Transfer command, ATN· is asserted and HA = 1, erated at this point. However, if EDI = 1, no interrupt is COMMAND MEANING PHASE No SCSI bus device has been reselected. The WD33C93A is in the disconnected 00 state. The WD33C93A has successfully reselected the Initiator. The WD33C93A is now in 10 the connected as a Target state. 20 The Identify message has been successfully sent to the Initiator. 46 The requested data transfer has been completed. generated and command chain occurs (as described Connected as a Target state. When the "Resume" is above). issued, the WD33C93A examines the Command Phase The following table summarizes the possible values Register to determine where to restart the Reselect· that the Command Phase register can take during the And·Transfer command execution. This feature, in con· Reselect·And· Transfer commands, and their meanings junction with the capability to chain to other combina· relative to command termination. See other command tion commands, allows longer SCSI bus sequences to descriptions for additional values that can occur when be executed by a single command. command chaining is used. The following table briefly describes the meaning of the A "Resume Reselect·And· Transfer" command is Command Phase register when resuming a Reselect· assumed whenever a normal "Reselect·And·Transfer" And·Transfer command: command is issued while the WD33C93A is in the COMMAND MEANING PHASE 10 Resume after Initiator reselection is complete; start with Identify Message Out. Resume after Identify Message Out; start with data transfer phase. If Transfer Count 20 is zero, no data transfer phase occurs. In either case, a chain to another combination command can occur if enabled. 7.6,3 WAIT-FOR-SELECT-AND- RECEIVE message from the Initiator, before continuing on with (OC HEX) the implied "Receive Command" to receive the SCSI command information. The SCSI command information The Wait·For·Select·And·Receive causes the (COB) will be stored in the COB registers (Hex WD33C93A to idle until it is selected by an Initiator, at addresses 03 to OE), and if a valid Identify message is which time the WD33C93A will enter the Target mode received, it will be saved in the Target Lun register (Hex and message and command information will automat· address OF). The number of command bytes requested ically be requested. As an option, the WD33C93A may by the WD33C93A is determined by the SCSI group be programmed to disconnect when a SCSI read com· code in the first byte of the COB. mand is received while executing a Wait·For·Select· And·Receive command. Use of this command therefore After the WD33C93A is selected and receives all valid eliminates the interrupts which normally occur after command and message information, a "successful selection and after each subsequent SCSI bus phase, completion" interrupt will normally be generated to and results in very short bus·connect time during SCSI allow the local processor to read out and interpret the read commands. SCSI COB. However, by setting the EDI bit prior to Ii ATN· was asserted by the Initiator during the selection issuing a Wait·For·Select·And·Receive command, the phase, the WD33C93A will first execute an implied WD3?C93A is enabled to perform an automatic discon· "Receive Message Out" command to get the Identify nect when a SCSI read command is received. There· 29-32 12-12-90 W033C93A fore, when EOI = 1 and the 1st CDB byte received pleted before the error condition occurred. A Command contains a 6, 10 or 12 byte read command code, then Phase Hex value of Hex 10 indicates that the the WD33C93A will temporarily suppress the interrupt WD33C93A was successfully selected. A Hex value of and chain to begin execution of a Send-Disconnect- 20 indicates that a message was received from the Message command. An interrupt will then be generated Initiator, and when the W033C93A begins receiving after completion of this command, which normally command bytes, the Command Phase is set to Hex 30 would indicate a transition to the bus free condition. and increments with each byte received (to a maximum Refer to the Send-Disconnect-Message command of 3C for a 12-byte COB command). description for more details. The following table summarizes the possible values If during execution the message or command informa- that the Command Phase register can take during the tion received from the Initiator is invalid, the implied Wait-For-Select-And-Receive command, and their receive command will be terminated and the appropri- meanings relative to command termination. See other ate status reported. In this case, the Command Phase command descriptions for additonal values that can register should be read to determine which phase of the occur when command chaining is used. Wait-For-Select-And-Receive command was last com- COMMAND MEANING PHASE 00 The WD33C93A has not been selected. The W033C93A is in the disconnected state. The WD33C93A has been succossfully selected by the Initiator. The WD33C93A is 10 now in the connected as a Target state. 20 The Identify message has been successfully received from the Initiator. The W033C93A has begun command phase by setting the SCSI bus phase signals 30 and asserting REO-. The WD33C93A has transferred 1 command byte from the Initiator. The SCSI Status 31 may indicate the need for the host to load the command size into the OWN 10 register. 3x The WD33C93A has transferred x command bytes from the Initiator. A "Resume Wait-For-Select-And-Receive" command is in conjunction with the capability to chain to other assumed whenever a normal "Wait-For-Select-And- combination commands. allows longer SCSI bus Receive" command is issued while the WD33C93A is in sequences to be executed by a single command. the Connected as a Target state. When the "Resume" is The following table briefly describes the meaning of the issued, the WD33C93A examines the Command Phase Command Phase register when resuming a Wait-For- Register to determine where to restart the Wait-For- Select-And-Receive command: Select-And-Receive command execution. This feature, COMMAND MEANING PHASE Resume after selection by the Initiator is complete; start with Identify Message Out if 10 ATN is asserted. otherwise, start with command phase. Resume after a message out; ct'ieck the received message in the Target Lun register 20 for a valid Identify message. 30 Resume after Identify message out. Start with command phase. Resume after the WD33C93A has transferred 1 command byte from the Initiator. This 31 resume point is used only when an unknown group code has been detected in Advanced Mode, and the command size has been loaded into the Own 10 register. 12-12-9n 29-33 WD33C93A 7.6.4 SEND-STATUS-AND-COMMAND- CDB11 is sent, followed by a Command Complete COMPLETE (00 HEX) message (00 Hex). A "successful completion" inter- rup now occurs. The Send-Status-And-Command-Complete command , is valid in the Target role, and is used to complete a (2) CDB12 bitO= 1, bit1 = 0: The status byte in CDB11 is SCSI operation by transferring the appropriate status sent. followed by a Linked Command Complete information to the Initiator prior to disconnection from message (OA Hex). A chain to the command fetch the SCSI bus. This command also supports linked SCSI portion of Wait-for-Select-and-Receive then occurs operations by optionally allowing a linked command- to fetch the next COB from the Initiator. WD33C93A complete message to be sent after the status is trans- command execution proceeds as described for that ferred. Linked command complete messages are command. controlled by the CDB12 register with bits that corre- (3) CDB12 bitO = 1, bit1 = 1: The status byte in CDB11 is spond to the standard linked command control bits in sent. followed by a Linked Command Complete with the CDB. Flag message (OB Hex). A chain to the command Before a Send-Status-And-Command-Complete com- fetch portion of Wait-for-Select-and-Receive then mand is issued, the CDB11 register must be loaded with occurs to fetch the next CDB from the Initiator. a status byte which will then be transferred across the WD33C93A command execution proceeds as SCSI bus. Also, the link control bits from the current described for that command. CDB must be loaded into the CDB12 register to ensure A Send-Status-And-Command-Complete command that the correct sequence occurs. Note that the bits may be terminated by ATN- asserted when HA = 1, or used by the WD33C93A are identical in meaning to the when a Disconnect or Reset command is issued. In SCSI standard link control bits. The host processor may addition. it may be aborted on a SCSI bus-phase simply load the control byte from the current SCSI boundary by issuing an Abort command. command into CDB12 to get the correct function. As the The following table summarizes the possible values command execution progresses, the Command Phase that the Command Phase register can take during the register will be updated to indicate the last phase Send-Status-and-Command-Complete command. and completed. their meanings relative to command termination. See The possible sequences caused by this command are other command descriptions for additional values that as follows: can occur when command chaining is used. (1) CDB12 bitO = 0, bit1 = don't care: The status byte in COMMAND MEANING PHASE 00 No operation occurred; typically. ATN- was found to be asserted. 50 Status phase transfer completed. 60 Command Complete message transfer completed. 61 Linked Command Complete message transfer completed. A "Resume Send-Status-And-Command-Complete" plete command execution. This feature. in command is assumed wheneve a normal "Send-Sta- conjunction with the capability to chain to other com- tus-And-Command-Complete" command is issued bination commands. allows longer SCSI bus while the WD33C93A is in the Connected as a Target sequences to be executed by a single command. state. When the "Resume" is issued, the WD33C93A The following table briefly describes the meaning of the examines the Command Phase Register to determine Command Phase register when resuming a Send-Sta- where to restart the Send-Status-And-Command-Com- tus-And-Command-Complete command: COMMAND MEANING PHASE Resume after status phase. Start with command complete message. May chain to 50 command fetch if commanded to do so. 29-34 12-12-90 WD33C93A 7.6.5 SEND-DISCONNECT-MESSAGE message is sent, the Command Phase will be set to (OE HEX) 41H. After the Disconnect message transfer. this regis- The Send-Disconnect-Message command is a Target- ter will be updated to 42H. and after disconnection the role command which may be used to disconnect from Command Phase register will contain a 43H. the SCSI bus at any time during a SCSI command A Send-Disconnect-Message command may be termi- sequence. This command consists of sending a Discon- nated by ATN- asserted when HA = 1. or when a Discon- nect message byte, followed by physical disconnection nect or Reset command is issued. In addition, it may be from the bus (SCSI bus free). An interrupt is generated aborted on a SCSI bus-phase boundary by issuing an only after transition to bus free occurs. As an option, a Abort command. Save Data Pointers message will automatically be sent The following table summarizes the possible values before the Disconnect message whenever the 101 bit is that the Comn.and Phase Register can take during the set prior to issuing this command. Send-Disconnect-Message, and their meanings rela- The Command Phase register is updated during execu- tive to command termination. See olher command tion of the Send-Disconnect-Message command to descriptions for additional values that can occur when indicate bus phase status. After a Save Data Pointers command chaining is used. COMMAND MEANING PHASE 00 No operation occurred; typically, ATN- was found to be asserted. 41 The Save Data Pointer message was transferred. 42 The Disconnect message was transferred. The bus free state occurred after the Disconnect message was transferred. The 43 WD33C93A is now in the disconnected state. 8. ELECTRICAL CHARACTERISTICS ABSOLUTE MAXIMUM RATINGS Voltage on any pin with respect to GND - 0.5V to + 7.0V Operating temperature o to 70 degrees C Storage temperature - 55 to + 125 degrees C Power dissipation 500 mW Input Static Discharge Protection 1200 V pin to pin DC OPERATING CHARACTERISTICS Ta = 0 to 70 deg. C VCC = +5V +/- .25V, GND = OV SYMBOL CHARACTERISTICS MIN MAX UNITS CONDITIONS ilL INPUT LEAKAGE 10 uA VIN = .4 TO VCC 10L1 SCSI OUTPUT LEAKAGE 50 uA VOUT = .5 TO (INACTIVE) VCC tOL2 OUTPUT LEAKAGE 10 uA VOUT = .4 TO (TAl-STATE) VCC VIH INPUT HIGH VOLTAGE 2.0 V VIL INPUT LOW VOLTAGE 0.8 V VIHYS SCHMITT TRIGGER INPUT 0.2 V HYSTERISIS (ALL SCSI PINS) VOH OUTPUT HIGH VOLTAGE 2.4 V 10 = -400 uA VOLl SCSI OUTPUT LOW VOLTAGE 0.5 V 10 = 48.0 mA VOL2 OUTPUT LOW VOLTAGE 0.4 V 10 = 4.0 mA (ALL OTHERS) ICC SUPPLY CURRENT 20 mA Ta = + 25 deg. C c-. 12-12-90 29-35 WD33C93A 9. TIMING CHARACTERISTICS Where: Timing characteristics are valid over the entire operat- Tcyc is the internal clock cycle time; ing temperature (0 to 70 deg. C) and voltage (4.75 to Ticlk is the period of the clock at the MCK input; 5.25 Volts) ranges. and are referenced to and from a low voltage of 0.8 volts and a high voltage of 2.0 volts. All DIVISOR is the clock divisor selected in the OWN ID outputs are assumed to have a load capacitance of 50 register. picofarads. For example, with a 16MHz clock input to the Manyof the SCSI bus timing parameters that follow are WD33C93A, the clock divisor selected would be 4. defined in terms of an internal clock cycle time that is Therefore. the value of Tcyc would be: determined by the input clock and the clock divisor Tcyc = -'-__6_2._5_n..:.s..:..ec;.......*4_ _ _ = 125 nsec selected in the OWN ID register. This cycle time is 2 calculated as follows: Ticlk * DIVISOR Tcyc 2 9.1 PROCESSOR/DMA INTERFACE 9.1.1 ClK SYMBOL CHARACTERISTIC MIN MAX UNITS lep CLOCK PERIOD 62.5 125 ns leh CLOCK HIGH 28 ns le, CLOCK LOW 28 ns J l"p--~I -- ~ ---..~ II----------,~ 4 MCK-----/1_ ~~ ~ 9.1.2 "M"R SYMBOL CHARACTERISTIC MIN MAX UNITS tmr MR PULSE WIDTH 1 us MR--------\ 1"--4 tmr -~( 29-36 12-12-90 WD33C93A 9.1.3 PROCESSOR WRITE - INDIRECT ADDRESSING MODE SYMBOL CHARACTERISTIC MIN MAX UNITS I. vwl ADDR VALID TO WE LOW 0 ns IcIWI CS LOW TO WE LOW 0 ns !w. WE PULSE WIDTH 120 ns ~VWh DATA VALID TO WE HIGH 70 ns twh81 WE HIGH TO ADDR. INVALID 0 ns !whCh WEHIGH TO CS HIGH 0 lis !whd. WE HIGH TO DATA INVALID 0 ns Iwhwi WE HIGH TO WE OR RE LOW 100 ns 1'- IAVWL~ . IWHAI ' " AO ~tCLWL .... f.- IWHCH \ • IWE ~ .. t WHwL ~ \ / \- ,~ tOVWH ---. ..... tWHOI1 00-07 12-12-90 29-37 ...... , ....... ,. WD33C93A 9.1.4 PROCESSOR READ - INDIRECT ADDRESSING MODE SYMBOL CHARACTERISTIC MIN MAX UNITS , I."" ADDR VALID TO RE LOW 0 ns lei" CS LOW TO RE LOW 0 ns I,e RE LOW TO DATA VALID 180 10000 ns l"dY RE PULSE WIDTH LOW TO DATA VALID 180 180 ns I'heh RE HIGH TO CS HIGH 0 ns I,hd; RE HIGH TO DATA INVALID 10 40 ns l'h'l RE HIGH TO RE OR WE LOW 100 ns trh8i RE HIGH TO AO INVALID 0 ns I~ I AVRL ---. ~ IRHAI I~ AO ~IcLRL'" ~IRHCH--'I \ 4 IRE ~ .. ,IRHRL . \ J \- 00·07 ~ IRLDV--"I ----- IRHDI I· 29·38 12·12·90 WD33C93A 9.1.5 PROCESSOR WRITE - DIRECT ADDRESSING MODE SYMBOL CHARACTERISTIC MIN MAX UNITS tavsl ADDR VALID TO ALE LOW 40 ns tal81 ALE LOW TO ADDR INVALID 0 ns taJW1 ALE LOW TO WE LOW 90 ns "',w, CSLOW TO WE LOW 0 ns twe WE PULSE TO WE HIGH 120 ns Ic,vwh DATA VALID TO WE HIGH 70 ns !wheh WE HIGH TO CS HIGH 0 ns tWhdi WE HIGH TO DATA INVALID 0 ns tWhWI WE HIGH TO WE OR RE LOW 100 ns ALE ----- \ IcLWL - --- t WHCH 1-- ~tALWL-" ... tWE • ~ t WHWL --.. \ / \c- ~ tAVAL - " ...... t ALA ' . .' ,~tDVWH ..... 1~ twHD,"1 DO·D7 ==x'--________XXiXXI~------- 9.2.15 . SELECTION (AS AN INITIATOR) OR RESELECTION (AS A TARGET) TO BUS FREE (SELECTION TIMEOUT) SYMBOL CHARACTERISTIC MIN MAX UNITS I'.de TIMEOUT OR ABORT TO DATA BUS CLEARED 0 ns l.icsh DATA BUS CLEARED TO SEL OUT HIGH 200 US !shd' SEL OUT HIGH TO DATA BUS TRISTATE 800 ns !shih SEL OUT HIGH TO enll TRISTATE 800 ns BSY------------~/ SEL--------------------------------~ DBx ISHDT I~______________ _ ----------------------~----~------~ T8:g~g or tSHIH --------------------------------------------.> _____________ _ I· NOTE: Tgroup = signals driven by a Target = 1/0, CID, MSG, REO Igroup = signals driven by an Initiator = ATN, ACK 29-60 12-12-90 WD33C93A 9.2.16 CONNECTED-AS-AN-INITIATOR TO BUS FREE SYMBOL CHARACTERISTIC MIN MAX UNITS tbhdl BSY IN HIGH TO DATA BUS TRISTATE 8* Tcyc ns + 75ns ~hgt BSY IN HIGH TO Igroup TRISTATE 8 *Tcyc ns + 75ns BSY ________________________ -JJ --. tBHOT I~ ----------------------------~------~ tBHGT 1'-- Igroup - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ) _____________ _ NOTE: Igroup = signals driven by an Initiator = ATN. ACK 9.2.17 CONNECTED-AS-A-TARGET TO BUS FREE SYMBOL CHARACTERISTIC MIN MAX UNITS tbhdt BSY OUT HIGH TO DATA BUS TRISTATE 8*Tcyc ns + 75n5 ~hgt BSY OUT HIGH TO Tgroup TRISTATE 8* Tcyc n5 + 75n5 BSY---------------J DBx - _____________ ~----J ---------------- _ _ _ _ I~ ~ro~ )-------------- NOTE: Tgroup = signals driven by a Target = 110. C/O. MSG, REO 12-12-90 29-61 PACKAGE DIAGRAMS I 540! 015 ---- 1372! 38 PIN 11 0 -r 645' 030 16 38! 76 ~~~~~~~~~ J 020 : ~~~ 012 , 30' 08 r;:;;;:~~~~~~~J~': ~ -r I~~~~~ 075! 025 190.1 64 100 ~ 010 1 --" 38'! 51 ...9-'-~-'_~~~ 46! 08 40 LEAD PLASTIC "PL" WD33C93A r.:~1 'I -it- ~ "I I t _ ~ ...... O~DOOO,ra'~ U q ::::?{. i ? [J y ,\ 44 LEAD PLASTIC "JM" WD33C93A 29-62 12-12-90 WD33C93A 095!: 010 PIN 11 0 - 241 :! 25 !~- • 610 ! 015 600, 015 1549 ! 38 ( b 1524'38 _L __ 200, 025 OtC, 003 L.---~ --~------ 25, 08 40 LEAD CERAMIC "AL" WD33C93A 12-12-90 29-63 ae:e WESTERN DIGITAL WESTERN DIGITAL CORPORATION 8105 IRVINE CENTER DRIVE IRVINE, CALIFORNIA 92718 TELEPHONE: 714.932.5000 FOR SERVICE AND LITERATURE, CALl: 714.932.4900 S0228 12190 COVER PRINTED ON 100% RECYCLED PAPER