MC6850e MC68A50° MC68B50 SERIAL INPUT/OUTPUT LINES Receive Data (Rx Data} — The Receive Data line is a high- impedance TTL-compatible input through which data is received in a serial format. Synchronization with a clock for detection of data is accomplished internally when clock rates of 16 or 64 times the bit rate are used. Transmit Data (Tx Data) — The Transmit Data output line transfers serial data to a modem or other peripheral. PERIPHERAL/MODEM CONTROL The ACIA includes several functions that permit limited control of a peripheral or modem. The functions included are Clear-to-Send, Request-to-Send and Data Carrier Detect. Clear-to-Send (CTS) — This high-impedance TTL- compatible input provides automatic control of the transmit- ting end of a communications link via the modem Clear-to- Send active low output by inhibiting the Transmit Data Register Empty (TDRE) status bit. Request-to-Send (RTS) — The Request-to-Send output enables the MPU to control a peripheral or modem via the data bus. The RTS output corresponds to the state of the Control Register bits CR5 and CR6. When CR6=0 or both CR5 and CR6=1, the RTS output is low (the active state). This output can also be used for Data Terminal Ready (DTR). Data Carrier Detect (DCD) — This high-impedance TTL- compatible input provides automatic control, such as in the receiving end of a communications link_by means of a modem Data Carrier Detect output. The DCD input inhibits and initializes the receiver section of the ACIA when high. A low-to-high transition of the Data Carrier Detect initiates an interrupt to the MPU to indicate the occurrence of a loss of carrier when the Receive Interrupt Enable bit is set. The Rx CLK must be running for proper DCD operation. ACiA REGISTERS The expanded block diagram for the ACIA indicates the in- ternal registers on the chip that are used for the status, con- trol, receiving, and transmitting of data. The content of each of the registers is summarized in Table 1. TRANSMIT DATA REGISTER (TDR) — Data is written in the Transmit Data Register during the negative transition of the enable (E) when the ACIA has been addressed with RS high and R/W low. Writing data into the register causes the Transmit Data Register Empty bit in the Status Register to go low. Data can then be transmitted. !f the transmitter is idling and no character is being transmit- ted, then the transfer will take place within 1-bit time of the trailing edge of the Write command. If a character is being transmitted, the new data character will commence as soon as the previous character is complete. The transfer of data causes the Transmit Data Register Empty (TDRE) bit to in- dicate empty. RECEIVE DATA REGISTER (RDR) Data is automatically transferred to the empty Receive Data Register (RDR) from the receiver deserializer {a shift register) upon receiving a complete character. This event causes the Receive Data Register Full bit (RDRF) in the status buffer to go high (full). Data may then be read through the bus by addressing the ACIA and selecting the Receive Data Register with RS and R/W high when the ACIA is enabled. The non-destructive read cycle causes the RDRF bit to be cleared to empty although the data is re- tained in the ROR. The status is maintained by RDRF as to whether or not the data is current. When the Receive Data Register is full, the automatic transfer of data from the Receiver Shift Register to the Data Register is inhibited and the RDR contents remain valid with its current status stored in the Status Register. TABLE 1 — DEFINITION OF ACIA REGISTER CONTENTS Buffer Address Data RS © R/W RS@ RAW RS e RWW RS e R/W Bus Transmit Receive Line Data Data Control Status Number Register Register Register Register (Write Only) (Read Only} {Write Only) (Read Only) 0 Data Bit O° Data Bit a Counter Divide Receive Data Register Select 1 (CRO) Full (RORF} 1 Data Bit Data Bit 1 Counter Divide Transmit Data Register Select 2,\CR1} Empty |TORE) 2 Data Bit 2 Data Bit 2 Word Select 1 Data Carrier Detect (CR2) (OCD) 3 Data Bit 3 Oata Bit 3 Word Select 2 Clear to Send (CR3) (CTS) 4 Data Bit 4 Data Bit 4 Word Select 3 Framing Error (CR4) {FE) 5 Data ens Oaa Bus Transmit Control 1 Receiver Overrun (CRS) (OVAN) 6 Data Bit & Data Bit 6 Transmit Control 2 Parity Error (PE} (CR6) 7 Data Bit 7*** Data Bit 7°° Receive Interrupt Interrupt Request Enabte (CR7) (tRQ) *" Leading bit LSB = BitO * Data bit wilt be zero in 7 bit plus parity modes. * Data bit is ‘don't care” in 7 bit plus parity modes. (M\) MOTOROLA Semiconductor Products Inc.