intel 8271/8271-6 Disk Drive Interface The 8271 disk drive interface supports the high level command structure described in the Command Descrip- tion section. The 8271 maintains the location of bad tracks and the current track location for two drives. However, with minor software support, this interface can support four drives by expanding the two drive select lines (select 0, select 1) with the addition of minimal support hardware. The FDC Disk Drive Interface has the following major functions. READ FUNCTIONS Utilize the user supplied data window to obtain the clock and data patterns from the unseparated read data. Establish byte synchronization. Compute and verify the ID and data field CRCs. WRITE FUNCTIONS Encode composite write data. Compute the ID and data field CRCs and append them to their respective fields. CONTROL FUNCTIONS Generate the programmed step rate, head toad time, head settling time, head unload delay, and monitor drive functions. BATA SEPARATOR DATA WINDOW UNSEPARATEO DATA WRITE DATA +—f>e- —~ WRITE ENABLE Do SEEK/STEP DIRECTION COUNT/OF! (GAD HEAD +—f>o- ~~ INDEX puat 8271 FLOPPY FDC RACK 0 DISK ORIVE D SELECTS P ~ SELECT 1 > COW CURRENT WAITE PROTECT WRITE FAULT WAITE FAULT RESET/0PO +—P>-o— 9 READY 6 _ REAOV i NOTE: «tNPUTS TO CHIP MAY REQUIRE RECEIVERS {AT LEAST PULL UP/DOWN PAIRS). Figure 5. 8271 Disk Drive interface Data Separation The 8271 needs only a data window to separate the data from the composite read data as well as to detect missing clocks in the Address Marks. The window generation logic may be implemented using either a single-shot separator ora phase-locked oscillator. Single-Shot Separator The single-shot separator approach is the lowest cost solution, The FDC samples the value of Data Window on the leading edge of Unseparated Data and determines whether the delay from the previous pulse was a half or full bit-cell (high input = full bit-cell, low input = half bit-cell). PLO/SS should be tied to Ground. Insync Pin This pin gives an indication of whether the 8271 is synchronized with the serial data stream during read operations. This pin can be used with a phase-locked oscillator for soft and hard locking. FOUND SYNC & 1D MARK READ !0 FIELD BUT TRACK OR SECTOR INCORRECT f f / / FOUND SYNC & DATA MARK FOUND SYNC & DATA MARK NOT AN ID MARK READ DATA SECTOR FOUND SYNC & 1D MARK iO FIELD CORRECT AFN-002238