W83627HF/F
PRELIMINARY
Publication Release Date: November 2000
- 80 -
Revision 1.0
6.3.13 ECP Operation
The host must negotiate on the parallel port to determine if the peripheral supports the ECP protocol
before ECP operation. After negotiation, it is necessary to initialize some of the port bits. The following
are required:
(a) Set direction = 0, enabling the drivers.
(b) Set strobe = 0, causing the nStrobe signal to default to the deasserted state.
(c) Set autoFd = 0, causing the nAutoFd signal to default to the deasserted state.
(d) Set mode = 011 (ECP Mode)
ECP address/RLE bytes or data bytes may be sent automatically by writing the ecpAFifo or ecpDFifo,
respectively.
6.3.13.1 Mode Switching
Software will execute P1284 negotiation and all operation prior to a data transfer phase under
programmed I/O control (mode 000 or 001). Hardware provides an automatic control line handshake,
moving data between the FIFO and the ECP port only in the data transfer phase (mode 011 or 010).
If the port is in mode 000 or 001 it may switch to any other mode. If the port is not in mode 000 or 001 it
can only be switched into mode 000 or 001. The direction can be changed only in mode 001.
When in extended forward mode, the software should wait for the FIFO to be empty before switching
back to mode 000 or 001. In ECP reverse mode the software waits for all the data to be read from the
FIFO before changing back to mode 000 or 001.
6.3.13.2 Command/Data
ECP mode allows the transfer of normal 8-bit data or 8-bit commands. In the forward direction, normal
data are transferred when HostAck is high and an 8-bit command is transferred when HostAck is low.
The most significant bits of the command indicate whether it is a run-length count (for compression) or a
channel address.
In the reverse direction, normal data are transferred when PeriphAck is high and an 8-bit command is
transferred when PeriphAck is low. The most significant bit of the command is always zero.
6.3.13.3 Data Compression
The W83627HF supports run length encoded (RLE) decompression in hardware and can transfer
compressed data to a peripheral. Note that the odd (RLE) compression in hardware is not supported. In
order to transfer data in ECP mode, the compression count is written to the ecpAFifo and the data byte
is written to the ecpDFifo.
Summary of Contents for W83627F
Page 1: ... ...
Page 2: ... ...
Page 3: ... 0 1 ...
Page 9: ... ...
Page 99: ...W83627HF F PRELIMINARY Publication Release Date November 2000 90 Revision 1 0 Figure 8 1 ...
Page 103: ... 0 1 0 1 2 3 45 67 8 67 1 ...
Page 105: ... 0 1 2 3 4 5 6 7 2 2 7 558 6 7 2 2 3 2 3 9 0 1 2 3 4 5 6 7 2 2 7 558 6 7 2 2 3 2 3 9 ...
Page 106: ... 4 6I J H 4 4 6I J 9 6I J 9 ...
Page 107: ... ...
Page 108: ... ...
Page 109: ... ...
Page 115: ... 1 9 4 6D 6D4 L 9 H E 4 6D 0 0 0 1 4 8D 3 D 4 5 6 A 1 9 B H 1 6 ...
Page 116: ... 4 5 6 A 9 H H 1 6 E E E E E E 4 7 28 5 6 A H 1 8 6 1 H 1 H 1 1 H ...
Page 117: ... A 9 H 1 6 1 H 1 F 1 E E F 1 E E E E E G ...
Page 118: ... 4 7 28 5 6 19 H 6 1 H 1 H 1 1 H H 1 6 1 H 1 F 1 E E E F 1 E E E E E ...
Page 120: ... 2 1 4 0 HD 0 B 4 6 4 6 M 4 6 1 4 8 8 1 4 1 C 1 4 8 5 HD 4 1 H HD 4 4 9 6 2 4 4 D ...
Page 122: ... 1 1 8 1 2 0 B 0 6 O P 4 O P 8 4 6 9 9 H H B 6 9 B 6 9 9 H H 6 4 D 9D 6 4 D 9D 6 4 D 9D0 ...
Page 124: ... 2 5 1 6 8 0 B 6 M 4 H 4 H 4 D B H 4 B H 4 8 FDB H 4 8 F B H 4 8 B 6 4 H 4 8 B 6 H ...
Page 126: ... 2 2 5 6 1 6 8 0 B 6 M 4 9 6 1 4 D9 2 1 1 4 2 1 6 8 0 B 6 M 4 1 1 4 9 6 1 ...
Page 136: ... 2 4 6 8 D 0 B 6 M 6 4 0 6 2 1 1 4 6 8 D 0 B O P O P O P 6 M 0 4 0 4 0 4 4 4 4 D 4 4 9 6 1 ...
Page 137: ... 2 4 7 C 4 6 8 D 1 6 M 8 9 4 0 L 0 L 2 7 C 4 6 8 D4 1 6 M 8 9 4 0 L 0 L ...
Page 139: ... 2 1 4 6 8 D0 0 B 6 M 0 0 0 0 4 1 4 4 1 4 4 D 1 4 4 6 1 4 4 4 4 1 1 1 1 4 4 4 0 1 4 4 4 0 1 ...
Page 140: ... 2 1 1 4D 2 1 1 4 2 5 8 1 4 6 8 D 6 M 1 2 3 4 O P 2 5 1 4 6 8 D 6 M 1 3 4 O P 4 9 6 1 ...
Page 142: ... 2 4 5 8 1 4 6 8 D 0 B 6 M 6 0 1 3 4 4 4 9 6 1 2 5 8 1 44 6 8 DD 0 B D 6 M 1 2 3 4 9 1 9 9 4 ...
Page 143: ... 2 2 5 1 4 6 8 D 0 B 6 M 1 3 4 1 9 4 4 9 6 1 2 5 8 1 4 6 8 D 6 M 4 9 O P ...
Page 145: ... 2 5 8 8 1 4 6 8 D 0 B 4 6 M 6 0 1 2 3 4 9 9 4 D 2 5 8 1 4 6 8 D 0 B 6 M 6 0 1 3 4 4 4 9 6 1 ...
Page 146: ... 2 5 8 1 44 6 8 DD 0 B D 6 M 1 2 3 4 9 1 9 9 4 2 5 1 4 6 8 D 0 B 6 M 1 3 4 1 9 4 4 9 6 1 ...