CS8900A
Crystal LAN™ Ethernet Controller
can be written. If clear, the host must wait
for CS8900A buffer memory to become
available. If Rdy4TxiE (Register B,
BufCFG, Bit 8) is set, the host will be inter-
rupted when Rdy4Tx (Register C, BufE-
vent, Bit 8) becomes set.
4.9.5 Polling the CS8900A in Memory
Mode
If interrupts are not used, the host can poll the
CS8900A to check if receive frames are
present and if memory space is available for
transmit. However, this is beyond the scope of
this data sheet.
3) Once the CS8900A is ready to accept the
frame, the host executes repetitive memo-
ry-to-memory move instructions (REP
MOVS) to memory base + 0A00h to trans-
fer the entire frame from host memory to
CS8900A memory.
4.10 I/O Space Operation
In I/O Mode, PacketPage memory is accessed
through eight 16-bit I/O ports that are mapped
into 16 contiguous I/O locations in the host
system's I/O space. I/O Mode is the default
configuration for the CS8900A and is always
enabled. On power up, the default value of the
I/O base address is set at 300h. (Note that
300h is typically assigned to LAN peripherals).
The I/O base address may be changed to any
available XXX0h location, either by loading
configuration data from the EEPROM, or dur-
ing system setup. Table 18 shows the
CS8900A I/O Mode mapping.
For a more detailed description of transmit,
see Section 5.6 on page 99.
4.9.4 Basic Memory Mode Receive
Memory Mode receive operations occur in the
following order (interrupts used to signal the
presence of a valid receive frame):
1) A frame is received by the CS8900A, trig-
gering an enabled interrupt.
2) The host reads the Interrupt Status Queue
(memory base + 0120h) and is informed of
the receive frame.
Offset
Type
Description
0000h Read/Write Receive/Transmit Data (Port 0)
0002h Read/Write Receive/Transmit Data (Port 1)
0004h Write-only TxCMD (Transmit Command)
0006h Write-only TxLength (Transmit Length)
0008h Read-only Interrupt Status Queue
000Ah Read/Write PacketPage Pointer
3) The host reads RxStatus (memory base +
0400h) to learn the status of the receive
frame.
000Ch Read/Write PacketPage Data (Port 0)
000Eh Read/Write PacketPage Data (Port 1)
4) The host reads RxLength (memory base +
0402h) to learn the frame's length.
Table 18. I/O Mode Mapping
5) The host reads the frame data by execut-
ing repetitive memory-to-memory move in-
structions (REP MOVS) from memory base
+ 0404h to transfer the entire frame from
CS8900A memory to host memory.
4.10.1 Receive/Transmit Data Ports 0 and
1
These two ports are used when transferring
transmit data to the CS8900A and receive
data from the CS8900A. Port 0 is used for 16-
bit operations and Ports 0 and 1 are used for
32-bit operations (lower-order word in Port 0).
For a more detailed description of receive, see
Section 5.2 on page 78.
4.10.2 TxCMD Port
The host writes the Transmit Command (TxC-
MD) to this port at the start of each transmit op-
CIRRUS LOGIC PRODUCT DATASHEET
DS271F4
75