![](http://datasheet.mmic.net.cn/370000/IT8673F_datasheet_16700861/IT8673F_76.png)
IT8673F
11.4.11 Data Transfer Commands
All data transfer commands utilize the same parameter bytes (except for FORMAT A TRACK command)
and return the same result data bytes. The only difference between them is the five bits (0
4) of the first
byte.
6
11.4.11.1
The READ DATA command contains nine command bytes that place the FDC into the Read Data mode.
Each READ operation is initialized by a READ DATA command. The FDC locates the sector to be read by
matching ID Address Marks and ID fields from the command with the information on the diskette. The FDC
then transfers the data to the FIFO. When the data from the given sector has been read, the READ DATA
command is completed and the sector address is automatically incremented by “1”. The data from the next
sector is read and transferred to the FIFO in the same manner. Such a continuous Read function is called a
"Multi-Sector Read Operation".
If a TC or an implied TC (FIFO overrun/underrun) is received, the FDC stops sending data, but continues to
read data from the current sector and checks the CRC bytes until the end of the sector is reached and the
READ operation is completed.
The sector size is determined by the N parameter value as calculated in the equation below:
Sector Size = 2
bytes.
The DTL parameter determines the number of bytes to be transferred. Therefore, if N = 00h, setting the
sector size to 128 and the DTL parameter value is less than this, the remaining bytes will be read and
checked for CRC errors by the FDC. If this occurs in a WRITE operation, the remaining bytes will be filled
with 0. If the sector size is not 128 (N > 00h), DTL should be set to FFh.
In addition to performing Multi-Sector Read operations, the FDC can perform Multi-Track Read operations.
When the MT parameter is set, the FDC can read both sides of a disk automatically.
The combination of N and MT parameter values determines the amount of data that can be transferred
during either type of READ operation. Table 11-16 shows the maximum data transfer capacity and the final
sector the FDC reads based on these parameters.
READ DATA
Table 11-16. Effects of MT and N Bits
MT
N
Maximum Transfer Capacity
Final Sector Read from Disk
0
1
256 X 26 = 6656
26 on side 0 or side 1
1
1
256 X 52 = 13312
26 on side 1
0
2
512 X 15 = 7680
15 on side 0 or side 1
1
2
512 X 30 = 15360
15 on side 1
0
3
1024 X 8 = 8192
8 on side 0 or side 1
1
3
1024 X16 =16384
16 on side 1