EP0359137A2

Universal asynchronous receiver/transmitter.

Abstract

Data characters to be transferred from a peripheral device to a central processing unit are serially shifted into the receiver shift register of a universal asynchronous receiver/transmitter (UART). A multiple byte first-in-first-out memory stores a plurality of data characters received by the shift register. The UART checks the status of each data character stored in the FIFO to determine whether it will trigger an exception. A bytes till exception register indicates the number of data characters remaining in the FIFO until an exception is encountered. Then, upon request by the CPU, the UART provides the count of consecutive valid data characters from the top of the FIFO to the first exception, eliminating the need to check status on every transferred byte. Each of the multiple channels of the UART includes an Initialization Register. Setting the appropriate bit Initialization Register of any UART channel allows concurrent writes to the same selected register in each channel's register set. This function reduces initialization time for all of the common parameters that are loaded into each channel's registers. The UART implements a methodology which allows for the processing of any control characters or errors received by the UART during DMA while internal and/or external FIFOs are being used.

EP0359137A2, drawing sheet 1
Sheet 1 of 13

Term

Term ended

Projected expiry passed 8 September 2009, 17 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

32 claims: 13 independent, 19 dependent

  1. 1
    In a data communications device that transfers digital data characters received from a first station to a second station and that includes receiver memory means having storage capacity for a plurality of received data characters, the improvement comprising a counter connected to the receiver memory means for indicating a number of consecutive valid data characters that have been received by the receiver memory means for transfer to the second station before an exception is encountered.
  2. 3
    A data communications system comprising (a) a first station;(b) a second station that includes means for issuing a read access request;and (c) a data communications device that transfers data characters received from the first station to a second station, the data communications device comprising (i) receiver memory means having a storage capacity for a plurality of data characters received from the first station;(ii) means responsive to the receiver memory means for indicating the number of consecutively received valid data characters remaining in the receiver memory means for transfer to the second station upon receipt of a read access request from the second station;and means responsive to a read access request from the second station for transferring the number of consecutively received valid data characters to the second station.
  3. 4
    A data communications device that performs serial-to-parallel conversion on digital data characters received from a first station for transfer to a second station, the data communications device comprising (a) a receiver shift register that receives data characters serially transferred from the first station;(b) receiver memory means for storing a plurality of data characters received from the receiver shift register for transfer to the second station;(c) means for identifying whether each data character received by the receiver memory means will trigger an exception;(d) means for indicating a number of consecutive data characters stored in the receiver memory means that are available for transfer to the second station until an exception is triggered;and(e) means for transferring the number of consecutive data characters to the second station.
  4. 10
    A data communications system comprising:(a) means for storing a plurality of data characters received by a data communications from a first station;(b) means for determining whether each received data character will trigger an exception;(c) means for maintaining a count of the number of consecutive stored data characters that can be transferred to a second station before an exception is encountered;(d) means for transferring the number of consecutive stored data characters to the second station.
  5. 11
    A method of reading a plurality of data characters from a data communications device that receives data character from a first station and transfers the received data characters to a second station, the method comprising:(a) storing a plurality of data characters received by the data communications device from the first station;(b) determining whether each received data character will trigger an exception;(c) maintaining a count of the number of consecutive stored data characters that can be transferred to the second station before an exception is encountered;(d) transforming the number of consecutive valid data characters to the second station.
  6. 17
    In a data communications device that includes a plurality of communications channels for transferring data characters between a first system and a plurality of peripheral systems, each of the channels being associated with a corresponding peripheral system for data character transfer between that peripheral system, and the first system, wherein each channel includes an identical register set having for storing digital information the improvement comprising an alternate function selector for enabling concurrent writes to the same selected register in each channel's register set.
  7. 18
    A data communications device that transfers data characters between a plurality of peripheral stations and a common central station, the data communications device comprising (a) a plurality of communications channels, each channel being associated with a corresponding one of the peripheral stations for data character transfer between that peripheral station and the central station, each channel including an identical register set that includes at least one register for storing digital information relating to the data character transfers;(b) means for loading digital information into the register sets;and(c) means connected to each of the channels for enabling concurrent writes to the same selected register in each channel's register set.
  8. 20
    A method of transferring data characters from the system memory of a data processing system having a direct memory access unit associated therewith to a data communications device utilizing the direct memory access unit, the data communications device including transmitter memory means having storage locations for a plurality of data characters received by the data communications device from the system memory, the method comprising:(a) determining whether the transmitter memory means is empty;(b) establishing a count of the number of data characters that are to be transferred from the system memory to the data communications device;(c) enabling the direct memory access unit for direct transfer of the number of data characters from the system memory to the data communications device;and(d) transferring the number of data characters to the data communications device utilizing the direct memory access unit.
  9. 21
    A data processing system comprising:(a) a data processing system having a direct memory access unit associated therewith for transferring data characters from the system memory of the data processing system to a data communications device utilizing the direct memory access unit;(b) a data communications device comprising (i) transmitter memory means having storage locations for a plurality of data characters received by the data communications device from the system memory;(ii) means for determining whether the transmitter memory means is empty;(iii) means for establishing a count of the number of data characters that are to be transferred from the system memory to the data communications device utilizing the direct memory access unit;(iv) means for enabling the direct memory access unit for direct transfer of the number of data characters from the system memory to the data communications device;and (v) means for transferring the number of data characters to the data communications device utilizing the direct memory access unit.
  10. 22
    A method of transferring data characters from the system memory of a data processing system having a direct memory access unit associated therewith to an external storage unit have storage locations for a plurality of data characters, the method comprising:(a) determining whether the external storage unit is empty;(b) establishing a count of the number of data characters that are to be transferred from the system memory to the external storage unit;(c) enabling the direct memory access unit for direct transfer of the number of data characters from the system memory to the external storage unit.
  11. 24
    A method of transferring data characters from a data communications device to the system memory of a data processing system utilizing a direct memory access unit associated with the data processing system, the data communications device including receiver memory means having storage locations for a plurality of data characters received by the data communications device from a peripheral system for transfer to the system memory, the method comprising (a) maintaining a count of the number of data characters available for transfer from the receiver memory means before an exception is encountered;(b) establishing a trigger level for the receiver memory means;(c) initiating the transfer of data characters from the receiver memory means to the system memory utilizing the direct memory access unit when the receiver memory means trigger level is reached;(d) continuing the transfer of data characters from the receiver memory means to the system memory utilizing the direct memory access unit until either an exception is encountered or until the number of valid data characters remaining to be transferred is less than the width of the data bus of the data processing system.
  12. 30
    A data processing system for transferring data characters from a data communications device to the system memory of a data processing system utilizing a direct memory access unit associated with the data processing system, the data communication device including receiver memory means having storage locations for a plurality of data characters received by the data communications device from a peripheral system for transfer to the system memory, the data processing system comprising:(a) means for maintaining account of the number of data characters available for transfer from the receiver memory means before an exception is encountered;(b) means for establishing a trigger level for the receiver memory means;(c) means for initiating the transfer data characters from the receiver memory means to the system memory utilizing the direct memory access unit when the receiver memory means trigger level is reached;and(d) means for continuing the transfer of data characters from the receiver memory means to the system memory utilizing the direct memory access unit until either an exception is encountered or until the number of valid data characters remain to be transferred is less than the with of the data bus of the data processing system.
  13. 31
    A method of transferring data character from a data communications device to an external storage unit for transfer to the system memory of a data processing system utilizing the direct memory access unit associated with the data processing system the external storage unit having storage locations for a plurality of data characters received from the data communications device the data communications device having storage locations for a plurality of data characters received by the data communications device from a peripheral system, the method comprising:(a) establishing a preselected number of data characters that may be transferred from the receiver memory means to the external storage unit utilizing the direct memory access unit;(b) establishing a trigger level for the receiver memory means;(c) initiating the transfer of data characters from the receiver memory means to the external storage unit utilizing the direct memory access unit when the receiver memory means trigger level is reached;continuing the transfer of data characters from the receiver memory means to the external storage unit utilizing the direct memory access unit until either the preselected number of data character has been transferred, or an exception is encountered or until the number of valid data characters remaining to be transferred is less than the width of the data bus of the data processing system.