WESTERN DIGITAL O FR P Oo / QO WN FD 179X-02 Floppy Disk Formatter/Controller Family FEATURES TWO VFO CONTROL SIGNALS SOFT SECTOR FORMAT COMPATIBILITY AUTOMATIC TRACK SEEK WITH VERIFICATION ACCOMMODATES SINGLE AND DOUBLE DENSITY FORMATS IBM 3740 Single Density (FM) IBM System 34 Double Density (MFM) READ MODE Single/Multiple Sector Read with Automatic Search or Entire Track Read Selectable 128 Byte or Variable length Sector WRITE MODE Sing!e/Multiple Sector Write with Automatic Sector Search Entire Track Write for Diskette Formatting SYSTEM COMPATIBILITY Double Buffering of Data 8 Bit Bi-Directional Bus for Data, Control and Status DMA or Programmed Data Transfers All inputs and Outputs are TTL Compatible On-Chip Track and Sector Registers/Comprehensive Status Information @ PROGRAMMABLE CONTROLS Selectable Track to Track Stepping Time Side Select Compare e WRITE PRECOMPENSATION WINDOW EXTENSION ® INCORPORATES ENCODING/DECODING AND ADDRESS MARK CIRCUITRY e FD1792/4 IS SINGLE DENSITY ONLY FD1795/7 HAS A SIDE SELECT OUTPUT 179X-02 FAMILY CHARACTERISTICS MAY 1980 FEATURES 1791 1793 1795 1797 Single Density (FM) xX Xx x Double Density (MFM) x X True Data Bus Inverted Data Bus Xx Write Precomp X X X xX Side Selection Output Xx X Xx APPLICATIONS FLOPPY DISK DRIVE INTERFACE SINGLE OR MULTIPLE DRIVE CONTROLLER/ FORMATTER NEW MINI-FLOPPY CONTROLLER 7 Nc C(] 1 40F Voot+ 12v) WE Cj 2 39{] INTRO cq 3 38{] DRO RE 4 3717 ODEN 4,5 as WPRT 4,6 35-0 iP Baw 7 3410 TROG dALT 8 3310 WFIVFOE dat2 9 32[ READY dats C10 3119 wo Baca Gt HA wG DAL5 (12 29,79 TG43 Oareé (713 2819 MLO DAL7 quia 271) RAWREAD STEP (15 26 ACLK piRc (16 257 « EARLY Q V7 ra) a) CLK LATE q 18 235 ALT MR C19 22 TEST (GNOIVes (20 21 ec {t8¥} "1791/35 RG 1795/7 = SSO “1793/7 TRUE BUS PIN CONNECTIONS mmacvze0ag mornwmaZsz— RAW READ DATA (8) ACLK AO RG/SSO Al LATE ce EARLY F Re WO ~~ ° We ; P = 3 Y MR 179X $ 10K FLOPPY DISK WG ° CONTROLLER ——— ~ s FORMATTER “WPRT K WF/VFOE +5V = l iP N TROO u 10K 10K READY R Fe 1G43 A DRO STEP E INTRO DIRC CLK wey HLD — HLT ONE SHOT IF USED: DDEN Ivss Vvpo Vcc hee ( ) | +12 +5V +5V FD179X SYSTEM BLOCK DIAGRAM GENERAL DESCRIPTION The FO179X are MOS LS! devices which perform the functions of a Floppy Disk Formatter/Controller in a single chip implementation. The FD179X, which can be considered the end result of both the FD1771 and FD1781 designs, is IBM 3740 compatible in single density mode (FM) and System 34 compatible in Double Density Mode (MFM). The FD179X con- tains all the features of its predecessor the FD1771, plus the added features necessary to read/write and format a double density diskette. These include ad- dress mark detection, FM and MFM encode and de- code logic, window extension, and write precompen- sation. In order to maintain compatibility, the FD1771, FD1781, and FD179X designs were made as close as control is identical. In each case, the actual pin as- signments vary by only a few pins from any one to another. The processor interface consists of an 8-bit bi- directional bus for data, status, and contro! word transfers. The FD179X is set up to operate on a mul- tiplexed bus with other bus-oriented devices. The FD179X is fabricated in N-channel Silicon Gate MOS technology and is TTL compatible on all inputs and outputs. The 1793 is identical to the 1791 except the DAL lines are TRUE for systems that utilize true data busses. The 1795/7 has a side select output for controlling dou- ble sided drives, and the 1792 and 1794 are “Single Density Only” versions of the 1791 and 1793. On these possible with the computer interface, instruction set, and I/O registers being identical. Also, head load PIN OUTS devices, DDEN must be left open. PIN NUMBER PIN NAME SYMBOL FUNCTION 1 NO CONNECTION NC 19 MASTER RESET MR 20 POWER SUPPLIES Vss 21 Vec 40 Voo COMPUTER INTERFACE: 2 WRITE ENABLE = 3 CHIP SELECT al 4 READ ENABLE ml 5,6 REGISTER SELECT LINES AG, Ai DATA ACCESS LINES DALO-DAL7 24 CLOCK CLK Pin 1 is internally connected to a back bias generator and must be left open by the user. A logic low on this input resets the device and loads HEX 03 into the command register. The Not Ready (Status Bit 7) is reset during MR ACTIVE. When MR is brought to a logic high a RESTORE Command is executed, regardless of the state of the Ready signal from the drive. Also, HEX 01 is loaded into sector register. Ground +5V +5% +12V +5% A logic low on this input gates data on the DAL into the selected register when CS is low. A logic low on this input selects the chip and ena- bles computer communication with the device. A logic low on this input controls the placement of data from a selected register on the DAL when CS is low. These inputs select the register to receive/ transfer data on the DAL lines under RE and WE control: Al AO RE WE 0) ) 0 1 1 ) 1 1 Status Reg Track Reg Sector Reg Data Reg Command Reg Track Reg Sector Reg Data Reg Eight bit inverted Bidirectional bus used for trans- fer of data, control, and status. This bus is receiver enabled by WE or transmitter enabled by RE. This input requires a free-running square wave clock for internal timing reference, 2 MHz for 8” drives, 1 MHz for mini-drives. PIN NUMBER PIN NAME SYMBOL FUNCTION 38 39 DATA REQUEST INTERRUPT REQUEST FLOPPY DISK INTERFACE: 15 16 7 18 22 23 25 25 26 27 28 29 30 STEP DIRECTION EARLY LATE TEST HEAD LOAD TIMING READ GATE (1791/3) SIDE SELECT OUTPUT (1795, 1797) READ CLOCK RAW READ HEAD LOAD TRACK GREATER THAN 43 WRITE GATE DRQ INTRQ STEP DIRC EARLY LATE TEST HLT RG SSO RCLK RAW READ HLD TG43 WG This open drain output indicates that the DR con- tains assembled data in Read operations, or the DR is empty in Write operations. This signal is reset when serviced by the computer through reading or loading the DR in Read or Write opera- tions, respectively. Use 10K pull-up resistor to +5. This open drain output is set at the completion of any command and is reset when the STATUS register is read or the command register is written to. Use 10K pull-up resistor to +5. The step output contains a pulse for each step. Direction Output is active high when stepping in, active low when stepping out. Indicates that the WRITE DATA pulse occurring while Early is active (high) should be shifted early for write precompensation. Indicates that the write data pulse occurring while Late is active (high) should be shifted late for write precompensation. This input is used for testing purposes only and should be tied to +5V or left open by the user un- less interfacing to voice coil actuated motors. When a logic high is found on the HLT input the head is assumed to be engaged. A high level on this output indicates to the data separator circuitry that a field of zeros (or ones) has been encountered, and is used for synchroni- zation. The logic level of the Side Select Output is directly controlied by the ‘S’ flag in Type It or Ill commands. When S = 1, SSO is set to a logic 1. When S = 0, SSO is set to a logic 0. The Side Select Output is only updated at the beginning of a Type II or Il] command. It is forced to a logic 0 upon a MASTER RESET condition. A nominal square-wave clock signal derived from the data stream must be provided to this input. Phasing (i.e. RCLK transitions) relative to RAW READ is important but polarity (RCLK high or low) is not. The data input signal directly from the drive. This input shall be a negative pulse for each recorded flux transition. The HLD output controls the loading of the Read-Write head against the media. This output informs the drive that the Read/Write head is positioned between tracks 44-76. This output is valid only during Read and Write Commands. This output is made valid before writing is to be performed on the diskette. FUNCTION A 250 ns (MFM) or 500 ns (FM) pulse per flux transition. WD contains the unique Address marks as well as data and clock in both FM and MFM formats. This input indicates disk readiness and is sampled for a lagic high before Read or Write commands are performed. If Ready is low the Read or Write operation is not performed and an interrupt is generated. Type | operations are performed re- gardless of the state of Ready. The Ready input appears in inverted format as Status Register bit 7. This is a bi-directional signal used to signify writing faults at the drive, and to enable the external PLO data separator. When WG = 1, Pin 33 functions as a WF input. If WF = 0, any write command will im- mediately be terminated. When WG = 0, Pin 33 func- tions as a VFOE output. VFOE will go low during a read operation after the head has loaded and settled (HLT = 1). On the 1795/7, it will remain Jow until the last bit of the second CRC byte in the ID field. VFOE will then go high until 8 bytes (MFM) or 4 bytes (FM) before the Address Mark. It will then go active until the last bit of the second CRC byte of the Data Field. On the 1791/3, VFOE will remain low until the end of the Data Field. This input informs the FD179X that the Read/Write head is positioned over Track 00. This input informs the FD179X when the index hole is encountered on the diskette. This input is sampled whenever a Write Command is received. A logic low terminates the command and sets the Write Protect Status bit. This pin selects either single or double density op- eration. When DDEN = 0, double density is selected. When DDEN = 1, single density is selected. This line must be left open on the 1792/4 PIN NUMBER PIN NAME SYMBOL 31 WRITE DATA WD 32 READY READY 33 WRITE FAULT WF/VEOE VFO ENABLE 34 TRACK 00 TROO 35 INDEX PULSE IP 36 WRITE PROTECT WPRT 37 DOUBLE DENSITY DDEN ORGANIZATION The Floppy Disk Formatter block diagram is illus- trated on page 5. The primary sections include the parallel processor interface and the Floppy Disk inter- face. Data Shift Register—This 8-bit register assembles serial data from the Read Data input (RAW READ) during Read operations and transfers serial data to the Write Data output during Write operations. Data Register—This 8-bit register is used as a hold- ing register during Disk Read and Write operations. In Disk Read operations the assembled data byte is transferred in parallel to the Data Register from the Data Shift Register. in Disk Write operations informa- tion is transferred in parallel from the Data Register to the Data Shift Register. When executing the Seek command the Data Regis- ter holds the address of the desired Track position. This register is loaded from the DAL and gated onto the DAL under processor control. Track Register—This 8-bit register holds the track number of the current Read/Write head position. It is incremented by one every time the head is stepped in (towards track 76) and decremented by one when the head is stepped out (towards track 00). The contents of the register are compared with the recorded track number in the ID field during disk Read, Write, and Verify operations. The Track Register can be loaded from or transferred to the DAL. This Register shoule not be loaded when the device is busy. (oat j DATA OUT BUFFERS t t i — TRACK STATUS REG REG RaW READ OATA COMMAND SECTOR REG REG REG Cats —— SMIFT REG WRITE DATA ag (TO OFSK) AM GETECTOR WS RCLK COMPUTER NTA PLA —___“t___ | INTERFACE CONTROL CONTROL ag CONTROL (230 X 16) CLK 2 OR 4 MHZ DDEN- “NOT USED ON 1792 4 CONTROL OIsK > INTERFACE CONTROL FD179X BLOCK DIAGRAM Sector Register (SR)—This 8-bit register holds the address of the desired sector position. The contents of the register are compared with the recorded sector number in the ID field during disk Read or Write op- erations. The Sector Register contents can be loaded from or transferred to the DAL. This register should not be loaded when the device is busy. Command Register (CR)—This 8-bit register holds the command presently being executed. This register should not be loaded when the device is busy unless the new command is a force interrupt. The command register can be loaded from the DAL, but not read onto the DAL. Status Register (STR)—This 8-bit register holds de- vice Status information. The meaning of the Status bits is a function of the type of command previously executed. This register can be read onto the DAL, but not loaded from the DAL. CAC Logic—This logic is used to check or to gener- ate the 16-bit Cyclic Redundancy Check (CRC). The polynomial is: G(x) = x'© + x"? + x5 +1. The CRC includes all information starting with the address mark and up to the CRC characters. The CRC register is preset to ones prior to data being shifted through the circuit. Arithmetic/Logic Unit (ALU)—The ALU is a serial comparator, incrementer, and decrementer and is used for register modification and comparisons with the disk recorded ID field. Timing and Control—All computer and Floppy Disk interface controls are generated through this logic. The internal device timing is generated from an ex- ternal crystal clock. The FD1791/3 has two different modes of_operation according to the state of DDEN. When DDEN = 0 double density (MFM) is assumed. When DDEN = 1, single density (FM) is assumed. AM Detector—The address mark detector detects ID, data and index address marks during read and write operations. PROCESSOR INTERFACE The interface to the processor is accomplished through the eight Data Access Lines (DAL) and as- sociated control signals. The DAL are used to trans- fer Data, Status, and Control words out of, or into the FD179X. The DAL are three state buffers that are en- abled as output drivers when Chip Select (CS) and Read Enable (RE) are active (low logic state) or_act as input receivers when CS and Write Enable (WE) are active. When transfer of data with the Fioppy Disk Controller is required by the host processor, the device address is decoded and CS is made low. The address bits A1 and AO, combined with the signals RE during a Read operation or WE during a Write operation are inter- preted as selecting the following registers: A1-A0 READ (RE) WRITE (WE) 0 0 Status Register Command Register Oo 1 Track Register Track Register 1 0 Sector Register Sector Register 1 1 Data Register Data Register During Direct Memory Access (DMA) types of data transfers between the Data Register of the FD179X and the processor, the Data Request (DRQ) output is used in Data Transfer control. This signal also ap- pears as status bit 1 during Read and Write opera- tions. On Disk Read operations the Data Request is acti- vated (set high) when an assembled serial input byte is transferred in parallel to the Data Register. This bit is cleared when the Data Register is read by the pro- cessor. If the Data Register is read after one or more characters are lost, by having new data transferred into the register prior to processor readout, the Lost Data bit is set in the Status Register. The Read op- eration continues until the end of sector is reached. On Disk Write operations the data Request is acti- vated when the Data Register transfers its contents to the Data Shift Register, and requires a new data byte. It is reset when the Data Register is loaded with new data by the processor. !f new data is not loaded at the time the next serial byte is required by the Floppy Disk, a byte of zeroes is written on the diskette and the Lost Data bit is set in the Status Re- gister. At the completion of every command an INTRQ is generated. INTRQ is reset by either reading the status register or by loading the command register with a new command. In addition, INTRQ is gener-: ated if a Force Interrupt command condition is met. FLOPPY DISK INTERFACE The 179X has two modes of operation according to the = 1, single density is selected. In either case, the CLK input (Pin 24) is at 2 MHz. However, when interfacing with the mini-floppy, the CLK input is set at 1 MHz for both single density and double density. When the clock is at 2 MHz, the stepping rates of 3, 6, 10, and 15 ms are obtainable. When CLK state of DDEN (Pin 37). When equals 1 MHz these times are doubled. HEAD POSITIONING Five commands cause positioning of the Read-Write head (see Command Section). The period of each positioning step is specified by the r field in bits 1 and 0 of the command word. After the last directional step an additional 15 milliseconds of head settling time takes place if the Verify flag is set in Type | commands. Note that this time doubles to 30 ms for a1 MHz clock. If TEST = 0, there is zero settling time. There is also a 15 ms head settling time if the E flag is set in any Type Il! or tl command. The rates (shown in Table 1) can be applied to a Step-Direction Motor through the device interface. Step—A 2 ys (MFM) or 4 us (FM) pulse is provided as an output to the drive. For every step pulse is- sued, the drive moves one track location in a direc- tion determined by the direction output. Direction (DIRC)}—The Direction signai is active high when stepping in and low when stepping out. The Di- rection signal is valid 12 us before the first stepping pulse is generated. When a Seek, Step or Restore command is executed an optional verification of Read-Write head position can be performed by setting bit 2 (V = 1) in the command word to a logic 1. The verification operation begins at the end of the 15 millisecond settling time after the head is loaded against the media. The track number from the first encountered ID Field is com- pared against the contents of the Track Register. If the track numbers compare and the ID Field Cyclic Redundancy Check (CRC) is correct, the verify oper- ation is complete and an INTRQ is generated with no errors. The FD179X must find an !D field with correct track number and correct CRC within 5 revolutions of the media; otherwise the seek error is set and an INTRQ is generated. Table 1. STEPPING RATES CLK 2MHz 2 MHz 1 MHz 1 MHz 2 MHz 1 MHz DOEN 0 1 0 1 x x R1RO TEST=1 TEST=1 TEST=1 TEST=1 TEST=0 TEST=0 0 0 3 ms 3ms 6 ms 6 ms 184s 368us 01 6 ms 6 ms 12 ms 12 ms 190us 380us + 0 10 ms 10 ms 20 ms 20 ms 198s 396us 1°11 15ms 15 ms 30 ms 30 ms 2084s 416us The Head Load (HLD) output controls the movement of the read/write head against the media. HLD is ac- tivated at the beginning of a Type | command if the h flag is set (h = 1), at the end of the Type | command if the verify flag (V = 1), or upon receipt of any Type ll or Hl command. Once HLD is active it remains ac- tive until either a Type | command is received with (h = 0 and V = 0); or if the FD179xX is in an idle state (non-busy) and 15 index pulses have occurred. Head Load Timing (HLT) is an input to the FD179X which isused for the head engage time. When HLT =1, the FD179X assumes the head is com- pletely engaged. The head engage time is typically 30 to 100 ms depending on drive. The low to high transition on HLD is typically used to fire a one shot. The output of the one shot is then used for HLT and supplied as an input to the FD179X. HLT (FROM ONE SHOT) HEAD LOAD TIMING When both HLD and HLT are true, the FD179X will then read from or write to the media. The “and” of HLD and HLT appears as a status bit in Type | status. in summary for the Type | commands: if h = 0 and V = 0, HLD is reset. Ifh = 1 and V = 0, HLDis set at the beginning of the command and HLT is not sampled nor is there an internal 15 ms delay. If h = 0 and V = 1, HLD is set near the end of the command, an internal 15 ms occurs, and the FQ179X waits for HLT to be true. Ifh = 1 and V = 1, HLD is set at the beginning oi the command. Near the end of the command, after all the steps have been issued, an internal 15 ms delay occurs and the FD179X then waits for HLT to occur. For Type Il and lil commands with E flag off, HLD is made active and HLT is sampled until true. With E flag on, HLD is made active, an internal 15 ms delay occurs and then HLT is sampled until true. DISK READ OPERATIONS Sector lengths of 128, 256, 512 or 1024 are obtaina- ble in either FM or MFM formats. For FM, DDEN should be placed to logical “1.” For MFM formats, DDEN should be placed to a logical “0.” Sector lengths are determined at format time by a special byte in the “ID” field. If this Sector length byte in the ID field is zero, then the sector length is 128 bytes. If 01 then 256 bytes. If 02, then 512 bytes. If 03, then the sector length is 1024 bytes. The number of sec- tors per track as far as the FD179X is concerned can be from 1 to 255 sectors. The number of tracks as far as the FD179X is concerned is from 0 to 255 tracks. For IBM 3740 compatibility, sector lengths are 128 bytes with 26 sectors per track. For System 34 com- patibility (MFM), sector lengths are 256 bytes/sector with 26 sectors/track; or lengths of 1024 bytes/sector with 8 sectors/track. (See Sector Length Table.) For read operations, the FD179X requires RAW READ Data (Pin 27) signal which is a 250 ns pulse per flux transition and a Read clock (RCLK) signal to indicate flux transition spacings. The R@LK (Pin 26) signal is provided by some drives but if not it may be derived externally by Phase lock loops, one shots, or counter techniques. In addition, a Read Gate Signal is provided as an output (Pin 25) which can be used to inform phase lock loops when to acquire syn- chronization. When reading from the media in FM. RG is made true when 2 bytes of zeroes are detected. The FD179X must find an address mark within the next 10 bytes; otherwise RG is reset and the search for 2 bytes of zeroes begins all over again. If an ad- dress mark is found within 10 bytes, RG remains true as long as the FD179X is deriving any useful informa- tion from the data stream. Similarly for MFM, RG is made active when 4 bytes of “O00” or “FF” are de- tected. The FD179X must find an address mark within the next 16 bytes, otherwise RG is reset and search resumes. During read operations (WG = 0), the VFOE (Pin 33) is provided for phase lock loop synchronization. VFOE will go active when: a) Both HLT and HLD are True b) Settling Time, if programmed, has expired c) The 179X is inspecting data off the disk lf WF/VFOE is not used, leave open or tie to a 10K resistor to +5. DISK WRITE OPERATION When writing is to take place on the diskette the Write Gate (WG) output is activated, allowing current to flow into the Read/Write head. As a precaution to erroneous writing the first data byte must be loaded into the Data Register in response to a Data Request from the FD179X before the Write Gate signal can be activated. Writing is inhibited when the Write Protect input is a logic low, in which case any Write command is im- mediately terminated, an interrupt is generated and the Write Protect status bit is set. The Write Fault in- put, when activated, signifies a writing fault condition detected in disk drive electronics such as failure to detect write current flow when the Write Gate is acti- vated. On detection of this fault the FD179X termi- nates the current command, and sets the Write Fault bit (bit 5) in the Status Word. The Write Fault input should be made inactive when the Write Gate output becomes inactive. For write operations, the FD179X provides Write Gate (Pin 30) and Write Data (Pin 31) outputs. Write data consists of a series of 500 ns pulses in FM (DDEN = 1) and 250 ns pulses in MFM (DDEN = 0). Write Data provides the unique address marks in both formats. Also during write, two additional signals are provided for write precompensation. These are EARLY (Pin 17) and LATE (Pin 18). EARLY is active true when the WD pulse appearing on (Pin 30) is to be written early. LATE is active true when the WD pulse is to be written LATE. !f both EARLY and LATE are low when the WD pulse is present, the WD pulse is to be written at nominal. Since write precompensation values vary from disk manufacturer to disk manufacturer, the actual . value is determined by several one shots or delay lines which are located external to the FD179X. The write precompensation signals EARLY and LATE are valid for the duration of WD in both FM and MFM formats. Whenever a Read or Write command (Type !I or Ill) is received the FD179X samples the Ready input. If this input is logic low the command is not executed and an interrupt is generated. All Type | commands are performed regardless of the state of the Ready input. Also, whenever a Type II or II! command is re- ceived, the TG43 signal output is updated. COMMAND DESCRIPTION The FD179X will accept eleven commands. Com- mand words should only be loaded in the Command Register when the Busy status bit is off (Status bit 0). The one exception is the Force Interrrupt command. Whenever a command is being executed, the Busy status bit is set. When a command is completed, an interrupt is generated and the Busy status bit is re- set. The Status Register indicates whether the com- pleted command encountered an error or was fault free. For ease of discussion, commands are divided into four types. Commands and types are sum- marized in Table 2. Table 2. COMMAND SUMMARY BITS S = 0 Update SSO to 0 TYPE COMMAND 76543210 S = 1 Update SSO to 1 Restore O00 OHV it (F,) b = Sector Length Flag { Seek O00 1AV I th Step OO1uHVYE fo (Bit 3, 1975/7 only) I Step In 010uHV ON fo | Step Out O1TunV A fo Sector Length Field if Read Sector 100mF>F,EF, 0 00 01 10 1" I Write Sector 101m*>F,EF, ao nT Read Address 171000E00 b=0 256 512 1024 128 il Read Track 11100€E00 Il Write Track 11710600 b=4 128 | 256 512 | 1024 IV Force Interrrupt 1107& bh hy bo Table 4. FLAG SUMMARY TYPE I! & Ill COMMANDS m = Multiple Record flag (Bit 4) m= 0, Single Record m = 1, Multiple Records a) = Data Address Mark (Bit 0) @ = 0, FB (Data Mark) a = 1, F8 (Deleted Data Mark) E = 15 ms Delay (2MHz) E = 1, 15 ms delay E = 0, no 15 ms delay (F,) S = Side Select Flag (1791/3 only) S = 0, Compare for Side 0 S = 1, Compare for Side 1 (F:) C = Side Compare Flag (1791/3 only) C = 0, disable side select compare C = 1, enable side select compare (F,) S = Side Select Flag (Bit 1, 1795/7 only) Note: Bits shown in TRUE form. Table 3. FLAG SUMMARY TYPE | COMMANDS h = Head Load Flag (Bit 3) h = 1, Load head at beginning h = 0, Unload head at beginning V_= Verify flag (Bit 2) V = 1, Verify on destination track V = 0, No verify rifo = Stepping motor rate (Bits 1-0) Refer to Table 1 for rate summary u = Update flag (Bit 4) u = 1, Update Track register u = 0, No update Table 5. FLAG SUMMARY TYPE IV COMMAND li = Interrupt Condition flags (Bits 3-0) 10 = 1, Not-Ready to Ready Transition 11 = 1, Ready to Not-Ready Transition 2 = 1, Index Pulse I3 = 1, Immediate Interrupt Ig -lg = 0, Terminate with no Interrupt TYPE | COMMANDS The Type | Commands include the Restore, Seek, Step, Step-In, and Step-Out commands. Each of the Type | Commands contains a rate field (ror), which determines the stepping motor rate as defined in Table 1. The Type | Commands contain a head load flag (h) which determines if the head is to be loaded at the beginning of the command. If h = 1, the head is loaded at the beginning of the command (HLD output is made active). If h = 0, HLD is deactivated. Once the head is loaded, the head will remain engaged until the FD179X receives a command that specifi- cally disengages the head. If the FD179X is idle (busy = 0) for 15 revolutions of the disk, the head will be automatically disengaged (HLD made inactive). The Type | Commands also contain a verification (V) flag which determines if a verification operation is to take place on the destination track. If V = 1, a verifi- cation is performed, if V = 0, no verification is per- formed. During verification, the head is loaded and after an internal 15 ms delay, the HLT input is sampled. When HLT is active (logic true), the first encountered ID field is read off the disk. The track address of the ID field is then compared to the Track Register, if there is a match and a valid ID CRC, the verification is complete, an interrupt is generated and the Busy status bit is reset. !f there is not a match but there is valid ID CRC, an interrupt is generated, and Seek Error Status bit (Status bit 4) is set and the Busy status bit is reset. If there is a match but not a valid CRC, the CRC error status bit is set (Status bit 3), and the next encountered !D field is read from the disk for the verification operation. If an ID field with a valid CRC cannot be found after four revolutions of the disk, the FD179X terminates the operation and sends an interrupt, (INTRQ). The Step, Step-In, and Step-Out commands contain an Update flag (U). When U = 1, the track register is updated by one for each step. When U = 0, the track register is not updated. On the 1795/7 devices, the SSO output is not affected during Type 1 commands, and an internal side com- pare does not take place when the (V) Verify Flag is HAS A TYPE! COMMAND BEEN RECEIVED * SET BUSY. RESET CRC. SEEK ERROR, DRO. INTRO oan SET MLO AESET HLO Command ster. IN SET DIRECTION RESET OIRECTION 7 RESTORE : Oo © TYPE ! COMMAND FLOW on. | DR TO DSR | SET DIRECTION is HEAD AT TRACK 0 AND DIRECTION =O ISSUE ONE STEP PULSE t DELAY ACCORDING TO R1. AG FIELD ‘COMMAND ‘A STEP. STEP-IN. OR STEP-OUT, ? YES TYPE | COMMAND FLOW RESTORE (SEEK TRACK 0) Upon receipt of this command the Track 00 (TROO) input is sampled. If TROO is active low indicating the Read-Write head is positioned over track 0, the Track Register is loaded with zeroes and an interrupt is generated. If TROO is not active tow, stepping pulses (pins 15 to.16) at a rate specified by the rro field are issued until the TROO input is activated. At this time the Track Register is loaded with zeroes and an interrupt is generated. If the TROO input does not go active low after 255 stepping pulses, the FD179X terminates op- eration, interrupts, and sets the Seek error status bit. A verification operation takes piace if the V flag is set. The h bit allows the head to be loaded at the start of command. Note that the Restore command is executed when MR goes from an active to an inac- tive state. INTAQ RESET BUSY INTAQ. RESET BUSY SET SEEM ERROA HAS 1D AM BEEN DETECTED ? INTRO AESET BUSY —— NOTE SF TEST © THERE 15 NO 15MS DELAY WETEST 1 ANO CLK 7 Mite THERE IS & 20MS DELAY TYPE | COMMAND FLOW 10 SEEK This command assumes that the Track Register con- tains the track number of the current position of the Read-Write head and the Data Register contains the desired track number. The FD179X will update the Track register and issue stepping pulses in the ap- propriate direction unti! the contents of the Track re- gister are equal to the contents of the Data Register (the desired track location). A verification operation takes place if the V flag is on. The h bit allows the head to be loaded at the start of the command. An interrupt is generated at the completion of the com- mand. STEP Upon receipt of this command, the FD179X issues one stepping pulse to the disk drive. The stepping motor direction is the same as in the previous step command. After a delay determined by theriro field, a verification takes place if the V flag is on. If the u flag is on, the Track Register is updated. The h bit allows the head to be loaded at the start of the command. An interrupt is generated at the completion of the command. STEP-IN Upon receipt of this command, the FD179X issues one stepping pulse in the direction towards track 76. if the u flag is on, the Track Register is incremented by one. After a delay determined by the mri field, a verification takes place if the V flag is on. The h bit allows the head to be loaded at the start of the command. An interrupt is generated at the comple- tion of the command. STEP-OUT Upon receipt of this command, the FD179X issues one stepping pulse in the direction towards track 0. If the u flag is on, the Track Register is decremented by one. After a delay determined by the miro field, a ver- ification takes place if the V flag is on. The h bit al- lows the head to be loaded at the start of the com- mand. An interrupt is generated at the completion of the command. TYPE i! COMMANDS The Type !1 Commands are the Read Sector and Write Sector commands. Prior to loading the Type Il Command into the Command Register, the computer must load the Sector Register with the desired sector number. Upon receipt of the Type Il command, the busy status Bit is set. If the E flag = 1 (this is the normal case) HLD is made active and HLT is sam- pled after a 15 msec delay. If the E flag is 0, the head is loaded and HLT sampled with no 15 msec delay. The ID field and Data Field format are shown on page 13. When an ID field is located on the disk, the FD179X compares the Track Number on the ID field with the Track Register. !f there is not a match, the next en- countered ID field is read and a comparison is again made. If there was a match, the Sector Number of the ID field is compared with the Sector Register. If there is not a Sector match, the next encountered ID field is read off the disk and comparisons again made. If the 1D field CRC is correct, the data field is then located and will be either written into, or read from depending upon the command. The FD179X must find an ID field with a Track number, Sector number, side number, and CRC within four revolutions of the disk; otherwise, the Record not found status bit is set (Status bit 3) and the command is terminated with an interrupt. ENTER is TYPE COMMAND RECEIVED ? NO ves SET BUSY, RESET DRO. LOST DATA. RECORD NOT FOUND. & STATUS BITS 5 & 6 INTRO INTAQ RESET BUSY y, YES COPY 'S’ FLAG $SO LINE (17957 ONLY) ' i3 TO SET HLD NO YES *SEE NOTE HAS 15 MS * EXPIRED ? SET TG43 RESET TG43 INTRO, RESEY BUSY SET WRITE PROTECT *NOTE TEST 0 THERE IS. NO 15MS DELAY TEST 1 AND CLK 1 MHz THERE 1S 30MS DELAY Sector Length Table Sector Length Number of Bytes Field (hex) in Sector (decimal) 00 128 01 256 02 §12 03 1024 Each of the Type I! Commands contains an (m) flag which determines if multiple records (sectors) are to be read or written, depending upon the command. If m = 0, a single sector is read or written and an inter- rupt is generated at the completion of the command. lf m = 1, multiple records are read or written with the sector register internally updated so that an address verification can occur on the next record. The FD179X will continue to read or write multiple records and update the sector register until the sector regis- V HAVE S INDEX HOLES PASSED INTAQ. RESET BUSY SET RECORD-NOT FOUND, HAS NO tDAM BEEN DETECTED 7 DOES TR = TRACK ADDRESS OF ID FIELD ? NO DOI SR = SECTOR AODRESS OF ID NO NO BRING IN SECTOR LENGTH FIELO STORE LENGTH IN INTERNAL REGISTER IS THERE A CRC ERROR ? SET CAC YES STATUS ERROR TYPE Il COMMAND TYPE it COMMAND ter exceeds the number of sectors on the track or until the Force Interrupt command is loaded into the Command Register, which terminates the command and generates an interrupt. If the Sector Register exceeds the number of sectors on the track, the Record-Not-Found status bit will be set. The Type Il commands also contain side select com- pare flags. When C = 0, no side comparison is made. When C = 1, the LSB of the side number is read off the ID Field of the disk and compared with the contents of the (S) flag. If the S flag compares with the side number recorded in the ID field, the 179X continues with the ID search. If a comparison is not made within 5 index pulses, the interrupt line is made active and the Record- Not-Found status bit is set. The 1795/7 READ SECTOR and WRITE SECTOR com- mands include a ‘b’ flag. The ‘b’ flag, in conjunction with the sector length byte of the ID Field, allows different byte lengths to be implemented in each sector. For IBM compatability, the ‘b’ flag should be set to a one. The ‘s’ flag allows direct control over the SSO Line (Pin 25) and is set or reset at the beginning of the command, dependent upon the value of this flag. READ SECTOR Upon receipt of the Read Sector command, the head is loaded, the Busy status bit set, and when an ID field is encountered that has the correct track number, correct sector number, correct side number, and correct CRC, the data field is presented to the computer. The Data Address Mark of the data field must be found within 30 bytes in single density and 43 bytes in double density of the last ID field CRC byte; if not, the Record Not Found status bit is set and the operation is terminated. When the first character or byte of the data field has been shifted through the DSR, it is transferred to the DR, and DRQ is generated. When the next byte is accumulated in the DSR, it is transferred to the DR and another DRQ is generated. If the Computer has not read the previous contents of the DR before a new character is transferred that character is lost and INTRO. RESET BUSY SEY RECOAD-NOT FOUND YES PUT RECORD TYPE IN STATUS REG BIT 5 NO HAS NEXT BYTE BEEN ASSEMBLED iN OSR ? SET DATA ALL BYTES BEEN INPUTTED ? *1T0 SECTOR REG INTRO. RESET BUSY SET CAC ERROR INTRO RESET BUSY v f DELAY 2 BYTES OF GAP | SET ORO | i DELAY & BYTES OF GaP a OR BEEN LOADED By COMPUTER INTRO. RESET BUSY SET LOST DATA (ORG = 0 ? ves AY T! if GAP DDEN | DELAY 1 BYTE OF G. 77) DES ves TURN ON WG 8 WRITE 6 BYTES OF ZEROS DELAY 11 BYTES WRITE DATA AM ACCORDING TO AQ FIELO ano ns OF cenOs” OF WRITE COMMAND —>4 OR TO OSA. SET DRO | WRITE SYTE TO DISK | SET DATA LOST WRITE BYTE Of ZEROS HAVE ALL BYTES BEEN WRITTEN ? WRITE CRC _ 1 WRITE 1 BYTE OF FF TURN OFF WG U PI LILO LT TYPE tl COMMAND 12 TYPE Il COMMAND the Lost Data Status bit is set. This sequence con- tinues until the complete data field has been inputted to the computer. If there is a CRC error at the end of the data field, the CRC error status bit is set, and the command is terminated (even if it is a multiple record command). At the end of the Read operation, the type of Data Address Mark encountered in the data field is re- corded in the Status Register (Bit 5) as shown below: STATUS BIT 5 1 Deleted Data Mark 0 Data Mark WRITE SECTOR Upon receipt of the Write Sector command, the head is loaded (HLD active) and the Busy status bit is set. When an ID field is encountered that has the correct track number, correct sector number, correct side num- ber, and correct CRC, a DRQ is generated. The FD179X counts off 11 bytes in single density and 22 bytes in double density from the CRC field and the Write Gate (WG) output is made active if the DRQ is serviced (i.e., the DR has been loaded by the computer). If DRQ has not been serviced, the command is terminated and the Lost Data status bit is set. IT Ine Unw tas voe.. _- viced, the WG is made active and six bytes of zeros in single density and 12 bytes in double density are then written on the disk. At this time the Data Ad- dress Mark is then written on the disk as determined by the ao field of the command as shown below: ao Data Address Mark (Bit 0) 1 Deleted Data Mark 0 Data Mark The FD179X then writes the data field and generates DRQ's to the computer. if the DRQ is not serviced in time for continuous writing the Lost Data Status Bit is set and a byte of zeros is written on the disk. The command is not terminated. After the last data byte has been written on the disk, the two-byte CRC is computed internally and written on the disk followed by one byte of logic ones in FM or in MFM. The WG output is then deactivated. TYPE Ill COMMANDS READ ADDRESS Upon receipt of the Read Address command, the head is loaded and the Busy Status Bit is set. The next encountered ID field is then read in from the disk, and the six data bytes of the ID field are as- sembled and transferred to the DR, and a DRQ is generated for each byte. The six bytes of the ID field are shown below: TRACK SIDE SECTOR | SECTOR | CRC | CRC ADDR | NUMBER | ADDRESS | LENGTH 1 2 1 2 3 4 5 6 Although the CRC characters are transferred to the computer, the FD179X checks for validity and the CRC error status bit is set if there is a CRC error. The Track Address of the ID field is written into the sector register. At the end of the operation an inter- rupt is generated and the Busy Status is reset. READ TRACK Upon receipt of the Read Track command, the head is loaded and the Busy Status bit is set. Reading starts with the leading edge of the first encountered uidex pulse and continues until the next index pulse. As each byte is assembled it is transferred to the Data Register and the Data Request is generated for each byte. No CRC checking is performed. Gaps are included in the input data stream. The accumulation of bytes is synchronized to each Address Mark en- countered. Upon completion of the command, the in- terrupt is activated. RG is not activated during the Read Track Command. An internal side compare is not performed during a Read Track. WRITE TRACK Upon receipt of the Write Track command, the head is loaded and the Busy Status bit is set. Writing starts with the leading edge of the first encountered index pulse and continues until the next index pulse, at which time the interrupt is activated. The Data Re- quest is activated immediately upon receiving the command, but writing wil! not start until after the first byte has been loaded into the Data Register. If the DR has not been loaded by the time the index pulse is encountered the operation is terminated making the device Not Busy, the Lost Data Status Bit is set, and the Interrupt is activated. If a byte is not present in the DR when needed, a byte of zeros is substi- tuted. Address Marks and CRC characters are writ- ten on the disk by detecting certain data byte pat- terns in: the outgoing data stream as shown in the table below. The CRC generator is initialized when any data byte from F8 to FE is about to be transfer- ted from the DR to the DSR in FM or by receipt of F5 in MFM. GAP| ID | TRACK SIDE |SECTOR;SECTOR |CRCiCRC|GAP | DATA CRC | CRC Wi! | AM] NUMBER |NUMBER/NUMBER|LENGTH} 1 2 I AM |DATAFIELD}] 1 | 2 ID FIELD DATA FIELD In MFM only, IOAM and DATA AM are preceded by three bytes of A1 with clock transition between bits 4 and 5 missing. 13 == <> Yes wc YES {MFM} SET BUSY RESET ORO LOST DATA STATUS BITS 4.5 YES ‘ INTRO AESET BUSY COPY 'S’ FLAG TO SSO LINE (17957 ONLY) ‘ [ene] ’ <> VES HAS 15 MS EXPIRED 2 YES ves TG43 UPDATE NO INTRO RESET BUSY SET WPAT GELAY 3 OYTE TIMES SET INTRO NO HAS LOST DATA DRO BEEN RESET BUSY SERVICE ves OR TO OSR DOES YES WRITE 2 CAC OSA + f7 CHARS. CLK + FF > NO DOES YES WRITE FC OSA = FC CLK: O7 ? NO FE OR DOES ¥ WRITE FO, DSA = FD. FE. ES F8-FB. CLK = C7 ~ OR FEB INITIALIZE CRC * NO WRITE OSR CLK: FF — PHYS INTRG RESET BUSY INDEX MARK ? NO yas WAITE YTE OF ZERO! DA BEEN BYTE OF ZEROS LOADED? SET DATA LOST WRITE AT IN MFM WITH CLOCK INITIALIZE CAC WRITE C2° IN MFM IWITH MISSING CLOCK! WRITE 2 CRC CHARS WRITE OSA IN MEM ~~ TYPE Ili COMMAND WRITE TRACK TYPE Ii! COMMAND WRITE TRACK CONTROL BYTES FOR INITIALIZATION DATA PATTERN IN DR (HEX) FD179X INTERPRETATION IN FM (DDEN = 1) FD1791/3 INTERPRETATION IN MEM (ODEN = 0) 00 thru F4 F8 thru FB FC FD FE FF Write 00 thru F4 with CLK = FF Not Allowed Not Allowed Generate 2 CRC bytes Write 00 thru F4, in MFM Write A1* in MFM, Preset CRC Write C2** in MFM Generate 2 CAC bytes Write F8 thru FB, Clk = C7, Preset CRC Write F8 thru FB, in MFM Write FC with Clk = D7 Write FD with Clik = FF Write FE, Cik = C7, Preset CRC Write FF with Cik = FF Write FC in MFM Write FD in MFM Write FE in MFM Write FF in MFM *Missing clock transition between bits 4 and 5 14 **Missing clock transition between bits 3 & 4 C=) | SET BUSY RESET STATUS BITS 2, 4,5 NO INTRO RESET BUSY > YES SHIFT ONE BIT INTO DSR COPY'S FLAG TO SSO LINE (1798/7 ONLY) YES SET INTRO INDEX PULSE RESET BUSY +) SET HLD NO ADDRESS YES MARK DETECTEC ? NO NO YES HAVE 8 : | Pa BITS BEEN ASSEMBLED DELAY 15MS° ? YES < >it NO 1S OR NO SET LOST mee ; EMPTY DATA BIT ; ? Y YES ES TG43 UPDATE TRANSFER DSR TO DA READ NO TRACK SET ? DRA READ Y ES ADDRESS A B “HW TEST= 9 NO DELAY TYPE itl COMMAND H TEST=1 and CLK=1 MHZ, 30 MS DELAY Read Track/Address 15 RESET BUSY SET INTRO SET RNF IOAM BEEN DETECTED ? Y SHIFT 1 BYTE INTO DSR TRANSFER BYTE TO OR SET DRO HAVE 6 BYTES BEEN READ ? TRANSFER TRACK NUMBER TO SECTOR REGISTOR CRC YES SET CRC EAROR ERROR BIT NO <= SET INTRO RESET BUSY TYPE li] COMMAND Read Track/Address 16 TYPE IV COMMAND FORCE INTERRUPT This command can be loaded into the command re- gister at any time. If there is a current command under execution (Busy Status Bit set), the command will be terminated and an interrupt will be generated when the condition specified in the lo through Is field is detected. The interrupt conditions are shown be- low: lo = Not-Ready-To-Ready Transition lr = Ready-To-Not-Ready Transition le = Every Index Pulse Is = immediate Interrupt (requires reset, see Note) NOTE: If lo — Is = 0, there is no interrupt generated but the current command is terminated and busy is reset. This is the only command that will enable the immediate interrupt to clear on a subse- quent Load Command Register or Read Status Register. STATUS DESCRIPTION Upon receipt of any command, except the Force In- terrupt command, the Busy Status bit is set and the rest of the status bits are updated or cleared for the new command. If the Force Interrupt Command is received when there is a current command under execution, the Busy status bit is reset, and the rest of the status bits are unchanged. If the Force Interrupt command is received when there is not a current command under execution, the Busy Status bit is reset and the rest of the status bits are updated or cleared. In this case, Status reflects the Type | com- mands. The format of the Status Register is shown below: (BITS) 77,675 )]4%13~72)]1~/1~0 s7_| se | s5 { s4 | s3 [ s2 [st | so Status varies according to the type of command exe- cuted as shown in Table 6. FORMATTING THE DiSK (Refer to section on Type IIl commands for flow diag- rams.) Formatting the disk is a relatively simple task when operating programmed I/O or when operating under Formatting the disk is accomplished by positioning the R/W head over the desired track number and is- suing the Write Track command. Upon receipt of the Write Track command, the FD179X raises the Data Request signal. At this point in time, the user loads the data register with desired data to be written on the disk. For every byte of information to be written on the disk, a data request is generated. This sequ- ence continues from one index mark to the next index mark. Normally, whatever data pattern appears in the data register is written on the disk with a nor- mal clock pattern. However, if the FD179X detects a data pattern of F5 thru FE in the data register, this is interpreted as data address marks with missing clocks or CRC generation. For instance, in FM an FE pattern will be interpreted as an 1D address mark (DATA-FE, CLK-C7) and the CRC will be initialized. An F7 pattern will generate two CRC characters in FM or MFM. As a consequence, the patterns F5 thru FE must not appear in the gaps, data fields, or ID fields. Also, CRC’s must be generated by an F7 pat- tern. Disks may be formatted in IBM 3740 or System 34 formats with sector lengths of 128, 256, 512, or 1024 bytes. IBM 3740 FORMAT—128 BYTES/SECTOR Shown below is the IBM single-density format with 128 bytes/sector. In order to format a diskette, the user must issue the Write Track command, and load the data register with the following values. For every byte to be written, there is one data request. NUMBER HEX VALUE OF OF BYTES BYTE WRITTEN 40 FF (or 00)! 6 00 1 FC (Index Mark) 26 FF (or 00) 6 00 1 FE (ID Address Mark) 1 Track Number 1 Side Number (00 or 01) 1 Sector Number (1 thru 1A) 1 00 1 F7 (2 CRC’s written) 11 FF (or 00) 6 00 1 FB (Data Address Mark) 128 Data (IBM uses E5) 1 F7 (2 CRC’s written) 27 FF (or 90) 247** FF (or 00) *Write bracketed field 26 times *“Continue writing until FD179X interrupts out. Approx. 247 bytes. 1-Optiona! ‘00’ on 1795/7 only. PMrSIC A IMDER | Sb BYTES Fm S72 BTTES MEM aa INDEX ADDRESS MARK + Gary cr TES wry GaP: ar POST NOEX 1 2 BYTES 32 BYTE FM we lb? BYTES MEM GaP? WO GAP IREVIES Fu BYTE MEM OatA Fie RECORD WO 'D BECORD omy NOt GaP Data GaP JIOYTE Fe 66 BYTE MEMO 0 RECORD NO 76 1D RECORL pe NO 3 GAP 4} pata FIELD Data FEL} RECORD @EcoRO NO} NO 2% fCAP? t TRACK NUMBER $iDE NUMBER SECTOR NUMBER SECTOR LENGTIA 10 a ADDHESS eves Mann CRE BYTE? cAac BYTET cAC USER Data Byte? —, CMISSING CLOCK TRANSITION 6 BETWEEN BITS «AND S MISSING CLOCK TRANSITION BETWEEN BITS 3 AND @ ae? —_---4 fu 11 BYTES vee 22 BYTES WAUTE GATE TURN ON FOR UPDATE JS Of MEET Data FELD 6 BYTES —o4 W2BYTES 0 fw Byte 22 AVTES o 3 sevit 3 \ —— WAITE TUAN OFF FOR UPDATE OF PREWIOUS DATA FIELD IBM TRACK FORMAT 17 IBM SYSTEM 34 FORMAT- 256 BYTES/SECTOR Shown below is the IBM dual-density format with 256 bytes/sector. in order to format a diskette the user must issue the Write Track command and load the data register with the following values. For every byte to be written, there is one data request. NUMBER HEX VALUE OF OF BYTES BYTE WRITTEN 80 4E 12 00 3 F6 1 FC (Index Mark) 50° 4E 12 00 3 F5 1 FE (ID Address Mark) 1 Track Number (0 thru 4C) 1 Side Number (0 or 1) 1 Sector Number (1 thru 1A) 1 01 1 F7 (2 CRCs written) 22 4E 12 00 3 F5 1 FB (Data Address Mark) 256 DATA 1 F7 (2 CRCs written) 54 4E 598** 4E * Write bracketed field 26 times **Continue writing until FD179X interrupts out. Approx. 598 bytes. ELECTRICAL CHARACTERISTICS MAXIMUM RATINGS Voo With Respect to Vss (Ground) =15 to —0.3V Max. Voltage to Any Input With =15 to —0.3V Respect to Vss Vop = !D ma Nominal Veco = 35 ma Nominal OPERATING CHARACTERISTICS (DC) Operating Temperature Storage Temperature 1. NON-IBM FORMATS Variations in the IBM format are possible to a limited extent if the following requirements are met: sector size must be a choice of 128, 256, 512, or 1024 bytes; gap size must be according to the following table. Note that the Index Mark is not required by the 179X. The minimum gap sizes shown are that which is required by the 179X, with PLL lock-up time, motor speed variation, etc., adding additional bytes. FM MFM Gap | 16 bytes FF 32 bytes 4E Gap Il 11 bytes FF 22 bytes 4E * 6 bytes 00 12 bytes 00 3 bytes Al Gap III 10 bytes FF 24 bytes 4E 3 bytes A1 +e 4 bytes 00 8 bytes 00 Gap IV 16 bytes FF 16 bytes 4E *Byte counts must be exact. **Byte counts are minimum, except exactly 3 bytes of A1 must be written. O°C to 70°C —§5°C to +125°C TA = 0°C to 70°C, Von = + 12V + .6V, Vss = OV, Vec = + 5V + .25V SYMBOL CHARACTERISTIC MIN. MAX. UNITS | CONDITIONS In Input Leakage 10 pA Vin = Vop lou Output Leakage 10 pA Vout = Voo Vin Input High Voltage 2.6 Vv Vii Input Low Voltage 0.8 Vv Von Output High Voltage 2.8 V lo = — 100 vA Vor Output Low Voltage 0.45 Vv lo=1.6 mA Po Power Dissipation 0.5 WwW TIMING CHARACTERISTICS Ta = 0°C to 70°C, Voo = + 12V = .6V, Vss = OV, Vec = +5V + .25V READ ENABLE TIMING SYMBOL CHARACTERISTIC MIN. TYP. MAX. | UNITS | CONDITIONS TSET Setup ADDR & CS to RE_ 50 nsec THLD Hoid ADDR & CS from RE 10 nsec TRE RE Pulse Width 400 nsec Ci = 50 pf TDRR DRQ Reset from RE_ 400 500 nsec TIRR INTRQ Reset from RE 500 3000 nsec See Note 5 TDACC Data Access from RE 350 nsec Ci = 50 pf TDOH Data Hold From RE 50 150 nsec C. = 50 pf = ~ 16° OR 32° uS J tone ; | [von pro 4 ’ ' —— Tian: ———o] TRO Q ! ‘SERVICE pe— TH vou A0. AI. CS o | | vit j—a— TRE —om RE Vin Tser -o— ej TOACC po DATA iDATY vaup f hoof NOTE 1 TS MAY BE PERMANENTLY TIED LOW IF DESIRED “TIME DOUBLES WHEN CLOCK = 1MHz 1 SEAVICE {WORST CASE} “FM = 27.5 uS "MFM = 135 US READ ENABLE TIMING 19 WRITE ENABLE TIMING SYMBOL CHARACTERISTIC MIN. TYP. MAX. UNITS | CONDITIONS TSET Setup ADDR & CS to WE_ 50 nsec THLD Hold ADDR & CS from WE 10 nsec TWE WE Puise Width __ 350 nsec TDRR DRQ Reset from WE _ 400 500 nsec TIRR INTRQ Reset from WE 500 3000 nsec See Note 5 TOS Data Setup to WE_ 250 nsec TDH Data Hold from WE 70 nsec INPUT DATA TIMING: SYMBOL CHARACTERISTIC MIN. TYP. MAX. UNITS | CONDITIONS Tpw Raw Read Pulse Width 100 200 nsec | See Note 1 tbc Raw Read Cycle Time 1500 nsec | 1800 ns @ 70°C Tc RCLK Cycle Time 1500 nsec | 1800 ns @ 70°C Tx RCLK hold to Raw Read 40 nsec | See Note 1 Tx2 Raw Read hold to RCLK 40 nsec SS 16° OR 32° uS | Ine [~ —_ }- Tora vo m7 is ata ORO 1 VOL Raw READ 1 — Tina: —-~-=| L| a INT Ra) ! Ver _ 7 RCLM ts -| te —- © AQ AT OS 2 we ol ae f Te —-| ‘ser on [ata must |____ NOMINAL | BE vauD | ee DISKETTE | MODE | DDEN | CLK | 7, T, T. —e| tos 8” MFM 0 2MHz]1us | 1 us | 2 us 8" FM 1 2MHz]2us | 2us | 4us AT LEAST 4 SEC IN MME AE TCR THE Pris ESN TE we 5” FM 1 1 MHz | 4 us | 4 us | 8 us | BEPICE WORST Case) SNOT VALID UNTIL SOME 20 NEC ON ERR Ta coo OEM “MEM 115uS LATER THESE TES ARE DOUBLED WHEN CLK = 1 MHz “TIME DOUBLES WHEN CLOCK = 1MHz WRITE ENABLE TIMING 20 INPUT DATA TIMING WRITE DATA TIMING: (ALL TIMES DOUBLE WHEN CLK = 1 MHz) SYMBOL CHARACTERISTICS MIN. TYP. MAX. UNITS | CONDITIONS Twp Write Data Pulse Width 450 500 550 nsec FM 150 200 250 nsec MFM Twg Write Gate to Write Data 2 psec FM 1 psec MFM Toc Write data cycle Time 2,3, 0r 4 psec +CLK Error Ts Early (Late) to Write Data 125 nsec MFM Th Early (Late) From 125 nsec MFM Write Data Twt Write Gate off from WD 2 psec FM 1 psec MFM Twdi WD Valid to Clk 100 nsec CLK=1 MHZ 50 nsec CLK=2 MHZ Twd2 WD Valid after CLK 100 nsec CLK=1 MHZ 30 nsec CLK=2 MHZ CLK (IMHZ) Kk 88 _ LLL. WLLLLLE CLK {2MHZ) | Twdi —| { | ie jg——— Twd2 WD | LLLLLLD Twdi —+| WRITE DATA/CLOCK RELATIONSHIP {DDEN= 0) | | LLL L~— Twd2 21 WRITE DATA TIMING MISCELLANEOUS TIMING: SYMBOL CHARACTERISTIC MIN. TYP. MAX. UNITS CONDITIONS TCD: Clock Duty (low) 230 250 20000 nsec TCDz Clock Duty (high) 200 250 20000 nsec TSTP Step Pulse Output 2or4 psec Note 5 TDIR Dir Setup to Step 12 psec pak ERROR TMR Master Reset Pulse Width 50 psec ~ TIP index Pulse Width 10 psec TWE Write Fault Pulse Width 10 sec See Note 5 — —elrc0 pme— 'CD _{ STEP IN ; oc vor vou [ Tom —ftstef_—afsre pe [= "oe ee kd vO. MISCELLANEOUS TIMING NOTES: 1. Pulse width on RAW READ (Pin 27) is normally 3. tbc should be 2 us, nominal in MFM and 4 ps nominal 100-300 ns. However, pulse may be any width if in FM. Times double when CLK = 1 MHz. pulse is.entirely within window. If pulse occurs in both 4. RCLK may be high or low during RAW READ (Polarity windows, then pulse width must be less than 300 ns is unimportant). tor MFM at CLK = 2 MHz and 600 ns for FM at 2 5. Times double when clock = 1 MHz. MHz. Times double for 1 MHz. 2. APPL Data Separator is recommended for 8” MFM. 22 Table 6. STATUS REGISTER SUMMARY ALL TYPE | READ READ READ WRITE WRITE BIT | COMMANDS ADDRESS SECTOR TRACK SECTOR TRACK S7 |NOT READY _|NOT READY NOT READY NOT READY |NOT READY |NOT READY S6 | WRITE 0 0 0 WRITE WRITE PROTECT PROTECT PROTECT S5 |HEAD LOADED 0 RECORD TYPE 0 WRITE FAULT | WRITE FAULT S4 |SEEK ERROR: |RNF RNF 0 RNEF 0 S3 |CRCERROR |CRC ERROR CRC ERROR 0 CRC ERROR 0 S2 |TRACK 0 LOST DATA LOST DATA LOST DATA |LOST DATA |LOST DATA $1 |INDEX DRQ DRQ DRQ DRQ DRQ SO_|BUSY BUSY BUSY BUSY BUSY BUSY STATUS FOR TYPE | COMMANDS BIT NAME MEANING $7 NOT READY This bit when set indicates the drive is not ready. When reset it indicates that the drive is ready. This bit is an inverted copy of the Ready input and logically ‘ored’ with MR. S6 PROTECTED When set, indicates Write Protect is activated. This bit is an inverted copy of WRPT input. 35 HEAD LOADED When set, it indicates the head is loaded and engaged. This bit is a iogical “and” of HLD and HLT signals. $4 SEEK ERROR When set, the desired track was not verified. This bit is reset to O when updated. S3 CRC ERROR CRC encountered in ID field. S2 TRACK 00 When set, indicates Read/Write head is positioned to Track 0. This bit is an inverted copy of the TROO input. $1 INDEX When set, indicates index mark detected from drive. This bit is an inverted copy of the IP input. SO BUSY When set command is in progress. When reset no command is in progress. STATUS FOR TYPE Il AND Ill COMMANDS BIT NAME MEANING S7 NOT READY This bit when set indicates the drive is not ready. When reset, it indicates that the drive is ready. This bit is an inverted copy of the Ready input and ‘ored’ with MR. The Type I! and Il! Commands will not execute unless the drive is ready. S6 WRITE PROTECT On Read Record: Not Used. On Read Track: Not Used. On any Write: It indicates .a Write Protect. This bit is reset when updated. S5 RECORD TYPE/ WRITE FAULT On Read Record: It indicates the record- -type code from data field address mark. 1 = Deleted Data Mark. 0 = Data Mark. On any Write: It indicates a Write Fault. This bit is reset when updated. S4 RECORD NOT FOUND (RNF) When set, it indicates that the desired track, sector, or side were not found. This bit is reset when updated. $3 CRC ERROR if S4 is set, an error is found in one or more !D fields; otherwise it indicates error in data field. This bit is reset when updated. S2 LOST DATA When set, it indicates the computer did not respond to DRQ in one byte time. This bit is reset to zero when updated. $1 DATA REQUEST This bit is a copy of the DRQ output. When set, it indicates the DR is full on a Read Operation or the DR is empty on a Write operation. This bit is reset to zero when up- dated. SO BUSY When set, command is under execution. When reset, no command is under execution. 23 eocoooonooee son oo ooo —_—- OANninninnannnionnnn D B10 D DOT 200 2.025 MAX i” F X 035 je “FT 040 ; oon oo Mn 20 | i O88 _y}. -O14 125 -3-| MIN iis ote MIN ‘B00 FD179XA-02 CERAMIC PACKAGE FD179XB-02 PLASTIC PACKAGE This is a preliminary specification with tentative device parameters and may be subject to change after final product characterization is completed. Information furnished by Westem Digital Corporation is believed to be accurate and reliable. However, no responsibility is assumed by Western Digital Corporation for its use; nor 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 Corporation reserves the right to change said circuitry at anytime without notice. WESTERN OIGITAL 3128 REOHILL AVENUE, BOX 2180 cof ep Oo RAT Fo NEWPORT BEACH, CA 92663 (714) 557-3550, TWX 910-595-1139