mk68564 STMicroelectronics, mk68564 Datasheet

no-image

mk68564

Manufacturer Part Number
mk68564
Description
Serial Input Output
Manufacturer
STMicroelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MK68564
Manufacturer:
ST
0
Part Number:
mk68564AN-4
Manufacturer:
MYSON
Quantity:
6 218
Part Number:
mk68564N-04A
Manufacturer:
ST
0
Part Number:
mk68564N-05
Manufacturer:
ST
Quantity:
6 224
Part Number:
mk68564N-05
Manufacturer:
ST
0
Part Number:
mk68564N-44
Manufacturer:
ST
0
Part Number:
mk68564N-4A
Manufacturer:
ST
Quantity:
68
Part Number:
mk68564N-4A
Manufacturer:
MK
Quantity:
6 262
Part Number:
mk68564N-4A
Manufacturer:
XILINX
0
Part Number:
mk68564Q-04
Manufacturer:
ST
Quantity:
5 510
.
.
.
.
.
.
.
.
.
.
.
.
.
January 1989
COMPATIBLE WITH MK68000 CPU
COMPATIBLE WITH MK68000 SERIES DMA’s
TWO INDEPENDENT FULL-DUPLEX CHAN-
NELS
TWO INDEPENDENT BAUD-RATE GENER-
ATORS
DIRECTLY ADDRESSABLE REGISTERS
(all control registers are read/write)
DATA RATE IN SYNCHRONOUS OR ASYN-
CHRONOUS MODES
SELF-TEST CAPABILITY
RECEIVE DATA REGISTERS ARE QUADRU-
PLY BUFFERED ; TRANSMIT REGISTERS
ARE DOUBLY BUFFERED
DAISY-CHAIN PRIORITY INTERRUPT LOGIC
PROVIDES AUTOMATIC INTERRUPT VECTO-
RING WITHOUT EXTERNAL LOGIC
MODEM STATUS CAN BE MONITORED
ASYNCHRONOUS FEATURES
BYTE SYNCHRONOUS FEATURES
BIT SYNCHRONOUS FEATURES
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Crystal oscillator input
Single-phase TTL clock input
0-1.25M bits/second with 5.0MHz system
clock rate
Separate modem controls for each channel
5, 6, 7, or 8 bits/character
1, 1
Even, odd, or no parity
x1, x16, x32, and x64 clock modes
Break generation and detection
Parity, overrun, and framing error detection
Internal or external character synchronization
One or two sync characters in separate regis-
ters
Automatic sync character insertion
CDC-16 or CRC-CCITT block check genera-
tion and checking
Abort sequence generation and detection
Automatic zero insertion and deletion
Automatic flag insertion between messages
Address field recognition
I-field residue handling
Valid receive messages protected from over-
run
CRC-16 or CRC-CCITT block check genera-
tion and checking
1/2
, or 2 stop bits
DESCRIPTION
The MK68564 SIO (Serial Input Output) is a dual-
channel, multi-function peripheral circuit, designed
to satisfy a wide variety of serial data communica-
tions requirements in microcomputer systems. Its
basic function is a serial-to-parallel, parallel-to-serial
converter/controller ; however within that role, it is
systems software configurable so that its ”persona-
lity” may be optimized for any given serial data
communications application.
The MK68564 is capable of handling asynchronous
protocols, synchronous byte-oriented protocols
(such as IBM Bisync), and synchronous bit-oriented
protocols (such as HDLC and IBM SDLC). This ver-
satile device can also be used to support virtually
any serial protocol for applications other than data
communications (cassette or floppy disk interface,
for example).
The MK68564 can generate and check CRC codes
in any synchronous mode and may be programmed
to check data integrity in various modes. The device
also has facilities for modem controls in each chan-
nel. In applications where these controls are not
needed, the modem controls may be used for gene-
ral-purpose I/O.
SERIAL INPUT OUTPUT
(Plastic Package)
1
(Chip Carrier)
PLCC52
PDIP48
MK68564
1/46

Related parts for mk68564

mk68564 Summary of contents

Page 1

