6-6. 8253 Controls
Baud rate of this interface will be determined by the clock output of the 8253. The 8251 is configured such that its baud rate is 1/16 of the input clock and has the following relation between the 8253 output clock and the baud rate:
8253 input frequency: 2457.6kHz
8253 Mode set: Mode 3(rec'angle waveform rategenerator)
|
|
| MZ 3500 | |
Baud rale | 8253 | 8253 | ||
Output frequency | Parameter | |||
|
| |||
| 1 1 0 .t - | 1 7 6 0 H z | 1 3 9 6.3 6 | |
| 300 | 4 8 0 0 | 51 2 | |
| 600 | 9 6 00 | 256 | |
1 | 200 | 1 9 2 0 0 | 128 | |
2 4 0 0 | 3 8 4 0 0 | 64 | ||
4 8 0 0 | 7 6 8 0 0 | 32 | ||
9 6 0 0 | 153600 | 1 6 |
Control signals
Signal name | Symbol | IN/OUT | Function |
Transmission enabled | CS | When high, data input from a peripheral is enabled. | |
|
|
| When low, data input from a peripheral is disabled. |
Data set ready | DR | — Peripheral | Goes high when power is on to the interface unit. |
Carrier detect | CD | — Peripheral | |
|
|
| |
Ready | READY | — Peripheral | Data output from the interface isenabled. |
|
|
| (ON) Data is output from the interface. |
|
|
| (OFF) Waits for data output. |
|
|
| NOTE: A maximum of two bytes are output after the signal goes from high to low |
|
|
| state. |
Equipment ready | ER | «- Peripheral | Indicates that the peripheral is ready. It results in an error if low or open when data |
|
|
| is sent from the interface. This signal will be invalidated when the SW5 is turned |
|
|
| off. |
Paper out | PO | <- Peripheral | |
|
|
|
6-7. Description of LSI's
1)UPD8251AC (Programmable Communication Interface) The UPD8251A is a USART (Universal Synchronous/ Asynchronous Receiver/Transmitter that was specifical- ly designed for data communication.
The USART receives parallel data from the CPU and converts it into serial data before transmitting. Also, serial data is received from an external circuit and trans- ferred to the CPU after converting it into parallel. The CPU can monitor the current state of the USART at any time (data transfer error, and control signal of
,SYNDETandTXEMPTY.
•8080A/8085A compatible
•Synchronous/asychronous operation
•Synchronous operation 5
Clock rate: baud rate x 1, x16, x64 BREAK character generation Stop bit: 1, 1.5, 2 bits
Error start bit detection
Automatic break detection and operation.
•Baud rate: DC - 64Kbaud
•
Double buffer type transmitter/receiver
•Error detect
Parity, overrun, framing
•Input/output TTL compatible
•
•Single +5Vsupply
•Single phase TTL level clock
•
•Intel 8251A compatible
Pin configuration (Top View)
<28 »OD1
3?5 PORTS'
SYNDET BD TXRDY
Block diagram
|
| Data |
|
| 1 |
|
|
| 8 | „«. | Transmission |
| |
bus |
|
| ||||
|
| buffer |
|
|
|
|
|
|
|
| 8 | t * |
|
|
|
| 8 |
|
| |
RESET O | »• | Read/ |
| Transmissic>n | _ | |
|
| control ' | X>TXE | |||
|
| write |
|
|
| |
|
|
|
| 34 | OTXC | |
|
| control |
|
| ||
|
|
|
|
|
| |
|
| logic |
|
| Reception |
|
|
|
|
| 8 |
| |
|
|
|
| buffer |
| |
|
| * |
|
| ( S |
|
Dsko | m |
|
| t 1 |
| |
| ^_ |
|
| |||
|
| MOOhM |
|
| ||
|
|
|
| Receiver |
| |
t rscx— x: controller | 8 |
|
| |||
^ | control |
| ||||
k'l so* | c |
|
|
|
| H I ) |
|
|
|
|
|
|
V
Internal data bus^
- 75 -