®
MK50H28
MULTI LOGICAL LINK
FRAME RELAY CONTROLLER
SECTION 1 - FEATURES
Based on ITU Q.933 Annex A and T1.617 An-
nex D Standards for Frame Relay Service and
Additional Pocedures for Permanent Virtual
Circuits(PVCs).
Optional Transparent Mode (no LMI Protocol
Processing - all frame data received).
Local Management Link Protocol with optional
Bi-directional message processing.
Detects and indicates service-affecting errors
in the timing or content of events.
Programmable Timers/Counters: nT1/T391,
nT2/T392, nN1/N391, nN2/N392, nN3/N393
and dN1 for the LMI/LIV channel.
Provides Error Counters for the LMI channel
and Congestion Statistics for all the active
channels.
LMI/LIV Frames can be transmitted/received
on DLCI 0 or 1023.
Supports reception of up to 4 octets of address
field with a maximum of 8192 active channels
or DLCIs (Data Link Connection Identifiers)
Priority DLCI scheme for channels requiring
higher rate of service.
Buffer Management includes:
- Initialization Block
- Address Look Up Table
- Context Table
- Separate Receive and Transmit Rings of vari-
able size for each active channel
On chip DMA control with programmable burst
length.
Handles all HDLC frame formatting:
- Zero bit insertion and deletion
- FCS (CRC) generation and detection
- Frame delimiting with flags
Programmable minimum frame spacing on
transmission (1-62 flags between frames).
Selectable FCS (CRC) of 16 or 32 bits.
Testing Facilities: Internal Loopback, Silent
Loopback, Clockless Loopback, and Self Test.
System clock rates up to 25 MHz.
CMOS process; Fully compatible with both 8
and 16 bit systems; All inputs and outputs are
TTL compatible.
Programmable for full or half duplex operation.
March 2000
DIP48
PLCC52
Pin-for-pin compatible and architecturally the
same as the MK50H25 (X.25/LAPD) and
MK50H27 (CCS#7).
SECTION 2 - DESCRIPTION
The STMicroelectronics MK50H28 Multi-Logical
Link Communications Controller is a CMOS VLSI
device which provides link level data communica-
tions control for Frame Relay Applications on Per-
manent Virtual Circuits (PVCs). The MK50H28
will perform frame formating including: frame de-
limiting with flags, transparency (so-called ”bit-
stuffing”), plus FCS (CRC) generation and detec-
tion. It also supports Local Management Interface
(LMI) protocol with the ”Optional Bidirectional Pro-
cedures” (Annex D, T1.617 - 1991 and T1.617a-
1994).
One of the outstanding features of the MK50H28
is its buffer management which includes on-chip
dual channel DMA. This feature allows users to
receive and transmit multiple data frames at a
time. (A conventional serial communications con-
trol chip plus a separate DMA chip would handle
data for only a single block at a time.) The
1/64
MK50H28
DESCRIPTION
(Continued)
MK50H28 will move multiple blocks of receive
and transmit data directly into and out of memory
through the Host’s bus. Moreover, the memory
management capability includes the chaining of
long frames. A possible system configuration for
the MK50H28 is shown in Figure 1.
The MK50H28 may be used with any of several
popular 16 and 8 bit microprocessors, such as
68000, 6800, Z8000, Z80, LSI- 11, 8086, 8088,
8080, etc.
The MK50H28 may be operated in either full or
half duplex mode. In half duplex mode, the RTS
and CTS modem control pins are provided. In full
duplex mode, these pins become user program-
mable I/O pins. All signal pins on the MK50H28
are TTL compatible. This has the advantage of
making the MK50H28 independent of the physical
interface. As shown in Figure 1, line drivers and
receivers are used for electrical connection to the
physical layer.
DIP48 PIN CONNECTION
(Top view)
VSS-GND
DAL07
DAL06
DAL05
DAL04
DAL03
DAL02
DAL01
DAL00
READ
INTR
DALI
DALO
DAS
BMO, BYTE, BUSREL
BMI, BUSAKO
HOLD, BUSRQ
ALE, AS
HLDA
CS
ADR
READY
RESET
VSS-GND
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
48
47
46
45
44
43
42
41
VCC (+5V)
DAL08
DAL09
DAL10
DAL11
DAL12
DAL13
DAL14
DAL15
A16
A17
A18
A19
A20
A21
A22
A23
RD
DSR, CTS
TD
SYSCLK
RCLK
DTR, RTS
TCLK
M
K
5
0
H
2
8
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
2/64
MK50H28
PLCC52 PIN CONNECTION
(Top view)
No Connect
DAL03
DAL04
DAL05
DAL06
DAL07
8 7
DAL02
DAL01
DAL00
READ
INTR
DALI
DALO
DAS
BMO/BYTE/BUSREL
No Connect
BM1/BUSAKO
HOLD/BUSRQ
ALE/AS
GND
VCC
DAL08
DAL09
DAL10
DAL11
DAL12
1 52
47 46
MK50H28Q
20
21
ADR
READY
RESET
HLDA
CS
GND
No Connect
34
33
TCLK
DTR/RTS
RCLK
SYSCLK
TD
DSR/CTS
DAL13
DAL14
DAL15
A16
A17
A18
A19
A20
A21
A22
No Connect
A23
RD
3/64
MK50H28
TAble 1 -
PIN DESCRIPTION
LEGEND:
I
IO
OD
Note:
Input only
Input / Output
Open Drain (no internal pull-up)
O
3S
Output only
3-State
Pin out for 52 pin PLCC is shown in brackets.
PIN(S)
2-9
40-47
[2-10
44-51]
10
[11]
TYPE
IO/3S
DESCRIPTION
The time multiplexed Data/Address bus. During the address portion of a
memory transfer, DAL<15:00> contains the lower 16 bits of the memory
address.
During the data portion of a memory transfer, DAL<15:00> contains the read
or write data, depending on the type of transfer.
READ indicates the type of operation that the bus controller is performing
during a bus transaction. READ is driven by the MK50H28 only while it is the
BUS MASTER. READ is valid during the entire bus transaction and is
tristated at all other times.
MK50H28 as a Bus Slave :
READ = HIGH - Data is placed on the DAL lines by the chip.
READ = LOW - Data is taken off the DAL lines by the chip.
MK50H28 as a Bus Master :
READ = HIGH - Data is taken off the DAL lines by the chip.
READ = LOW - Data is placed on the DAL lines by the chip.
INTERRUPT is an attention interrupt line that indicates that one or more of
the following CSR0 status flags is set: MISS, MERR, RINT, TINT or PINT.
INTERRUPT is enabled by CSR0<09>, INEA=1.
DAL IN is an external bus transceiver control line. DALI is driven by the
MK50H28 only while it is the BUS MASTER. DALI is asserted by the
MK50H28 when it reads from the DAL lines during the data portion of a
READ transfer. DALI is not asserted during a WRITE transfer.
DAL OUT is an external bus transceiver control line. DALO is driven by the
MK50H28 only while it is the BUS MASTER. DALO is asserted by the
MK50H28 when it drives the DAL lines during the address portion of a READ
transfer or for the duration of a WRITE transfer.
DATA STROBE defines the data portion of a bus transaction. By definition,
data is stable and valid at the low to high transition of DAS. This signal is
driven by the MK50H28 while it is the BUS MASTER. During the BUS
SLAVE operation, this pin is used as an input. At all other times the signal is
tristated.
I/O pins 15 and 16 are programmable through CSR4. If bit 06 of CSR4 is set
to a one, pin 15 becomes input BUSREL and is used by the host to signal
the MK50H28 to terminate a DMA burst after the current bus transfer has
completed. If bit 06 is clear then pin 15 is an output and behaves as
described below for pin 16.
Pins 15 and 16 are programmable through bit 00 of CSR4 (BCON).
If CSR4<00> BCON = 0,
I/O PIN 15 = BMO (O/3S)
I/O PIN 16 = BM1 (O/3S)
BYTE MASK<1:0> Indicates the byte(s) on the DAL to be read or written
during this bus transaction. MK50H28 drives these lines only as a Bus
Master. MK50H28 ignores the BM lines when it is a Bus Slave.
Byte selection is done as outlined in the following table.
BM1
BM0
TYPE OF TRANSFER
LOW
LOW
ENTIRE WORD
LOW
HIGH
UPPER BYTE
(DAL<15:08>)
HIGH
LOW
LOWER BYTE
(DAL<07:00>)
HIGH
HIGH
NONE
SIGNAL NAME
DAL<15:00>
READ
IO/3S
INTR
11
[12]
12
[13]
O/OD
DALI
O/3S
DALO
13
[14]
O/3S
DAS
14
[15]
IO/3S
BMO
BYTE
BUSREL
15
[16]
IO/3S
BM1
BUSAKO
16
[18]
O/3S
4/64
MK50H28
Table 1:
PIN DESCRIPTION (continued)
SIGNAL NAME
PIN(S)
TYPE
DESCRIPTION
If CSR4<00> BCON = 1,
I/O PIN 15 = BYTE (O/3S)
I/O PIN 16 = BUSAKO (O)
Byte selection is done using the BYTE line and DAL<00> latched during the
address portion of the bus transaction. MK50H28 drives BYTE only as a Bus
Master and ignores it when a Bus Slave. Byte selection is done as outlined
in the following table.
BYTE
DAL<00>
TYPE OF TRANSFER
LOW
LOW
ENTIRE WORD
LOW
HIGH
ILLEGAL CONDITION
HIGH
LOW
LOWER BYTE
HIGH
HIGH
UPPER BYTE
BUSAKO is a bus request daisy chain output. If MK50H28 is not requesting
the bus and it receives HLDA, BUSAKO will be driven low. If MK50H28 is
requesting the bus when it receives HLDA, BUSAKO will remain high
Note: All transfers are entire word unless the MK50H28 is configured for 8 bit
operation.
HOLD
BUSRQ
17
[19]
IO/OD
Pin 17 is configured through bit 0 of CSR4.
If CSR4<00> BCON = 0,
I/O PIN 17 = HOLD
HOLD request is asserted by MK50H28 when it requires a DMA cycle, if
HLDA is inactive, regardless of the previous state of the HOLD pin. HOLD is
held low for the entire ensuing bus transaction.
If CSR4<00> BCON = 1,
I/O PIN 17 = BUSRQ
BUSRQ is asserted by MK50H28 when it requires a DMA cycle if the prior
state of the BUSRQ pin was high and HLDA is inactive. BUSRQ is held low
for the entire ensuing bus transaction.
The active level of ADDRESS STROBE is programmable through CSR4.
The address portion of a bus transfer occurs while this signal is at its
asserted level. This signal is driven by MK50H28 while it is the BUS
MASTER. At all other times, the signal is tristated.
If CSR4<01> ACON = 0,
I/O PIN 18 = ALE
ADDRESS LATCH ENABLE is used to demultiplex the DAL lines and define
the address portion of the transfer. As ALE, the signal transitions from high
to low during the address portion of the transfer and remains low during the
data portion.
If CSR4<01> ACON = 1,
I/O PIN 18 = AS
As AS, the signal pulses low during the address portion of the bus transfer.
The low to high transition of AS can be used by a slave device to strobe the
address into a register.
AS is effectively the inversion of ALE.
HOLD ACKNOWLEDGE is the response to HOLD. When HLDA is low in
response to MK50H28’s assertion of HOLD, the MK50H28 is the Bus
Master. HLDA should be deasserted ONLY after HOLD has been released
by the MK50H28.
CHIP SELECT indicates, when low, that the MK50H28 is the slave device
for the data transfer. CS must be valid throughout the entire transaction.
ADDRESS selects the Register Address Port or the Register Data Port. It
must be valid throughout the data portion of the transfer and is only used by
the chip when CS is low.
ADR
PORT
LOW
REGISTER DATA PORT
HIGH
REGISTER ADDRESS PORT
When the MK50H28 is a Bus Master, READY is an asynchronous
acknowledgement from the bus memory that memory will accept data in a
WRITE cycle or that memory has put data on the DAL lines in a READ cycle.
ALE
AS
18
[20]
O/3S
HLDA
19
[21]
I
CS
ADR
20
[22]
21
[23]
I
I
READY
22
[24]
IO/OD
5/64