ZiLOG Z85C30 User manual

Type
User manual

This manual is also suitable for

Copyright © 2018 by Zilog
®
, Inc. All rights reserved.
w
ww.zilog.com
UM010904-0318
User Manual
SCC/ESCC
SCC/ESCC
User Manual
UM010904-0318
ii
DO NOT USE IN LIFE SUPPORT
LIFE SUPPORT POLICY
ZILOG'S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE
SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS PRIOR WRITTEN APPROVAL OF
THE PRESIDENT AND GENERAL COUNSEL OF ZILOG CORPORATION.
As used herein
Life support devices or systems are devices which (a) are intended for surgical implant into the body, or (b)
support or sustain life and whose failure to perform when properly used in accordance with instructions for
use provided in the labeling can be reasonably expected to result in a significant injury to the user. A
critical component is any component in a life support device or system whose failure to perform can be
reasonably expected to cause the failure of the life support device or system or to affect its safety or
effectiveness.
Document Disclaimer
©2018 by Zilog, Inc. All rights reserved. Information in this publication concerning the devices,
applications, or technology described is intended to suggest possible uses and may be superseded. ZILOG,
INC. DOES NOT ASSUME LIABILITY FOR OR PROVIDE A REPRESENTATION OF ACCURACY
OF THE INFORMATION, DEVICES, OR TECHNOLOGY DESCRIBED IN THIS DOCUMENT.
ZILOG ALSO DOES NOT ASSUME LIABILITY FOR INTELLECTUAL PROPERTY
INFRINGEMENT RELATED IN ANY MANNER TO USE OF INFORMATION, DEVICES, OR
TECHNOLOGY DESCRIBED HEREIN OR OTHERWISE. The information contained within this
document has been verified according to the general principles of electrical and mechanical engineering.
Z8, Z80 are registered trademarks of Zilog, Inc. All other product or service names are the property of their
respective owners.
Warning:
SCC/ESCC
User Manual
UM010904-0318
iii
Revision History
Each instance in Revision History reflects a change to this document from its previous
revision. For more details, refer to the corresponding pages and appropriate links in the
table below.
Date
Revision
Level Description Page No
March 2018 04 Added missing images 212, 213, 217,
218, 220, 222,
227, 230, 234,
236, 244
May 2015 03 Updated /SYNCA and /SYNCB
Updated /RTxCA, /RTxCB
Updated Data Encoding Method Figure
14
15
75
June 2009 02 Added Low Voltage ESCC information All
May 2009 01 Original Document All
SCC/ESCC
User Manual
UM010904-0318
iv
Table of Contents
General Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
SCC’s Capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Pin Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Pin Descriptions 9
Pins Common to both Z85X30 and Z80X30. . . . . . . . . . . . . . . . . . . . . . . 13
Pin Descriptions, (Z85X30 Only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Pin Descriptions, (Z80X30 Only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Interfacing the SCC/ESCC. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Z80X30 Interface Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Z80X30 Read Cycle Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Z80X30 Write Cycle Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Z80X30 Interrupt Acknowledge Cycle Timing . . . . . . . . . . . . . . . . . . . . . 19
Z80X30 Register Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Z80C30 Register Enhancement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Z80230 Register Enhancements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Z80X30 Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Z85X30 Interface Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Z85X30 Read Cycle Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Z85X30 Write Cycle Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Z85X30 Interrupt Acknowledge Cycle Timing . . . . . . . . . . . . . . . . . . . . . 29
Z85X30 Register Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Z85C30 Register Enhancement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Z85C30/Z85230/L Register Enhancements . . . . . . . . . . . . . . . . . . . . . . 32
Z85X30 Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Interface Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
I/O Programming Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Polling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Interrupt Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Daisy-Chain Resolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Interrupt Acknowledge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
The Receiver Interrupt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Transmit Interrupts and Transmit Buffer Empty Bit . . . . . . . . . . . . . . . . . 49
SCC/ESCC
User Manual
UM010904-0318
v
External/Status Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Block/DMA Transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Block Transfers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
DMA Requests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Test Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Local Loopback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Auto Echo. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
SCC/ESCC Ancillary Support Circuitry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
Baud Rate Generator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
Data Encoding/Decoding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
DPLL Digital Phase-Locked Loop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
DPLL Operation in the NRZI Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
DPLL Operation in the FM Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
DPLL Operation in the Manchester Mode . . . . . . . . . . . . . . . . . . . . . . . . 82
Transmit Clock Counter (ESCC only) . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Clock Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Crystal Oscillator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Data Communication Modes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Transmit Data Path Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Receive Data Path Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Asynchronous Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
Asynchronous Transmit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Asynchronous Receive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
Asynchronous Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Byte-Oriented Synchronous Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Byte-Oriented Synchronous Transmit . . . . . . . . . . . . . . . . . . . . . . . . . . 100
Byte-Oriented Synchronous Receive . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Transmitter/Receiver Synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Bit-oriented Synchronous (SDLC/HDLC) Mode . . . . . . . . . . . . . . . . . . . . . 113
SDLC Transmit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
SDLC Receive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
SDLC Frame Status FIFO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
SDLC Loop Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
Register Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
Write Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
Write Register 0 (Command Register) . . . . . . . . . . . . . . . . . . . . . . . . . 139
SCC/ESCC
User Manual
UM010904-0318
vi
Write Register 1 (Transmit/Receive Interrupt and Data Transfer Mode
Definition) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
Write Register 2 (Interrupt Vector) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
Write Register 3 (Receive Parameters and Control) . . . . . . . . . . . . . . . 148
Write Register 4 (Transmit/Receive Miscellaneous Parameters
and Modes) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
Write Register 5 (Transmit Parameters and Controls) . . . . . . . . . . . . . 152
Write Register 6 (Sync Characters or SDLC Address Field) 154
Write Register 7 (Sync Character or SDLC Flag) . . . . . . . . . . . . . . . . . 155
Write Register 7 Prime (ESCC only) . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
Write Register 7 Prime (85C30 Only) . . . . . . . . . . . . . . . . . . . . . . . . . . 157
Write Register 8 (Transmit Buffer) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
Write Register 9 (Master Interrupt Control) . . . . . . . . . . . . . . . . . . . . . . 159
Write Register 10 (Miscellaneous Transmitter/Receiver Control Bits) . . 162
Write Register 11 (Clock Mode Control) . . . . . . . . . . . . . . . . . . . . . . . . 165
Write Register 12 (Lower Byte of Baud Rate Generator Time Constant) 167
Write Register 13 (Upper Byte of Baud Rate Generator Time Constant) 169
Write Register 14 (Miscellaneous Control Bits) . . . . . . . . . . . . . . . . . . . 169
Write Register 15 (External/Status Interrupt Control) . . . . . . . . . . . . . . 172
Read Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
Read Register 0 (Transmit/Receive Buffer Status and External Status) 174
Read Register 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
Read Register 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
Read Register 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
Read Register 4 (ESCC and 85C30 Only) . . . . . . . . . . . . . . . . . . . . . . 182
Read Register 5 (ESCC and 85C30 Only) . . . . . . . . . . . . . . . . . . . . . . 182
Read Register 6 (Not on NMOS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
Read Register 7 (Not on NMOS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
Read Register 8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
Read Register 9 (ESCC and 85C30 Only) . . . . . . . . . . . . . . . . . . . . . . 184
Read Register 10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
Read Register 11 (ESCC and 85C30 Only) . . . . . . . . . . . . . . . . . . . . . 186
Read Register 12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
Read Register 13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
Read Register 14 (ESCC and 85C30 Only) . . . . . . . . . . . . . . . . . . . . . 187
Read Register 15 187
Application Notes188
Interfacing Z80® CPUs to the Z8500 Peripheral Family . . . . . . . . . . . . . . . 188
AN0096: The Z180 Interfaced with the SCC at 10 MHz . . . . . . . . . . . . . . . 210
AN0097: The Zilog® Datacom Family with the 80186 CPU. . . . . . . . . . . . . 250
SCC/ESCC
User Manual
UM010904-0318
vii
SCC in Binary Synchronous Communications . . . . . . . . . . . . . . . . . . . . . . 275
Serial Communication Controller (SCC): SDLC Mode of Operation . . . . . . 288
Using SCC with Z8000 in SDLC Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . 300
AN0300: Boost Your System Performance Using the Zilog ESCC
Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 311
AN006: Technical Considerations When Implementing Localtalk Link Access
Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325
AN0075: On-Chip Oscillator Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 344
Interfacing the ISCC to the 68000 and 8086 . . . . . . . . . . . . . . . . . . . . . . . . 353
Zilog SCC Z8030/Z8530 Questions and Answers . . . . . . . . . . . . . . . . . . . . 363
Zilog ESCC Controller Questions and Answers . . . . . . . . . . . . . . . . . . . . . 373
Questions and Answers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375
Zilog SCC Z8030/Z8530 Questions and Answers . . . . . . . . . . . . . . . . . . . . 375
Zilog ESCC Controller Questions and Answers . . . . . . . . . . . . . . . . . . . . . 385
Customer Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 387
SCC/ESCC
User Manual
UM010904-0318 General Description
1
General Description
Introduction
Zilog’s SCC Serial Communication Controller is a dual channel, multiprotocol data communica-
tion peripheral designed for use with 8- and 16-bit microprocessors. The SCC functions as a serial-
to-parallel, parallel-to-serial converter/controller. The SCC can be software-configured to satisfy a
wide variety of serial communications applications. The device contains a variety of new, sophis-
ticated internal functions including on-chip baud rate generators, digital phase-lock loops, and
crystal oscillators, which dramatically reduce the need for external logic.
The SCC handles asynchronous formats, synchronous byte-oriented protocols such as IBM
Bisync, and synchronous bit-oriented protocols such as HDLC and IBM SDLC. This versatile
device supports virtually any serial data transfer application (telecommunication, LAN, etc.).
The device can generate and check CRC codes in any synchronous mode and can be programmed
to check data integrity in various modes. The SCC also has facilities for modem control in both
channels. In applications where these controls are not needed, the modem controls can be used for
general-purpose I/O.
With access to 14 Write registers and 7 Read registers per channel (the number of the registers var-
ies depending on the version), the user can configure the SCC to handle all synchronous formats
regardless of data size, number of stop bits, or parity requirements.
Within each operating mode, the SCC also allows for protocol variations by checking odd or even
parity bits, character insertion or deletion, CRC generation, checking break and abort generation
and detection, and many other protocol-dependent features.
The SCC/ESCC family consists of the following eight devices;
As a convention, use the following words to distinguish the devices throughout this document.
SCC: Description applies to all versions.
Z-Bus Universal-Bus
NMOS Z8030 Z8530
CMOS Z80C30 Z85C30
ESCC Z80230 Z85230/Z8523L
EMSCC Z85233
Low Voltage ESCC Z8523L
SCC/ESCC
User Manual
UM010904-0318 General Description
2
NMOS: Description applies to NMOS version (Z8030/Z8530)
CMOS: Description applies to CMOS version (Z80C30/Z85C30)
ESCC: Description applies to ESCC (Z80230/Z85230/Z8523L)
EMSCC: Description applies to EMSCC (Z85233)
Z80X30: Description applies to Z-Bus version of the device (Z8030/Z80C30/Z80230)
Z85X3X: Description applies to Universal version of the device (Z8530/Z85C30/Z85230/
Z8523L/Z85233)
The Z-Bus version has a multiplexed bus interface and is directly compatible with the Z8000,
Z16C00, and 80x86 CPUs. The Universal version has a non-multiplexed bus interface and easily
interfaces with virtually any CPU, including the 8080, Z80
®
, 68X00.
SCC’s Capabilities
The NMOS version of the SCC is Zilog’s original device. The design is based on the Z80 SIO
architecture. If you are familiar with the Z80 SIO, the SCC can be treated as an SIO with support
circuitry such as DPLL, BRG, etc. Its features include:
Two independent full-duplex channels
Synchronous/Isosynchronous data rates:
Up to 1/4 of the PCLK using external clock source
Up to 5 Mbits/sec at 20 MHz PCLK (ESCC)
Up to 4 Mbits/sec at 16 MHz PCLK (CMOS)
Up to 2 Mbits/sec at 8 MHz PCLK (NMOS)
Up to 1/8 of the PCLK (up to 1/16 on NMOS) using FM encoding with DPLL
Up to 1/16 of the PCLK (up to 1/32 on NMOS) using NRZI encoding with DPLL
Asynchronous Capabilities
5, 6, 7 or 8 bits/character (capable of handling 4 bits/character or less.)
1, 1.5, or 2 stop bits
Odd or even parity
Times 1, 16, 32 or 64 clock modes
Break generation and detection
Parity, overrun and framing error detection
Byte oriented synchronous capabilities:
Internal or external character synchronization
One or two sync characters (6 or 8 bits/sync character) in separate registers
SCC/ESCC
User Manual
UM010904-0318 General Description
3
Automatic Cyclic Redundancy Check (CRC) generation/detection
SDLC/HDLC capabilities:
Abort sequence generation and checking
Automatic zero insertion and detection
Automatic flag insertion between messages
Address field recognition
I-field residue handling
CRC generation/detection
SDLC loop mode with EOP recognition/loop entry and exit
Receiver FIFO
ESCC: 8 bytes deep
NMOS/CMOS: 3 bytes deep
Transmitter FIFO
ESCC: 4 bytes deep
NMOS/CMOS: 1 byte deep
NRZ, NRZI or FM encoding/decoding. Manchester code decoding (encoding with exter-
nal logic)
Baud Rate Generator in each channel
Digital Phase Locked Loop (DPLL) for clock recovery
Crystal oscillator
The CMOS version of the SCC is 100% plug in compatible to the NMOS versions of the device,
while providing the following additional features:
Status FIFO
Software interrupt acknowledge feature
Enhanced timing specifications
Faster system clock speed
Designed in Zilog’s Superintegration™ core format
When the DPLL clock source is external, it can be up to 2x the PCLK, where NMOS
allows up to PCLK (32.3 MHz max with 16/20 MHz version).
The Z85C30 CMOS SCC has added new features, while maintaining 100% hardware/software
compatibility. It has the following new features:
New programmable WR7' (write register 7 prime) to enable new features.
Improvements to support SDLC mode of synchronous communication:
SCC/ESCC
User Manual
UM010904-0318 General Description
4
Improved functionality to ease sending back-to back frames
Automatic SDLC opening Flag transmission*
Automatic Tx Underrun/EOM Latch reset in SDLC mode*
Automatic /RTS deactivation*
TxD pin forced “H” in SDLC NRZI mode after closing flag*
Complete CRC reception*
Improved response to Abort sequence in status FIFO
Automatic Tx CRC generator preset/reset
Extended read for write registers*
Write data setup timing improvement
Improved AC timing:
Three to 3.5 PCLK access recovery time.
Programmable /DTR//REQ timing*
Elimination of write data to falling edge of /WR setup time requirement
Reduced /INT timing
Other features include:
Extended read function to read back the written value to the write registers*
Latching RR0 during read
RR0, bit D7 and RR10, bit D6 now has reset default value
Some of the features listed above are available by default, and some of them (features with “*”)
are disabled on default.
ESCC (Enhanced SCC) is pin and software compatible to the CMOS version, with the following
additional enhancements.
Deeper transmit FIFO (4 bytes)
Deeper receive FIFO (8 bytes)
Programmable FIFO interrupt and DMA request level
Seven enhancements to improve SDLC link layer supports:
Automatic transmission of the opening flag
Automatic reset of Tx Underrun/EOM latch
Deactivation of /RTS pin after closing flag
Automatic CRC generator preset
Complete CRC reception
TxD pin automatically forced high with NRZI encoding when using mark idle
Status FIFO handles better frames with an ABORT
SCC/ESCC
User Manual
UM010904-0318 General Description
5
Receive FIFO automatically unlocked for special receive interrupts when using
the SDLC status FIFO
Delayed bus latching for easier microprocessor interface
New programmable features added with Write Register 7' (WR seven prime)
Write registers 3, 4, 5 and 10 are now readable
Read register 0 latched during access
DPLL counter output available as jitter-free transmitter clock source
Enhanced /DTR, /RTS deactivation timing
Block Diagram
Figure on page 6 displays the block diagram of the SCC. Note that the depth of the FIFO differs
depending on the version. The 10X19 SDLC Frame Status FIFO is not available on the NMOS
version of the SCC. Detailed internal signal path will be discussed in Data Communication Modes
on page 88.
SCC/ESCC
User Manual
UM010904-0318 General Description
6
SCC Block Diagram
Transmit Lo
g
Channel
A
Receive and Transmit Clock Mul
Transmit FIFO
NMOS/CMOS: 1 b
ESCC: 4 Bytes
Transmit M
U
Data Encoding & C
R
Generation
Digital
Phase-Lock
e
Loop
Baud Rat
Generat
o
Crystal
Oscillat
o
Amplifi
e
Modem/Control L
o
Receive M
U
CRC Checke
Data Decode
Sync Charac
Detection
Rec. Status
*
FIFO
Rec. Data*
FIFO
SDLC Frame Status F
10 x 19
Receive Lo
g
TxD
A
/TRxC
A
/RTxC
A
/CTS
A
/DCD
A
/SYNC
A
/RTS
A
/DTRA//RE
Q
RxD
A
Intern
a
Contro
Logic
Channel
A
Register
Channel
B
Register
Interru
p
Control
Logic
CPU & DM
A
Bus Interfa
c
Databu
Contr
o
Channel
A
Channel
B
/IN
/INTA
C
IE
IE
O
Interr
u
Contr
o
Exploded Vi
e
** See N
o
* NMOS/CMOS: 3 bytes each
ESCC: 8 bytes
** Not Available on NMOS
SCC/ESCC
User Manual
UM010904-0318 General Description
7
Pin Descriptions
The SCC pins are divided into seven functional groups: Address/Data, Bus Timing and Reset,
Device Control, Interrupt, Serial Data (both channels), Peripheral Control (both channels), and
Clocks (both channels). Figure on page 8 and Figure on page 9 display the pins in each functional
group for both Z80X30 and Z85X30. Notice the pin functions unique to each bus interface version
in the Address/Data group, Bus Timing and Reset group, and Control groups.
The Address/Data group consists of the bidirectional lines used to transfer data between the CPU
and the SCC (Addresses in the Z80X30 are latched by /AS). The direction of these lines depends
on whether the operation is a Read or Write.
The timing and control groups designate the type of transaction to occur and when it will occur.
The interrupt group provides inputs and outputs to conform to the Z-Bus
®
specifications for han-
dling and prioritizing interrupts. The remaining groups are divided into channel A and channel B
groups for serial data (transmit or receive), peripheral control (such as DMA or modem), and the
input and output lines for the receive and transmit clocks.
SCC/ESCC
User Manual
UM010904-0318 General Description
8
The signal functionality and pin assignments (Figure on page 10 through Figure on page 13) stay
constant within the same bus interface group (i.e., Z80X30, Z85X30), except for some timing and/
or DC specification differences. For details, refer the individual product specifications.
Z85X30 Pin Functions
D7
D6
D5
D4
D3
D2
D1
D0
/RD
/WR
A//B
/CE
D//C
/INT
/INTACK
IEI
IEO
TxDA
RxDA
/TRxCA
/RTxCA
/SYNCA
/W//REQ
A
/DTR//REQA
/RTS
A
/CTS
A
/DCDA
TxDB
RxDB
/TRxCB
/RTxCB
/SYNCB
Serial
Data
Channel
Clocks
Channel
Controls
for Modem,
DMA and
Other
/W//REQB
/DTR//REQ
B
/RTS
B
/CTS
B
/DCDB
Interrup
t
Data Bus
Serial
Data
Channel
Clocks
Control
Bus Timing
and Reset
Channel
Controls
for Modem,
DMA and
Other
Z85X30
SCC/ESCC
User Manual
UM010904-0318 General Description
9
Pin Descriptions
Z80x30 Pin Functions
AD7
AD6
AD5
AD4
AD3
AD2
AD1
AD0
/AS
/DS
R//W
CS1
/CS0
/INT
/INTACK
IEI
IEO
TxDA
RxDA
/TRxCA
/RTxCA
/SYNCA
/W//REQA
/DTR//REQA
/RTSA
/CTSA
/DCDA
TxDB
RxDB
/TRxCB
/RTxCB
/SYNCB
Serial
Data
Channel
Clocks
Channel
Controls
for Modem,
DMA and
Other
/W//REQB
/DTR//REQB
/RTSB
/CTSB
/DCDB
Interrupt
Address
Data Bus
Serial
Data
Channel
Clocks
Control
Bus Timing
and Reset
Channel
Controls
for Modem,
DMA and
Other
Z80X30
Channel A
Channel B
SCC/ESCC
User Manual
UM010904-0318 General Description
10
Z85X30 DIP Pin Assignments
1
2
9
3
4
5
6
7
8
4
0
39
3
8
3
7
3
6
35
3
4
3
3
32
D0
D2
D//C
D4
D6
/RD
/WR
A//B
/CE
D1
31
3
0
29
2
8
2
7
14
10
11
12
13
GND
/W//REQB
/SYNCB
/RTxCB
RxDB
D3
D5
D7
/INT
IEO
IEI
/INTACK
VCC
/W//REQA
/SYNCA
/RTxCA
RxDA
/TRxCA
TxDA
/DTR//REQA
/RTSA
/CTSA
/DCDA
PCL
K
15
16
17
18
19
20
/TRxCB
TxDB
/DTR//REQB
RTSB
/CTSB
/DCDB
2
6
25
2
4
2
3
22
21
Z85X30
SCC/ESCC
User Manual
UM010904-0318 General Description
11
Z85X30 PLCC Pin Assignments
SCC/ESCC
User Manual
UM010904-0318 General Description
12
Z80X30 DIP Pin Assignments
1
2
9
3
4
5
6
7
8
40
39
38
37
36
35
34
33
32
AD0
AD2
CS1
AD4
AD6
/DS
/AS
R//W
/CS0
AD1
31
30
29
28
27
14
10
11
12
13
GND
/W//REQB
/SYNCB
/RTxCB
RxDB
AD3
AD5
AD7
/INT
IEO
IEI
/INTACK
VCC
/W//REQA
/SYNCA
/RTxCA
RxDA
/TRxCA
TxDA
/DTR//REQA
/RTSA
/CTSA
/DCDA
PCL
K
15
16
17
18
19
20
/TRxCB
TxDB
/DTR//REQB
RTSB
/CTSB
/DCDB
26
25
24
23
22
21
Z80X30
SCC/ESCC
User Manual
UM010904-0318 General Description
13
Z80X30 PLCC Pin Assignments
Pins Common to both Z85X30 and Z80X30
/CTSA, /CTSB. Clear To Send (inputs, active Low). These pins function as transmitter enables if
they are programmed for Auto Enable (WR3, D5=1). A Low on the inputs enables the respective
transmitters. If not programmed as Auto Enable, they may be used as general-purpose inputs. Both
inputs are Schmitt-trigger buffered to accommodate slow rise-time inputs. The SCC detects pulses
on these inputs and can interrupt the CPU on both logic level transitions.
/DCDA, /DCDB. Data Carrier Detect (inputs, active Low). These pins function as receiver
enables if they are programmed for Auto Enable (WR3, D5=1); otherwise, they are used as gen-
eral-purpose input pins. Both pins are Schmitt-trigger buffered to accommodate slow rise time sig-
nals. The SCC detects pulses on these pins and can interrupt the CPU on both logic level
transitions.
/RTSA, /RTSB. Request To Send (outputs, active Low). The /RTS pins can be used as general-
purpose outputs or with the Auto Enable feature. When used with Auto Enable ON (WR3, D5=1)
in asynchronous mode, the /RTS pin goes High after the transmitter is empty. When Auto Enable
1
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199
  • Page 200 200
  • Page 201 201
  • Page 202 202
  • Page 203 203
  • Page 204 204
  • Page 205 205
  • Page 206 206
  • Page 207 207
  • Page 208 208
  • Page 209 209
  • Page 210 210
  • Page 211 211
  • Page 212 212
  • Page 213 213
  • Page 214 214
  • Page 215 215
  • Page 216 216
  • Page 217 217
  • Page 218 218
  • Page 219 219
  • Page 220 220
  • Page 221 221
  • Page 222 222
  • Page 223 223
  • Page 224 224
  • Page 225 225
  • Page 226 226
  • Page 227 227
  • Page 228 228
  • Page 229 229
  • Page 230 230
  • Page 231 231
  • Page 232 232
  • Page 233 233
  • Page 234 234
  • Page 235 235
  • Page 236 236
  • Page 237 237
  • Page 238 238
  • Page 239 239
  • Page 240 240
  • Page 241 241
  • Page 242 242
  • Page 243 243
  • Page 244 244
  • Page 245 245
  • Page 246 246
  • Page 247 247
  • Page 248 248
  • Page 249 249
  • Page 250 250
  • Page 251 251
  • Page 252 252
  • Page 253 253
  • Page 254 254
  • Page 255 255
  • Page 256 256
  • Page 257 257
  • Page 258 258
  • Page 259 259
  • Page 260 260
  • Page 261 261
  • Page 262 262
  • Page 263 263
  • Page 264 264
  • Page 265 265
  • Page 266 266
  • Page 267 267
  • Page 268 268
  • Page 269 269
  • Page 270 270
  • Page 271 271
  • Page 272 272
  • Page 273 273
  • Page 274 274
  • Page 275 275
  • Page 276 276
  • Page 277 277
  • Page 278 278
  • Page 279 279
  • Page 280 280
  • Page 281 281
  • Page 282 282
  • Page 283 283
  • Page 284 284
  • Page 285 285
  • Page 286 286
  • Page 287 287
  • Page 288 288
  • Page 289 289
  • Page 290 290
  • Page 291 291
  • Page 292 292
  • Page 293 293
  • Page 294 294
  • Page 295 295
  • Page 296 296
  • Page 297 297
  • Page 298 298
  • Page 299 299
  • Page 300 300
  • Page 301 301
  • Page 302 302
  • Page 303 303
  • Page 304 304
  • Page 305 305
  • Page 306 306
  • Page 307 307
  • Page 308 308
  • Page 309 309
  • Page 310 310
  • Page 311 311
  • Page 312 312
  • Page 313 313
  • Page 314 314
  • Page 315 315
  • Page 316 316
  • Page 317 317
  • Page 318 318
  • Page 319 319
  • Page 320 320
  • Page 321 321
  • Page 322 322
  • Page 323 323
  • Page 324 324
  • Page 325 325
  • Page 326 326
  • Page 327 327
  • Page 328 328
  • Page 329 329
  • Page 330 330
  • Page 331 331
  • Page 332 332
  • Page 333 333
  • Page 334 334
  • Page 335 335
  • Page 336 336
  • Page 337 337
  • Page 338 338
  • Page 339 339
  • Page 340 340
  • Page 341 341
  • Page 342 342
  • Page 343 343
  • Page 344 344
  • Page 345 345
  • Page 346 346
  • Page 347 347
  • Page 348 348
  • Page 349 349
  • Page 350 350
  • Page 351 351
  • Page 352 352
  • Page 353 353
  • Page 354 354
  • Page 355 355
  • Page 356 356
  • Page 357 357
  • Page 358 358
  • Page 359 359
  • Page 360 360
  • Page 361 361
  • Page 362 362
  • Page 363 363
  • Page 364 364
  • Page 365 365
  • Page 366 366
  • Page 367 367
  • Page 368 368
  • Page 369 369
  • Page 370 370
  • Page 371 371
  • Page 372 372
  • Page 373 373
  • Page 374 374
  • Page 375 375
  • Page 376 376
  • Page 377 377
  • Page 378 378
  • Page 379 379
  • Page 380 380
  • Page 381 381
  • Page 382 382
  • Page 383 383
  • Page 384 384
  • Page 385 385
  • Page 386 386
  • Page 387 387
  • Page 388 388
  • Page 389 389
  • Page 390 390
  • Page 391 391
  • Page 392 392
  • Page 393 393
  • Page 394 394

ZiLOG Z85C30 User manual

Type
User manual
This manual is also suitable for

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI