数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

PC97338VLJ 数据表(PDF) 85 Page - National Semiconductor (TI)

[Old version datasheet] Texas Instruments acquired National semiconductor.
部件名 PC97338VLJ
功能描述  ACPI 1.0 and PC98/99 Compliant SuperI/O
PDF  221 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  NSC [National Semiconductor (TI)]
网页  http://www.national.com
标志 NSC - National Semiconductor (TI)

PC97338VLJ 数据表(HTML) 85 Page - National Semiconductor (TI)

Back Button PC97338VLJ Datasheet HTML 81Page - National Semiconductor (TI) PC97338VLJ Datasheet HTML 82Page - National Semiconductor (TI) PC97338VLJ Datasheet HTML 83Page - National Semiconductor (TI) PC97338VLJ Datasheet HTML 84Page - National Semiconductor (TI) PC97338VLJ Datasheet HTML 85Page - National Semiconductor (TI) PC97338VLJ Datasheet HTML 86Page - National Semiconductor (TI) PC97338VLJ Datasheet HTML 87Page - National Semiconductor (TI) PC97338VLJ Datasheet HTML 88Page - National Semiconductor (TI) PC97338VLJ Datasheet HTML 89Page - National Semiconductor (TI) Next Button
Zoom Inzoom in Zoom Outzoom out
 85 / 221 page
background image
85
www.national.com
3.4
THE PHASES OF FDC COMMANDS
FDC commands may be in the command phase, the
execution phase or the result phase. The active
phase determines how data is transferred between
the Floppy Disk Controller (FDC) and the host micro-
processor. When no command is in progress, the
FDC may be either idle or polling a drive.
3.4.1
Command Phase
During the command phase, the microprocessor
writes a series of bytes to the Data Register (FIFO).
The first command byte contains the opcode for the
command, which the controller can interpret to deter-
mine how many more command bytes to expect. The
remaining command bytes contain the parameters re-
quired for the command.
The number of command bytes varies for each com-
mand. All command bytes must be written in the order
specified in the Command Description Table in Sec-
tion 3.6 on page 91. The execution phase starts im-
mediately after the last byte in the command phase is
written. Prior to performing the command phase, the
Digital Output Register (DOR) should be set and the
data rate should be set with the Data rate Select Reg-
ister (DSR) or the Configuration Control Register
(CCR).
The Main Status Register (MSR) controls the flow of
command bytes, and must be polled by the software
before writing each command phase byte to the Data
Register (FIFO). Prior to writing a command byte, bit
7 of MSR (RQM, Request for Master) must be set and
bit 6 of MSR (DIO, Data I/O direction) must be
cleared.
After the first command byte is written to the Data
Register (FIFO), bit 4 of MSR (CMD PROG, Com-
mand in Progress) is also set and remains set until the
last result phase byte is read. If there is no result
phase, the CMD PROG bit is cleared after the last
command byte is written.
A new command may be initiated after reading all the
result bytes from the previous command. If the next
command requires selection of a different drive or a
change in the data rate, the DOR and DSR or CCR
should be updated, accordingly. If the command is the
last command, the software should deselect the drive.
Normally, command processing by the controller core
and updating of the DOR, DSR, and CCR registers by
the microprocessor are operations that can occur in-
dependently of one another. Software must ensure
that the these registers are not updated while the con-
troller is processing a command.
3.4.2
Execution Phase
During the execution phase, the Floppy Disk Control-
ler (FDC) performs the desired command.
Commands that involve data transfers (e.g., read,
write and format operations) require the microproces-
sor to write or read data to or from the Data Register
(FIFO) at this time. Some commands, such as SEEK
or RECALIBRATE, control the read/write head move-
ment on the disk drive during the execution phase via
the disk interface signals. Execution of other com-
mands does not involve any action by the micropro-
cessor or disk drive, and consists of an internal
operation by the controller.
Data can be transferred between the microprocessor
and the controller during execution in DMA mode, in-
terrupt transfer mode or software polling mode. The
last two modes are non-DMA modes. All data transfer
modes work with the FIFO enabled or disabled.
DMA mode is used if the system has a DMA control-
ler. This allows the microprocessor to do other tasks
while data transfer takes place during the execution
phase.
If a non-DMA mode is used, an interrupt is issued for
each byte transferred during the execution phase. Al-
so, instead of using the interrupt during a non-DMA
mode transfer, the Main Status Register (MSR) can
be polled by software to indicate when a byte transfer
is required.
DMA Mode - FIFO Disabled
DMA mode is selected by writing a 0 to the DMA bit in
the SPECIFY command and by setting bit 3 of the
DOR (DMA enabled) to 1.
In the execution phase when the FIFO is disabled,
each time a byte is ready to be transferred, a DMA re-
quest (DRQ) is generated in the execution phase. The
DMA controller should respond to the DRQ with a
DMA acknowledge (DACK) and a read or write pulse.
The DRQ is cleared by the leading edge of the active
low DACK input signal. After the last byte is trans-
ferred, an interrupt is generated, indicating the begin-
ning of the result phase.
During DMA operations, FDC address signals are ig-
nored since AEN input signal is 1. The DACK signal
acts as the chip select signal for the FIFO, in this
case, and the state of the address lines A2-0 is ig-
nored. The Terminal Count (TC) signal can be assert-
ed by the DMA controller to terminate the data
transfer at any time. Due to internal gating, TC is only
recognized when DACK is low.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com