Circuit for interfacing microcomputer to peripheral devices
First Claim
Patent Images
1. An interface circuit for interfacing a plurality of serial channel peripheral devices to a CPU of a microcomputer, the interface circuit having a plurality of serial channels and further comprising:
- means for simultaneously generating a plurality of baud rates;
a plurality of means electrically connected to the generating means for selecting a predetermined one of the baud rates, each of said selecting means having means for communicating a predetermined one of the baud rates to one of the serial channels;
means electrically connected to each selecting means for gating data serially over one of the serial channels at the selected baud rate to one of the serial channel peripheral devices; and
means for communicating data from the CPU to each gating means.
0 Assignments
0 Petitions
Accused Products
Abstract
A microcomputer for controlling an automated materials handling system, the microcomputer having a novel interface circuit permitting direct interface with a wide variety of peripheral devices, both serial and parallel and at any one of a variety of communication rates selected to maximize machine efficiency under a wide range of noise conditions. A safety relative timer circuit terminates operation of the machine if the S/R machine does not complete a task within a predetermined time increment.
24 Citations
19 Claims
-
1. An interface circuit for interfacing a plurality of serial channel peripheral devices to a CPU of a microcomputer, the interface circuit having a plurality of serial channels and further comprising:
-
means for simultaneously generating a plurality of baud rates; a plurality of means electrically connected to the generating means for selecting a predetermined one of the baud rates, each of said selecting means having means for communicating a predetermined one of the baud rates to one of the serial channels; means electrically connected to each selecting means for gating data serially over one of the serial channels at the selected baud rate to one of the serial channel peripheral devices; and means for communicating data from the CPU to each gating means. - View Dependent Claims (2, 3, 4, 5)
-
-
6. An interface circuit for interfacing a microcomputer having a CPU to at least two distinct peripheral devices, each peripheral device communicating serially with the interface circuit over one of a plurality of output channels provided in the interface circuit, the interface circuit further comprising in combination:
-
a baud rate selection register and means for communicating baud rate selection data from the CPU to the baud rate selection register; a baud rate generator for generating a plurality of baud rates; a clock generator; transmitting means electrically connected to the baud rate generator, baud rate selection register and clock generator, said transmitting means responding to the data in the baud rate selection register so as to transmit a selected one of the plurality of generated baud rates to the clock generator, thereby driving the clock generator at the selected baud rate; means for enabling one of the output channels, the enabling means comprising a channel select circuit and means for communicating address data from the CPU to the channel select circuit so as to permit the channel select circuit to enable a predetermined one of the output channels in response to a preselected combination of address signals from the CPU; means for converting parallel format data from the CPU to serial format data, said converting means also being electrically connected to the clock generator and comprising means responsive to the clock generator for gating the serial format data over the selected output channel at the selected baud rate to a peripheral device; and means for communicating the parallel format data from the CPU to the converting means. - View Dependent Claims (7, 8)
-
-
9. An interface circuit for a microcomputer having a CPU which communicates only in parallel, said interface circuit interfacing the CPU to at least two peripheral devices, one of the peripheral devices communicating serially with the interface circuit and the other peripheral device communicating in parallel with the interface circuit, the interface circuit having at least one serial channel for accommodating serial communication in both the transmit and receive modes and at least one parallel channel for accommodating parallel communication in both the transmit and receive modes, said interface circuit further comprising:
-
a serial channel integrated circuit adaptor connected to the serial channel, said adaptor comprising means for receiving address and read-write control signals from the CPU and means for communicating data between the CPU and serial channel peripheral device, said communicating means comprising means for two-way conversion of data format between parallel format and serial format; a parallel channel integrated circuit adaptor connected to the parallel channel, said adaptor comprising means for receiving address and read-write control signals from the CPU and means for communicating parallel format data between the CPU and parallel communicating peripheral device; means for selecting one of the channels for communicating data between the CPU and one of the peripheral devices, said selecting means comprising means for transmitting address signals from the CPU to the address signal receiving means of each adaptor, the address signals comprising a unique code effective to enable a predetermined one of the channels to communicate data between the CPU and one of the peripheral devices, said selecting means further comprising means for transmitting the read-write control signal from the CPU to the read-write signal receiving means of each adaptor, the read-write signal determining one of the transmit and receive modes for the selected channel; a baud rate generator for generating a plurality of baud rates; and means electrically connected to the baud rate generator for selecting a predetermined one of the baud rates, said baud rate selecting means being also connected to the two-way data format conversion means so as to accommodate serial communication between the CPU and the serial channel peripheral device at the selected baud rate when the serial channel has been selected for communication.
-
-
10. An interface circuit for interfacing a microcomputer having a CPU to a plurality of serial-channel peripheral devices and a purality of parallel-channel peripheral devices, the interface circuit having a plurality of serial channels and a plurality of parallel channels and further comprising:
-
means for generating a plurality of baud rates; an interface adaptor for each serial channel, the interface adaptor comprising means for receiving both output data and control data from the CPU in parallel format, said adaptor further comprising means for converting parallel format data to serial format data, and a clock generator electrically connected to said converting means, the clock generator gating serial format data through the converting means onto a selected serial channel at a preselected baud rate; a baud rate selection register; means for transmitting baud rate selection data from the CPU to the baud rate selection register; multiplexing means electrically connected to the baud rate generating means, baud rate selection register, and the clock generator, said multiplexing means responding to the data in the baud rate selection register so as to transmit a selected one of the plurality of generated baud rates to the clock generator, thereby driving the clock generator at the selected baud rate; a parallel channel adaptor comprising means for receiving both output data and control data from the CPU in parallel format, said adaptor further comprising gating means electrically connected to said receiving means for gating parallel format data onto a selected parallel channel; means for communicating output data from the CPU to each adaptor; and means for communicating control data from the CPU to each adaptor, said control data comprising a preselected combination of address signals which will enable the data receiving means of only one adaptor at a time to receive output data from the CPU. - View Dependent Claims (11, 12)
-
-
13. A method of interfacing a CPU through an interface circuit having a plurality of serial channels to a plurality of serially communicating peripheral devices, each peripheral device being designed to operate at a predetermined baud rate, the method comprising the steps of:
-
simultaneously generating a plurality of baud rates in the interface circuit; selecting a baud rate for each serial channel that is compatible with the design of the peripheral device communicating over that channel; communicating data from the CPU to each serial channel in the interface circuit; enabling one of the serial channels; and serially gating the data at the selected baud rate over the enabled serial channel to one of the peripheral devices. - View Dependent Claims (14)
-
-
15. A method of interfacing a CPU of a microcomputer through an interface circuit having a plurality of both serial and parallel bi-directional data channels to a plurality of both parallel and serial channel peripheral devices, the method comprising the steps of:
-
sending address and read-write instruction signals to both the serial and parallel data channels; selecting one of the data channels for communicating data between the CPU and one of the peripheral devices, said selecting step comprising enabling only one of the serial or parallel data channels in response to the address instruction signals; determining the directional flow of data between the CPU and one of the peripheral devices in response to the read-write instruction signals; simultaneously generating a plurality of baud rates; selecting a baud rate for each serial channel that is compatible with the design of the peripheral device communicating over that channel; and communicating the data through the enabled data channel in the selected direction, said data communicating step comprising communicating data at the selected baud rate whenever a serial channel is enabled.
-
-
16. A method of interfacing a CPU through an interface circuit having a plurality of both serial and parallel data channels, each channel comprising an interface adaptor, the interface circuit further having a baud rate generator, a plurality of multiplexers connected to the output of the baud rate generator, and a timing clock internal to each serial channel adaptor and connected to the output of one of the multiplexers, the CPU being interfaced to a plurality of serial and parallel channel peripheral devices, and the method comprising the steps of:
-
communicating address data from the CPU to each of the interface adaptors, and enabling a preselected one of the adaptors in response to the address data; generating a plurality of baud rates and communicating the plurality of baud rates to the multiplexers; transmitting baud rate selection instructions from the CPU to the multiplexers and thereafter transmitting from one of the multiplexers a selected one of the plurality of baud rates to the timing clock internal of a corresponding adaptor so as to drive the clock at the selected baud rate; and communicating data between the peripheral device and the microcomputer through the selected interface adaptor, said data being communicated at the selected baud rate by the timing clock when a serial channel adaptor is enabled. - View Dependent Claims (17)
-
-
18. An interface circuit for interfacing a plurality of serial channel peripheral devices to a CPU of a microcomputer, the interface circuit having a plurality of serial channels and further comprising:
-
means for simultaneously generating a plurality of baud rates; a plurality of means electrically connected to the generating means for selecting a predetermined one of the baud rates, each of said selecting means having means for communicating a predetermined one of the baud rates to one of the serial channels; means electrically connected to each selecting means for serially receiving data from one of the peripheral devices at the selected baud rate over one of the serial channels; and means for communicating the data from the interface circuit to the CPU.
-
-
19. A method of interfacing a CPU through an interface circuit having a plurality of serial channels to a plurality of serially communicating peripheral devices, each peripheral device being designed to operate at a predetermined baud rate, the method comprising the steps of:
-
simultaneously generating a plurality of baud rates in the interface circuit; selecting a baud rate for each serial channel that is compatible with the design of the peripheral device communicating over that channel; enabling one of the serial channels; receiving data serially into the interface circuit at the selected compatible baud rate, the data being sent from one of the peripheral devices; and communicating the data from the interface circuit to the CPU.
-
Specification