FDC37B78X SMSC Corporation, FDC37B78X Datasheet - Page 28

no-image

FDC37B78X

Manufacturer Part Number
FDC37B78X
Description
Enhanced Super I/O Controller with ACPI Support/ Real Time Clock and Consumer IR
Manufacturer
SMSC Corporation
Datasheet
MAIN STATUS REGISTER
Address 3F4 READ ONLY
The Main Status Register is a read-only register
and indicates the status of the disk controller.
The Main Status Register can be read at any
BIT 0 - 1 DRV x BUSY
These bits are set to 1s when a drive is in the
seek portion of a command, including implied
and overlapped seeks and recalibrates.
BIT 4 COMMAND BUSY
This bit is set to a 1 when a command is in
progress.
command byte has been accepted and goes
inactive at the end of the results phase. If there
is
commands), this bit is returned to a 0 after the
last command byte.
BIT 5 NON-DMA
This
command and will be set to a 1 during the
execution phase of a command.
polled data transfers and helps differentiate
between the data transfer phase and the reading
of result bytes.
BIT 6 DIO
Indicates the direction of a data transfer once a
RQM is set.
indicates a write is required.
BIT 7 RQM
Indicates that the host can transfer data if set to
a 1. No access is permitted if set to a 0.
no
mode
result
RQM
This bit will go active after the
7
is
A 1 indicates a read and a 0
phase
selected
DIO
6
(Seek,
in
NON
DMA
the
5
Recalibrate
This is for
SPECIFY
BUSY
CMD
4
28
Reserved Reserved
time.
controller is ready to receive data via the Data
Register. It should be read before each byte
transferring to or from the data register except in
DMA mode. No delay is required when reading
the MSR after a data transfer.
DATA REGISTER (FIFO)
Address 3F5 READ/WRITE
All command parameter information, disk data
and result status are transferred between the
host processor and the floppy disk controller
through the Data Register.
Data transfers are governed by the RQM and
DIO bits in the Main Status Register.
The Data Register defaults to FIFO disabled
mode after any form of reset. This maintains
PC/AT hardware compatibility.
values can be changed through the Configure
command (enable full FIFO operation with
threshold control). The advantage of the FIFO
is that it allows the system a larger DMA latency
without causing a disk error. TABLE 15 gives
several examples of the delays with a FIFO.
The data is based upon the following formula:
At the start of a command, the FIFO action is
always disabled and command parameters
must be sent based upon the RQM and DIO bit
settings. As the command execution phase is
entered, the FIFO is cleared of any data to
ensure that invalid data is not transferred.
Threshold # x
3
The MSR indicates when the disk
2
DATA RATE
1
BUSY
DRV1
1
x 8 - 1.5 µs = DELAY
BUSY
DRV0
0
The default

Related parts for FDC37B78X