English
Language : 

Z85C3008VSG Datasheet, PDF (39/81 Pages) Zilog, Inc. – CMOS SCC Serial Communications Controller
CMOS SCC Serial Communications Controller
Product Specification
31
The sequence for operation of the byte count and FIFO logic is to read the registers in the
following order. RR7, RR6, and RR1 (reading RR6 is optional). Additional logic prevents
the FIFO from being emptied by multiple reads from RR1. The read from RR7 latches the
FIFO empty/full status bit (D6) and steers the status multiplexer to read from the SCC
megacell instead of the status FIFO (since the status FIFO is empty). The read from RR1
allows an entry to be read from the FIFO (if the FIFO was empty, logic was added to pre-
vent a FIFO underflow condition).
Write Operation
When the end of an SDLC frame (EOF) is received and the FIFO is enabled, the contents
of the status and byte-count registers are loaded into the FIFO. The EOF signal is used to
increment the FIFO. If the FIFO overflows, RR7, bit D7 (FIFO Overflow) sets to indicate
the overflow. This bit and the FIFO control logic is reset by disabling and reenabling the
FIFO control bit (WR15, bit 02). For details of FIFO control timing during an SDLC
frame, see Figure 14.
0
70
F ADDDD CC F
0
70
F ADDDDCC F
Internal Byte Strobe
Increments Counter
Internal Byte Strobe
Increments Counter
Don’t Load
Counter On
1st Flag
Reset Byte
Counter Here
Reset
Byte Counter
Load Counter
Into FIFO and
Increment PTR
Reset
Byte Counter
Reset
Byte Counter
Load Counter
Into FIFO and
Increment PTR
Figure 14. SDLC Byte Counting Detail
Programming
The SCC contains Write registers in each channel that are programmed by the system sep-
arately to configure the functional personality of the channels.
Z85C30
In the SCC, the data registers are directly addressed by selecting a High on the D/C pin.
With all other registers (except WR0 and RR0), programming the Write registers requires
two Write operations and reading the read registers requires both a Write and a Read oper-
ation. The first write is to WR0 and contains three bits that point to the selected register.
PS011706-0511
Functional Descriptions