Dual universal serial communications
controller (DUSCC)
Product specification
IC19 Data Handbook
1995 May 01
Philips SemiconductorsProduct specification
SCN68562Dual universal serial communications controller (DUSCC)
DESCRIPTION
The Philips Semiconductors SCN68562 Dual Universal Serial
Communications Controller (DUSCC) is a single-chip MOS-LSI
communications device that provides two independent,
multi-protocol, full-duplex receiver/transmitter channels in a single
package. It supports bit-oriented and character-oriented (byte count
and byte control) synchronous data link controls as well as
asynchronous protocols. The SCN68562 interfaces to the 68000
MPUs via asynchronous bus control signals and is capable of
program-polled, interrupt driven, block-move or DMA data transfers.
The operating mode and data format of each channel can be
programmed independently.
Each channel consists of a receiver, a transmitter, a 16-bit
multifunction counter/timer, a digital phase-locked loop (DPLL), a
parity/CRC generator and checker, and associated control circuits.
The two channels share a common bit rate generator (BRG),
operating directly from a crystal or an external clock, which provides
16 common bit rates simultaneously. The operating rate for the
receiver and transmitter of each channel can be independently
selected from the BRG, the DPLL, the counter/timer, or from an
external 1X or 16X clock, making the DUSCC well suited for
dual-speed channel applications. Data rates up to 4Mbits per
second are supported.
PIN CONFIGURATIONS
N PACKAGE
IACKN
RTxDAKBN/
GPI1BN
IRQN
RESETN
RTSBN/
SYNOUTBN
TRxCB
RTxCB
DCDBN/
SYNIBN
RxDB
TxDB
TxDAKBN/
GPI2BN
RTxDRQBN/
GPO1BN
TxDRQBN/
GPO2BN/RTSBN
CTSBN/LCBN
DTACKN
DTCN
GND
1
2
A3
3
A2
4
A1
5
6
7
8
9
10
11
12
13
14
15
16
17
18
D7
19
D6
20
D5
21
D4
22
23
24
DIP
48
V
DD
47
A4
46
A5
45
A6
RTxDAKAN/
44
GPI1AN
43
X1/CLK
42
X2/IDCN
RTSAN/
41
SYNOUTAN
40
TRxCA
39
RTxCA
DCDAN/
38
SYNIAN
37
Rxda
36
TxDA
TxDAKAN/
35
GPI2AN
RTxDRQAN/
34
GPO1AN
TxDRQAN/
33
GPO2AN/RTSAN
32
CTSAN/LCAN
31
D0
30
D1
29
D2
28
D3
27
DONEN
26
R/WN
25
CSN
The transmitter and receiver each contain a four-deep FIFO with
appended transmitter command and receiver status bits and a shift
register. This permits reading and writing of up to four characters at
a time, minimizing the potential of receiver overrun or transmitter
underrun, and reducing interrupt or DMA overhead. In addition, a
flow control capability is provided to disable a remote transmitter
when the FIFO of the local receiving device is full.
Two modem control inputs (DCD and CTS) and three modem
control outputs are provided. These inputs and outputs can be
optionally programmed for other functions.
FEA TURES
General Features
•Dual full-duplex synchronous/asynchronous receiver and
transmitter
•Multiprotocol operation
– BOP: HDLC/ADCCP, SDLC, SDLC loop, X.25 or X.75 link level,
SCN68562Dual universal serial communications controller (DUSCC)
•0 to 4MHz data rate
•Programmable bit rate for each receiver and transmitter selectable
from:
– 16 fixed rates: 50 to 38.4k baud
– One user-defined rate derived from programmable
counter/timer
– External 1X or 16X clock
– Digital phase-locked loop
•Parity and FCS (frame check sequence LRC or CRC) generation
and checking
•Programmable data encoding/decoding: NRZ, NRZI, FM0, FM1,
Manchester
•Programmable channel mode: full- and half-duplex, auto-echo, or
local loopback
•Programmable data transfer mode: polled, interrupt, DMA, wait
•DMA interface
– Compatible with the Philips Semiconductors SCB68430 Direct
Memory Access Interface (DMAI) and other DMA controllers
– Single- or dual-address dual transfers
– Half- or full-duplex operation
– Automatic frame termination on counter/timer terminal count or
DMA DONE
•Interrupt capabilities
– Daisy chain option
– Vector output (fixed or modified by status)
– Programmable internal priorities
– Maskable interrupt conditions
•Multi-function programmable 16-bit counter/timer
– Bit rate generator
– Event counter
– Count received or transmitted characters
– Delay generator
– Automatic bit length measurement
•Modem controls
– RTS, CTS, DCD, and up to four general I/O pins per channel
– CTS and DCD programmable autoenables for Tx and Rx
– Programmable interrupt on change of CTS or DCD
•On-chip oscillator for crystal
•TTL compatible
•Single +5V power supply
Asynchronous Mode Features
•Character length: 5 to 8 bits
•Odd or even parity, no parity, or force parity
•Up to two stop bits programmable in 1/16-bit increments
•1X or 16X Rx and Tx clock factors
•Parity, overrun, and framing error detection
•False start bit detection
•Start bit search 1/2-bit time after framing error detection
•Break generation with handshake for counting break characters
•Detection of start and end of received break
•Character compare with optional interrupt on match
•Transmits up to 4Mbs and receive up to 2Mbps data rates
Character-Oriented Protocol Features
•Character length: 5 to 8 bits
•Odd or even parity, no parity, or force parity
•LRC or CRC generation and checking
•Optional opening PAD transmission
•One or two SYN characters
•External sync capability
•SYN detection and optional stripping
•SYN or MARK line-fill on underrun
•Idle in MARK or SYNs
•Parity, FCS, overrun, and underrun error detection
BISYNC Features
– EBCDIC or ASCII header, text and control messages
– SYN, DLE stripping
– EOM (end of message) detection and transmission
– Auto transparent mode switching
– Auto hunt after receipt of EOM sequence (with closing PAD
check after EOT or NAK)
– Control character sequence detection for both transparent and
normal text
Bit-Oriented Protocol Features
•Character length: 5 to 8 bits
•Detection and transmission of residual character: 0–7 bits
•Automatic switch to programmed character length for 1 field
•Zero insertion and deletion
•Optional opening PAD transmission
•Detection and generation of FLAG, ABORT, and IDLE bit patterns
•Detection and generation of shared (single) FLAG between
frames
•Detection of overlapping (shared zero) FLAGs
•ABORT, ABORT-FLAGs, or FCS FLAGs line-fill on underrun
•Idle in MARK or FLAGs
•Secondary address recognition including group and global
address
•Single- or dual-octet secondary address
•Extended address and control fields
•Short frame rejection for receiver
•Detection and notification of received end of message
•CRC generation and checking
•SDLC loop mode capability
1995 May 01
3
Philips SemiconductorsProduct specification
DESCRIPTION
DWG #
SCN68562Dual universal serial communications controller (DUSCC)
SCN68562Dual universal serial communications controller (DUSCC)
PIN DESCRIPTION
In this data sheet, signals are discussed using the terms ‘active’ and ‘inactive’ or ‘asserted’ and ‘negated’ independent of whether the signal is
active in the High (logic 1) or Low (logic 0) state. N at the end of a pin name signifies the signal associated with the pin is active-Low (see
individual pin description for the definition of the active level of each signal.) Pins which are provided for both channels are designated by A/B
after the name of the pin and the active-Low state indicator, N, if applicable. A similar method is used for registers provided for both channels:
these are designated by either an underline or by A/B after the name.
MNEMONIC
A1 – A64-2,
D0 – D731-28,
R/WN26IRead/Write: A High input indicates a read cycle and a Low input indicates a write cycle
CSN25IChip Select: Active-Low input. When Low, data transfers between the CPU and the
DTACKN22OData Transfer Acknowledge: Active-Low, 3-State. DTACKN is asserted on a write cycle
IRQN6OInterrupt Request: Active-Low, open-drain. This output is asserted upon occurrence of
IACKN1IInterrupt Acknowledge: Active-Low. When IACKN is asserted, the DUSCC responds by
X1/CLK43ICrystal or External Clock: When using the crystal oscillator, the crystal is connected
X2/IDCN42OCrystal or Interrupt Daisy Chain: When a crystal is used as the timing source, the
RESETN7IMaster Reset: Active-Low. A low on this pin resets the transmitters and receivers and
RxDA, RxDB37, 12IChannel A (B) Receiver Serial Data Input: The least significant bit is received first. If
TxDA, TxDB36, 13OChannel A (B) Transmitter Serial Data Output: The least significant bit is transmitted
RTxCA, RTxCB39, 10I/OChannel A (B) Receiver/Transmitter Clock: As an input, it can be programmed to
DIP
PIN NO.
45-47
21-18
TYPENAME AND FUNCTION
IAddress Lines: Active-High. Address inputs which specify which of the internal registers
is accessed for read/write operation.
I/OBidirectional Data Bus: Active High, 3-State. Bit 0 is the LSB and bit 7 is the MSB. All
data, command, and status transfers between the CPU and the DUSCC take place over
this bus. The data bus is enabled when CSN is Low, during interrupt acknowledge cycles
and single-address DMA acknowledge cycles.
when a cycle is initiated by assertion of the CSN input.
DUSCC are enabled on D0 – D7 as controlled by the R/WN and A1 – A6 inputs. When
CSN is High, the DUSCC is isolated from the data bus (except during interrupt
acknowledge cycles and single-address DMA transfers) and D0 – D7 are placed in the
3-State condition.
to indicate that the data on the bus has been latched, and on a read cycle or interrupt
acknowledge cycle to indicate valid data is on the bus. The signal is negated when
completion of the cycle is indicated by negation of the CSN or IACKN input, and returns to
the inactive state (3-State) a short period after it is negated. In a single address DMA
mode, data is latched with the falling edge of DTCN. DTACKN is negated when
completion of the cycle is indicated by the assertion of DTCN or negation of DMA
acknowledge inputs (whichever occurs first), and returns to the inactive state (3-State) a
short period after it is negated. When negated, DTACKN becomes an open-drain output
and requires an external pull-up resistor.
any enabled interrupting condition. The CPU can read the general status register to
determine the interrupting condition(s), or can respond with an interrupt acknowledge cycle
to cause the DUSCC to output an interrupt vector on the data bus.
placing the contents of the interrupt vector register (modified or unmodified by status) on
the data bus and asserting DTACKN. If no active interrupt is pending, DTACKN is not
asserted.
between pins X1 and X2. If a crystal is not used, and external clock is supplied at this
input. This clock is used to drive the internal bit rate generator, as an optional input to the
counter/timer or DPLL, and to provide other required clocking signals.
crystal is connected between pins X1 and X2. This pin can be programmed to provide and
interrupt daisy chain active-Low output which propagates the IACKN signal to lower priority
devices, if no active interrupt is pending. This pin should be grounded when an external
clock is used on X1 and X2, is not used as an interrupt daisy chain output.
resets the registers shown in Table 1 of the CDUSCC Users’ Guide. Reset in
asynchronous, i.e., no clock is required.
external receiver clock is specified for the channel, the input is sampled on the rising edge
of the clock.
first. This output is held in the marking (High) condition when the transmitter is disabled or
when the channel is operating in local loopback mode. If external transmitter clock is
specified for the channel, the data is shifted on the falling edge of the clock.
supply the receiver, transmitter, counter/timer, or DPLL clock. As an output, can supply the
counter/timer output, the transmitter shift clock (1X), or the receiver sampling clock (1X).
The maximum external receiver/transmitter clock frequency is 4MHz.
1995 May 01
5
Philips SemiconductorsProduct specification
SCN68562Dual universal serial communications controller (DUSCC)
PIN DESCRIPTION (Continued)
MNEMONIC
TRxCA, TRxCB40, 9I/OChannel A (B) Transmitter/Receiver Clock: As an input, it can supply the receiver,
CTSA/BN, LCA/BN32, 17I/OChannel A (B) Clear-To-Send Input or Loop Control Output: Active-Low. The signal
DCDA/BN,
SYNIA/BN
RTxDRQA/BN,
GPO1A/BN
TxDRQA/BN,
GPO2A/BN,
RTSA/BN
RTxDAKA/BN,
GPI1A/BN
TxDAKA/BN,
GP12A/BN
DTCN23IDevice Transfer Complete: Active-Low. DTCN is asserted by the DMA controller to
DONEN27I/ODone: Active-Low, open-drain. See Detailed Operation for a description of the function of
RTSA/BN,
SYNOUTA/BN
V
DD
GND24ISignal and power ground input.
DIP
PIN NO.
38, 11IChannel A (B) Data Carrier Detected or External Sync Input: The function of this pin is
34, 15OChannel A (B) Receiver/T ransmitter DMA Service Request or General Purpose
33, 16OChannel A (B) Transmitter DMA Service Request, General Purpose Output, or
44, 5IChannel A (B) Receiver/Transmitter DMA Acknowledge or General Purpose Input:
35, 14IChannel A (B) Transmitter DMA Acknowledge or General Purpose Input: Active-Low.
41, 8OChannel A (B) Sync Detect or Request-to-Send: Active-Low. If programmed as a sync
48I+5V + 10% power input.
TYPENAME AND FUNCTION
transmitter, counter/timer, or DPLL clock. As an output, it can supply the counter/timer
output, the DPLL output, the transmitter shift clock (1X), the receiver sampling clock (1X),
the transmitter BRG clock (16X), The receiver BRG clock (16X), or the internal system
clock (X1/2). The maximum external receiver/transmitter clock frequency is 4MHz.
can be programmed to act as an enable for the transmitter when not in loop mode. The
DUSCC detects logic level transitions on this input and can be programmed to generate an
interrupt when a transition occurs. When operating in the COP loop mode, this pin
becomes a loop control output which is asserted and negated by DUSCC commands.
This output provides the means of controlling external loop interface hardware to go on-line
and off-line without disturbing operation of the loop.
programmable. As a DCD active-Low input, it acts as an enable for the receiver or can be
used as a general purpose input for the DCD function, the DUSCC detects logic level
transitions on this input and can be programmed to generate an interrupt when a transition
occurs. As an active-Low external sync input, it is used in COP modes to obtain character
synchronization without receipt of a SYN character. This mode can be used in disc or
tape controller applications or for the optional byte timing lead in X.21.
Output: Active-Low. For half-duplex DMA operation, this output indicates to the DMA
controller that one or more characters are available in the receiver FIFO (when the
receiver is enabled) or that the transmit FIFO is not full (when the transmitter is enabled).
For full-duplex DMA operation, this output indicates to the DMA controller that data is
available in the receiver FIFO. In non-DMA mode, this pin is a general purpose output that
can be asserted and negated under program control.
Request-to-Send: Active-Low. For full-duplex DMA operation, this output indicates to the
DMA controller that the transmit FIFO is not full and can accept more data. When not in
full-duplex DMA mode, this pin can be programmed as a general purpose or a Request-to
-Send output, which can be asserted and negated under program control (see Detailed
Operation).
Active-Low. For half-duplex single address DMA operation, this input indicates to the
DUSCC that the DMA controller has acquired the bus and that the requested bus cycle
(read receiver FIFO or load transmitter FIFO) is beginning. For full-duplex single address
DMA operation, this input indicates to the DUSCC that the DMA controller has acquired
the bus and that the requested read receiver FIFO bus cycle is beginning. Because the
state of this input can be read under program control, it can be used as a general purpose
input when not in single address DMA mode.
When the channel is programmed for full-duplex single address DMA operation, this input
is asserted to indicate to the DUSCC that the DMA controller has acquired the bus and
that the requested load transmitter FIFO bus cycle is beginning. Because the state of this
input can be read under program control, it can be used as a general purpose input when
not in full-duplex single address DMA mode.
indicate that the requested data transfer is complete.
this pin.
output, it is asserted one bit time after the specified sync character (COP or BISYNC
modes) or a FLAG (BOP modes) is detected by the receiver. As a Request-to-Send
modem control signal, it functions as described previously for the TxDRQN/RTSN pin.
1995 May 01
6
Loading...
+ 12 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.