... PDIP48 (Plastic Package) PLCC52 (Chip Carrier) DESCRIPTION The MK68564 SIO (Serial Input Output dual- channel, multi-function peripheral circuit, designed to satisfy a wide variety of serial data communica- tions requirements in microcomputer systems. Its basic function is a serial-to-parallel, parallel-to-serial converter/controller ; however within that role systems software configurable so that its ” ...

Page 2

... Volts ( 5 Chip Select (input, active low used to select the MK68564 SIO for accesses to the internal registers. CS and IACK must not be asserted at the same time. R/W : Read/write (input). R/W is the signal from the bus master, indicating wether the current bus cycle is a Read (high) or Write (low) cycle. ...

Page 3

SIO PIN DESCRIPTION (continued) RxCA, RxCB : Receiver Clocks (input/output). Programmable pin, receive clock input, or baud rate generator output. The inputs are Schmit-trigger buffered to allow slow rise-time input signals. TxCA, TxCB : Transmitter Clocks (input/output). Programmable pin, transmit ...

Page 4

... SIO SYSTEM INTERFACE INTRODUCTION The MK68564 SIO is designed for simple and effi- cient interface to a MK68000 CPU system. All data transfers between the SIO and the CPU are asyn- chronous to the system clock. The SIO system timing is derived from the chip select input (CS) du- ...

Page 5

... Figure 2 : Conceptual Circuit of the MK68564 SIO Daisy Chaining Logic. Figure 3 : Daisy Chaining. Figure 4 : DMA Interface Timing. V000376 V000377 V000378 5/46 ...

Page 6

... Both channels are reset as listed above, and the vector register is reset to ”0FH”. 6/46 ARCHITECTURE The MK68564 SIO contains two independent, full- duplex channels. Each channel contains a transmit- ter, receiver, modem control logic, interrupt control logic, a baud rate generator, ten Read/Write regis- ters, and two read only status registers ...

Page 7

Figure 5 : Register Bit Functions. 7/46 ...

Page 8

... SIO INTERNAL REGISTERS The MK68564 SIO has 25 internal registers. Each channel has ten R/W registers and two read only registers associated with it. The vector register may be accessed through either channel. Table 1 : Register Map. Address Abbreviation CMDREG ...

Page 9

Figure 6 : Transmit and Receive Data Paths. V000379 9/46 ...

Page 10

DATA PATH The transmit and receive data paths for each chan- nel are shown in figure 6. The receiver has three 8-bit buffer registers in a FIFO arrangement (to pro- vide a 3-byte delay) in addition to the 8-bit receive ...

Page 11

Note that the CRC generator re- sult (frame check) for SDLC data is also routed through the zero insertion logic. I/O CAPABILITIES The SIO offers the choice of Polling, Interrupt (vec- tored or non-vectored), and DMA ...

Page 12

To reini- tialize the external/status logic to detect another transition, a Reset External/Status Interrupts command must be issued. The Break/Abort condi- tion allows the ...

Page 13

... ASYNCHRONOUS OPERATION INTRODUCTION Many types of Asynchronous operations are perfor- med by the MK68564 SIO. Figure 9 represents a ty- pical Asynchronous message format and some of the options available on the SIO. The transmit pro- cess inserts start, stop, and parity bits to a variable data format and supplies a serial data stream to the Transmit Data output (TxD) ...

Page 14

Figure 9 : Asynchronous Message Format. The SIO provides five I/O lines that may be used for modem control, for external interrupts general purpose I/O. The Request To Send (RTS) and Data Terminal Ready (DTR) pins are outputs ...

Page 15

Transmitter Control Register may also be u- sed to signal the end of transmission. If this bit is set to a one, its associated output pin (RTS) will go Low. When this bit is reset to a zero, ...

Page 16

Command 2 has been issued, and another Exter- nal/Status interrupt request will be generated. This interrupt should also be handled by issuing Command 2 to reinitialize the external/status logic. At the end of the break sequence, a single null char- ...

Page 17

Control Register, Interrupt Control Register, Recei- ver Control Register, Transmitter Control Register, Sync Word 1, and Sync Word 2. The Mode Control Register must be programmed before other regis- ters to assure proper operation of the SIO. The fol- lowing ...

Page 18

Start of Transmission. Transmission will begin with the loading of the first data character into the transmit buffer, ...

Page 19

Data Transfer. A Transmit Interrupt is generated each time the transmit buffer becomes empty. The interrupt may be satisfied either by writing another character into the transmit buffer or by resetting the Transmit Interrupt Pending latch with a Reset Tx ...

Page 20

Bisync Protocol Transmission Bisync Proto- col operation, once synchronization is achieved be- tween the transmitter and receiver, fill characters are inserted to maintain that synchronization when the transmitter has no more data to send. The diffe- rent options ...

Page 21

... FIFO. SDLC/HDLC OPERATION INTRODUCTION The MK68564 SIO is capable of handling both High- level Synchronous Data Link Control (HDLC) and IBM Synchronous Data Link Control (SDLC) proto- cols. In the following discussion, only SDLC is ref- erenced because of the high degree of similarity between SDLC and HDLC ...

Page 22

Figure 12 : Transmit/Receive SDLC/HDLC Message Format. sage length and bit patterns. The SIO has several built-in features to handle variable message length. Detailed information concerning SDLC protocol can be found in literature on this subject, such as IBM do- ...

Page 23

Note : If a character is loaded into the transmit buf- fer before enabling the transmitter, that character will be sent in place of a flag. ...

Page 24

It does this by first sending the two bytes of CRC and the following these with one or more flags. This technique allows very high-speed transmission under DMA or CPU control, without re- quiring the CPU ...

Page 25

Receiver Characteristics. The receiver may be programmed to assemble five to eight data bits into a character. The character is right-justified in the shift register and transferred to the receive data FI- FO. All data transfers to the FIFO are ...

Page 26

... Reset Tx Underrun/End of Message Latch Null Code. The null code has no effect on the MK68564 SIO used when writing to the Command Register for some reason other than a CRC Reset. Reset Receiver CRC Checker necessary in Synchronous modes (except SDLC) to reset the re- ceiver CRC circuitry between received messages ...

Page 27

... FIFO until this command is issued. Command 7 (Null). The Null command has no ef- fect on the MK68564 SIO. D2 Not Used (read as zeros Loop Mode When this bit is set the transmitter output is connected to the receiver input and TxC is connec- ted to the receiver clock ...

Page 28

CLO CK CLO CK Multiple RATE 1 RATE Clock Rate = Data Rate 0 1 x16 Clock Rate = 16 x Data Rate 1 0 x32 Clock Rate = 32 x Data Rate 1 1 x64 ...

Page 29

... The Status Affects Vector control bits from both channels are logical ”or” ed together ; therefore, if ei- ther is programmed to a one, its operation affects both channels. This is the only control bit that func- tions in this manner on the MK68564 Interrupt Condition ...

Page 30

CRC transmission when the Transmit Underrun/EOM latch in Status Register 0 becomes set. When this bit is zero, no Ex- ternal/Status interrupts will occur. If this bit is set when an External/Status condition is ...

Page 31

D3 : Receiver CRC Enable This bit, when set to a one in a Synchronous mode other than SDLC, is used to initiate CRC calculation at the beginning of the last byte transferred from the receiver shift register to the ...

Page 32

D5 : Transmit Auto Enables When this bit is set to a one, and the Transmit Ena- ble bit is also set, a Low on the CTS input pin will en- able the transmitter. When this bit is zero, the ...

Page 33

CRC at the end of a message in Synchronous modes. When a transmit underrun condition occurs and this bit is low. CRC will be appended to the end of the transmission, and this bit will be set. Only the 0-to-1 ...

Page 34

SDLC CRC/Framing Error In Asynchronous modes Framing Error occurs, this bit is set to a one for the receive character in which the framing error occurred. When this bit is set to a one, a Special ...

Page 35

FIFO. The Da- ta Register is not affected by a channel or hardware reset. TIME CONSTANT REGISTER (TCREG) This register contains the time constant used by the down counter in the baud rate generator. ...

Page 36

... MK68564 ELECTRICAL SPECIFICATIONS ABSOLUTE MAXIMUM RATINGS Symbol Temperature Under Bias Storage Temperature Voltage on Any Pin with Respect to Ground Power Dissipation Stresses above those listed under ”Absolute Maximum Ratings” may cause permanent damage to the device. This is a stress rating only functional operation of the device at these or any other condition above those indicated in the operational sections of this specification is not implied ...

Page 37

AC ELECTRICAL CHARACTERISTICS (V = 5.0 VDC 5%, GND = 0 VDC Number Parameter 1 CLK Period 2 CLK Width High 3 CLK Width Low 4 CLK Fall Time 5 CLK Rise Time 6 CS Low to ...

Page 38

AC ELECTRICAL CHARACTERISTICS (continued 5.0 VDC 5%, GND = 0 VDC Number Parameter 40 CS HIGH TO DATA Out High Impedence IACK High to CLK Low 42 TxRDY or RxRDY Width Low ...

Page 39

Figure 13 : Output Test Load. For al l Outputs Except DTACK, D0-D7 IN TR, XTAL2 C = 130pf 16K 450 DTACK, D0- 130pf ...

Page 40

Figure 16 : Write Cycle. Not e : Waveform Measurements for all Inputs and Output s are Specified at Logic High = 2.0 Volt s, Logic Low = 0.8 Volts. 40/46 V000390 ...

Page 41

Figure 17 : Interrupt Acknoledge Cycle (IEI low). Not e : Waveform Measurements for all Inputs and Output s are Specified at Logic High = 2.0 Volt s, Logic Low = 0.8 Volts. V000391 41/46 ...

Page 42

Figure 18 : Interrupt Acknoledge Cycle (IEI high). Not e : Waveform Measurements for all Inputs and Output s are Specified at Logic High = 2.0 Volt s, Logic Low = 0.8 Volts. 42/46 V000392 ...

Page 43

Figure 19 : DMA Interface Timing. Not e : Waveform Measurements for all Inputs and Output s are Specified at Logic High = 2.0 Volt s, Logic Low = 0.8 Volts. V000393 43/46 ...

Page 44

Figure 20 : Serial Interface Timing. Not e : Waveform Measurements for all Inputs and Output s are Specified at Logic High = 2.0 Volt s, Logic Low = 0.8 Volts. 44/46 V000394 ...

Page 45

... MK68564 52-PIN Plastic Leader Chip Carrier (Q) 45/46 ...

Page 46

... MK68564 48-PIN Plastic Dual-IN-Line Package MK68564 ORDER CODES Part No. Package Type MK6 8564N-04 MK6 8564N-05 MK 68564Q-04 MK 68564Q-05 Information furnished is believed to be accurate and reliable. However, SGS-THOMSON Microelectronics assumes no responsability for the consequences of use of such information nor for any infringement of patents or other rights of third parties which may result from its use ...

Related keywords