ST16C554/554D ST68C554 QUAD UART WITH 16-BYTE FIFOS DESCRIPTION -CDA -RIA RXA GND D7 D6 D5 D4 D3 D2 D1 D0 INTSEL VCC RXD -RID -CDD 9 8 7 6 5 4 3 2 1 68 67 66 65 64 63 62 61 10 60 -DSRD -CTSA 11 59 -CTSD -DTRA 12 58 -DTRD VCC 13 57 GND -RTSA 14 56 -RTSD INTA 15 55 INTD -CSA 16 54 -CSD TXA 17 53 TXD -IOW 18 52 -IOR TXB 19 51 TXC -CSB 20 50 -CSC INTB 21 49 INTC -RTSB 22 48 -RTSC GND 23 47 VCC -DTRB 24 46 -DTRC -CTSB 25 45 -CTSC -DSRB 26 44 -DSRC 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 RXB VCC 16/-68 A2 A1 A0 XTAL1 XTAL2 RESET -RXRDY -TXRDY GND RXC -RIC -CDC ST16C554DCJ68 16 MODE 27 • Compatibility with the Industry Standard ST16C454, ST68C454, ST68C554, TL16C554 • 1.5 Mbps transmit/receive operation (24MHz) • 16 byte transmit FIFO • 16 byte receive FIFO with error flags • Independent transmit and receive control • Software selectable Baud Rate Generator • Four selectable Receive FIFO interrupt trigger levels • Standard modem interface -DSRA -RIB FEATURES PLCC Package -CDB The ST16C554D is a universal asynchronous receiver and transmitter (UART) with a dual foot print interface. The 554D is an enhanced UART with 16 byte FIFOs, receive trigger levels and data rates up to 1.5Mbps. Onboard status registers provide the user with error indications and operational status, modem interface control. System interrupts may be tailored to meet user requirements. An internal loopback capability allows onboard diagnostics. The 554D is available in 64 pin TQFP, and 68 pin PLCC packages. The 68 pin PLCC package offer an additional 68 mode which allows easy integration with Motorola, and other popular microprocessors. The ST16C554CQ64 (64 pin) offers three state interrupt control while the ST16C554DCQ64 provides constant active interrupt outputs. The 64 pin devices do not offer TXRDY/ RXRDY outputs. The 554D combines the package interface modes of the 16C554 and 68C554 series on a single integrated chip. ORDERING INFORMATION Part number ST16C554DCJ68 ST16C554DCQ64 ST16C554CQ64 ST16C554DIJ68 ST16C554DIQ64 Pins 68 64 64 68 64 Package Operating temperature PLCC TQFP TQFP PLCC TQFP 0° C to + 70° C 0° C to + 70° C 0° C to + 70° C -40° C to + 85° C -40° C to + 85° C Rev. 3.10 EXAR Corporation, 48720 Kato Road, Fremont, CA 94538 • (510) 668-7000 • FAX (510) 668-7017 ST16C554/554D/68C554 Figure 1, Package Descriptions 2 GND D7 D6 D5 D4 D3 D2 D1 D0 N.C. VCC RXD -RID -CDD 5 4 3 2 1 68 67 66 65 64 63 62 61 N.C. TXA 17 53 TXD R/-W 18 52 N.C. TXB 19 51 TXC A3 20 50 A4 N.C. 21 49 N.C. -RTSB 22 48 -RTSC GND 23 47 VCC -DTRB 24 46 -DTRC -CTSB 25 45 -CTSC -DSRB 26 44 -DSRC 39 40 41 42 43 -TXRDY GND RXC -RIC -CDC ST16C554DCJ68 68 MODE 38 32 -DSRC 54 -RXRDY 31 -CDC 16 37 30 -RIC Rev. 3.10 N.C. -CS -RESET 29 -CTSC RXC 33 28 16 GND -CTSB 27 -DTRC RESET 34 26 15 XTAL2 -DTRB 25 VCC XTAL1 35 24 14 A0 GND 23 -RTSC A1 36 22 13 A2 -RTSB 21 INTC VCC 37 20 12 RXB INTB 19 -CSC -RIB 38 18 11 17 -CSB -CDB 10 -DSRB -TXB 55 36 39 TXC 15 XTAL2 -IOR -RTSD -IRQ 35 40 56 XTAL1 ST16C554DCQ64 TXD 14 34 9 -CSD 41 GND -RTSA A0 -IOW ST16C554CQ64 42 57 33 8 13 A1 7 TXA -DTRD VCC 32 -CSA 58 A2 INTD 12 31 -RTSD 43 -CTSD -DTRA 16/-68 -CDD 44 6 RXA -RID 49 5 INTA 6 RXD 50 -RTSA -DSRD 59 30 VCC 51 GND 60 11 VCC D0 52 45 -RIA D1 53 4 7 D2 54 VCC 10 -CTSA 29 D3 55 -DTRD -DSRA RXB D4 56 46 -CDA D5 57 -DTRA 3 8 D6 58 -CTSD 9 D7 59 -DSRD 47 28 GND 60 48 2 27 RXA 61 1 -CTSA -RIB -RIA 62 -DSRA -CDB -CDA 63 68 Pin PLCC Package 64 64 Pin TQFP Package ST16C554/554D/68C554 INTSEL XTAL1 XTAL2 Register Select Logic Inter Connect Bus Lines & Control signals INT A-D -RXRDY -TXRDY Interrupt Control Logic A0-A2 -CS A-D Transmit FIFO Registers Transmit Shift Register TX A-D Receive FIFO Registers Receive Shift Register RX A-D -DTR A-D -RTS A-D Modem Control Logic Clock & Baud Rate Generator D0-D7 -IOR -IOW RESET Data bus & Control Logic Figure 2, Block Diagram 16 Mode Rev. 3.10 3 -CTS A-D -RI A-D -CD A-D -DSR A-D ST16C554/554D/68C554 XTAL1 XTAL2 Inter Connect Bus Lines & Control signals Register Select Logic -IRQ -RXRDY -TXRDY Transmit FIFO Registers Transmit Shift Register TX A-D Receive FIFO Registers Receive Shift Register RX A-D -DTR A-D -RTS A-D Modem Control Logic Clock & Baud Rate Generator A0-A4 -CS Interrupt Control Logic D0-D7 R/-W -RESET Data bus & Control Logic Figure 3, Block Diagram 68 Mode Rev. 3.10 4 -CTS A-D -RI A-D -CD A-D -DSR A-D ST16C554/554D/68C554 SYMBOL DESCRIPTION Symbol 68 Pin 64 Signal type Pin Description 16/-68 31 - I 16/68 Interface Type Select (input with internal pull-up). This input provides the 16 (Intel) or 68 (Motorola) bus interface type select. The functions of -IOR, -IOW, INT AD, and -CS A-D are re-assigned with the logical state of this pin. When this pin is a logic 1, the 16 mode interface 16C554D is selected. When this pin is a logic 0, the 68 mode interface (68C554) is selected. When this pin is a logic 0, IOW is re-assigned to -R/W, RESET is re-assigned to RESET, -IOR is not used, and INT A-D(s) are connected in a WIRE-OR configuration. The WIRE-OR outputs are connected internally to the open source IRQ signal output. This pin is not available on 64 pin packages which operate in the 16 mode only. A0 34 24 I Address-0 Select Bit. Internal registers address selection in 16 and 68 modes. A1 33 23 I Address-1 Select Bit. Internal registers address selection in 16 and 68 modes. A2 32 22 I Address-2 Select Bit. - Internal registers address selection in 16 and 68 modes. 20,50 - I Address 3-4 Select Bits. - When the 68 mode is selected, these pins are used to address or select individual UARTs (providing -CS is a logic 0). In the 16 mode, these pins are reassigned as chip selects, see -CSB and -CSC. These pins are not available on 64 pin packages which operate in the 16 mode only. 16 - I Chip Select. (active low) - In the 68 mode, this pin functions as a multiple channel chip enable. In this case, all four UARTs (A-D) are enabled when the -CS pin is a logic 0. An individual UART channel is selected by the data contents of address bits A3-A4. When the 16 mode is selected (68 pin device), this pin functions as -CSA, see definition under -CS A-B. This pin is not available on 64 pin packages which operate in the 16 mode only. A3-A4 -CS Rev. 3.10 5 ST16C554/554D/68C554 SYMBOL DESCRIPTION Symbol 68 Pin 64 Signal type I Pin Description -CS A-B -CS C-D 16,20 50,54 7,11 38,42 D0-D2 D3-D7 66-68 1-5 53-55 56-60 GND GND 6,23 40,57 14,28 45,61 Pwr INT A-B INT C-D 15,21 49,55 6,12 37,43 O Interrupt A, B, C, D (active high) - This function is associated with the 16 mode only. These pins provide individual channel interrupts, INT A-D. INT A-D are enabled when MCR bit-3 is set to a logic 1, interrupts are enabled in the interrupt enable register (IER), and when an interrupt condition exists. Interrupt conditions include: receiver errors, available receiver buffer data, transmit buffer empty, or when a modem status flag is detected. When the 68 mode is selected, the functions of these pins are reassigned. 68 mode functions are described under the their respective name/pin headings. INTSEL 65 - I Interrupt Select. (active high, with internal pull-down) - This function is associated with the 16 mode only. When the 16 mode is selected, this pin can be used in conjunction with MCR bit-3 to enable or disable the three state interrupts, INT A-D or override MCR bit-3 and force continuous interrupts. Interrupt outputs are enabled continuously by making this I/O Chip Select A, B, C, D (active low) - This function is associated with the 16 mode only, and for individual channels, A through D. When in 16 Mode, these pins enable data transfers between the user CPU and the ST16C554D for the channel(s) addressed. Individual UART sections (A, B, C, D) are addressed by providing a logic 0 on the respective -CS A-D pin. When the 68 mode is selected, the functions of these pins are reassigned. 68 mode functions are described under the their respective name/pin headings. Data Bus (Bi-directional) - These pins are the eight bit, three state data bus for transferring information to or from the controlling CPU. D0 is the least significant bit and the first data bit in a transmit or receive serial data stream. Signal and power ground. Rev. 3.10 6 ST16C554/554D/68C554 SYMBOL DESCRIPTION Symbol 68 Pin 64 Signal type Pin Description pin a logic 1. Making this pin a logic 0 allows MCR bit-3 to control the three state interrupt output. In this mode, MCR bit-3 is set to a logic 1 to enable the three state outputs. This pin is disabled in the 68 mode. Due to pin limitations on 64 pin packages, this pin is not available. To cover this limitation, two 64 pin QFP package versions are offered. The ST16C554DCQ64 operates in the continuos interrupt enable mode by bonded this pin to VCC internally. The ST16C554CQ64 operates with MCR bit-3 control by bonding this pin to GND. -IOR 52 40 I Read strobe. (active low Strobe) - This function is associated with the 16 mode only. A logic 0 transition on this pin will load the contents of an Internal register defined by address bits A0-A2 onto the ST16C554D data bus (D0-D7) for access by an external CPU. This pin is disabled in the 68 mode. -IOW 18 9 I Write strobe. (active low strobe) - This function is associated with the 16 mode only. A logic 0 transition on this pin will transfer the contents of the data bus (D0-D7) from the external CPU to an internal register that is defined by address bits A0/A2. When the 16 mode is selected, this pin functions as -R/W, see definition under R/W. -IRQ 15 - O Interrupt Request or Interrupt A - This function is associated with the 68 mode only. In the 68 mode, interrupts from UART channels A-D are WIRE-ORed internally to function as a single IRQ interrupt. This pin transitions to a logic 0 (if enabled by the interrupt enable register) whenever a UART channel(s) requires service. Individual channel interrupt status can be determined by addressing each channel through its associated internal register, using -CS and A3A4. In the 68 mode an external pull-up resistor must be connected between this pin and VCC. The function of this pin changes to INTA when operating in the 16 mode, see definition under INTA. Rev. 3.10 7 ST16C554/554D/68C554 SYMBOL DESCRIPTION Symbol 68 Pin 64 Signal type Pin Description -RESET RESET 37 27 I Reset. - In the 16 mode a logic 1 on this pin will reset the internal registers and all the outputs. The UART transmitter output and the receiver input will be disabled during reset time. (See ST16C554D External Reset Conditions for initialization details.) When 16/-68 is a logic 0 (68 mode), this pin functions similarly but, as an inverted reset interface signal, -RESET. -R/W 18 - I Read/Write Strobe (active low) - This function is associated with the 68 mode only. This pin provides the combined functions for Read or Write strobes. A logic 1 to 0 transition transfers the contents of the CPU data bus (D0-D7) to the register selected by -CS and A0-A4. Similarly a logic 0 to 1 transition places the contents of a 554D register selected by -CS and A0-A4 on the data bus, D0-D7, for transfer to an external CPU. -RXRDY 38 - O Receive Ready (active low) - This function is associated with 68 pin packages only. -RXRDY contains the wire ORed status of all four receive channel FIFOs, RXRDY A-D. A logic 0 indicates receive data ready status, i.e. the RHR is full or the FIFO has one or more RX characters available for unloading. This pin goes to a logic 1 when the FIFO/RHR is full or when there are no more characters available in either the FIFO or RHR. For 64/68 pin packages, individual channel RX status is read by examining individual internal registers via -CS and A0-A4 pin functions. -TXRDY 39 - O Transmit Ready (active low) - This function is associated with 68 pin package only. -TXRDY contains the wire ORed status of all four transmit channel FIFOs, TXRDY A-D. A logic 0 indicates a buffer ready status, i.e., at least one location is empty and available in one of the TX channels (AD). This pin goes to a logic 1 when all four channels have no more empty locations in the TX FIFO or THR. 13 47,64 4,21 35,52 I Power supply inputs. VCC VCC Rev. 3.10 8 ST16C554/554D/68C554 SYMBOL DESCRIPTION Symbol 68 Pin 64 Signal type Pin Description XTAL1 35 25 I Crystal or External Clock Input - Functions as a crystal input or as an external clock input. A crystal can be connected between this pin and XTAL2 to form an internal oscillator circuit (see figure 8). Alternatively, an external clock can be connected to this pin to provide custom data rates (see Baud Rate Generator Programming). XTAL2 36 26 O Output of the Crystal Oscillator or Buffered Clock - (See also XTAL1). Crystal oscillator output or buffered clock output. -CD A-B -CD C-D 9,27 43,61 64,18 31,49 I Carrier Detect (active low) - These inputs are associated with individual UART channels A through D. A logic 0 on this pin indicates that a carrier has been detected by the modem for that channel. -CTS A-B -CTS C-D 11,25 45,59 2,16 33,47 I Clear to Send (active low) - These inputs are associated with individual UART channels, A through D. A logic 0 on the CTS pin indicates the modem or data set is ready to accept transmit data from the 554D. Status can be tested by reading MSR bit-4. -DSR A-B -DSR C-D 10,26 44,60 1,17 32,48 I Data Set Ready (active low) - These inputs are associated with individual UART channels, A through D. A logic 0 on this pin indicates the modem or data set is powered-on and is ready for data exchange with the UART. This pin has no effect on the UARTs transmit or receive operation. This pin has no effect on the UARTs transmit or receive operation. -DTR A-B -DTR C-D 12,24 46,58 3,15 34,46 O Data Terminal Ready (active low) - These inputs are associated with individual UART channels, A through D. A logic 0 on this pin indicates that the 554D is powered-on and ready. This pin can be controlled via the modem control register. Writing a logic 1 to MCR bit-0 will set the -DTR output to logic 0, enabling the modem. This pin will be a logic 1 after writing a logic 0 to MCR bit-0. This pin has no effect on the UARTs transmit or receive operation. Rev. 3.10 9 ST16C554/554D/68C554 SYMBOL DESCRIPTION Symbol 68 Pin 64 Signal type Pin Description -RI A-B -RI C-D 8,28 42,62 63,19 30,50 I Ring Indicator (active low) - These inputs are associated with individual UART channels, A through D. A logic 0 on this pin indicates the modem has received a ringing signal from the telephone line. A logic 1 transition on this input pin will generate an interrupt. -RTS A-B -RTS C-D 14,22 48,56 5,13 36,44 O Request to Send (active low) - These outputs are associated with individual UART channels, A through D. A logic 0 on the -RTS pin indicates the transmitter has data ready and waiting to send. Writing a logic 1 in the modem control register (MCR bit-1) will set this pin to a logic 0 indicating data is available. After a reset this pin will be set to a logic 1. This pin has no effect on the UARTs transmit or receive operation. RX A-B RX C-D 7,29 41,63 62,20 29,51 I Receive Data Input RX A-D. - These inputs are associated with individual serial channel data to the ST16C554D. The RX signal will be a logic 1 during reset, idle (no data), or when the transmitter is disabled. During the local loopback mode, the RX input pin is disabled and TX data is internally connected to the UART RX Input, internally. TX A-B TX C-D 17,19 51,53 8,10 39,41 O Transmit Data - These outputs are associated with individual serial transmit channel data from the 554D. The TX signal will be a logic 1 during reset, idle (no data), or when the transmitter is disabled. During the local loopback mode, the TX input pin is disabled and TX data is internally connected to the UART RX Input. Rev. 3.10 10 ST16C554/554D/68C554 GENERAL DESCRIPTION 921.6Kbps. The 554D provides serial asynchronous receive data synchronization, parallel-to-serial and serial-to-parallel data conversions for both the transmitter and receiver sections. These functions are necessary for converting the serial data stream into parallel data that is required with digital data systems. Synchronization for the serial data stream is accomplished by adding start and stops bits to the transmit data to form a data character (character orientated protocol). Data integrity is insured by attaching a parity bit to the data character. The parity bit is checked by the receiver for any transmission bit errors. The electronic circuitry to provide all these functions is fairly complex especially when manufactured on a single integrated silicon chip. The ST16C554D represents such an integration with greatly enhanced features. The 554D is fabricated with an advanced CMOS process to achieve low drain power and high speed requirements. The rich feature set of the 554D is available through internal registers. Selectable receive FIFO trigger levels, selectable TX and RX baud rates, modem interface controls. In the 16 mode INTSEL and MCR bit-3 can be configured to provide a software controlled or continuous interrupt capability. Due of pin limitations for the 64 pin 554D this feature is offered by two different QFP packages. The ST16C554DCQ64 operates in the continuos interrupt enable mode by bonded INTSEL to VCC internally. The ST16C554CQ64 operates in conjunction with MCR bit-3 by bonding INTSEL to GND internally. FUNCTIONAL DESCRIPTIONS Interface Options Two user interface modes are selectable for the 554D package. These interface modes are designated as the 16 mode and the 68 mode. This nomenclature corresponds to the early 16C554D and 68C554 package interfaces respectively. The 554D is an upward solution that provides 16 bytes of transmit and receive FIFO memory, instead of 1 bytes provided in the 16/68C454. The 554D is designed to work with high speed modems and shared network environments, that require fast data processing time. Increased performance is realized in the 554D by the larger transmit and receive FIFOs. This allows the external processor to handle more networking tasks within a given time. This increases the service interval giving the external CPU additional time for other applications and reducing the overall UART interrupt servicing time. The 16 Mode Interface The 16 mode configures the package interface pins for connection as a standard 16 series (Intel) device and operates similar to the standard CPU interface available on the 16C554D. In the 16 mode (pin 16/-68 logic 1) each UART is selected with individual chip select (CSx) pins as shown in Table 2 below. Table 2, SERIAL PORT CHANNEL SELECTION GUIDE, 16 MODE INTERFACE The 554D combines the package interface modes of the 16C554D and 68C554 series on a single integrated chip. The 16 mode interface is designed to operate with the Intel type of microprocessor bus while the 68 mode is intended to operate with Motorola, and other popular microprocessors. Following a reset, the 554D is down-ward compatible with the ST16C454/ ST68C454 dependent on the state of the interface mode selection pin, 16/-68. The 554D is capable of operation to 1.5Mbps with a 24 MHz crystal or external clock input. With a crystal of 14.7464 MHz, the user can select data rates up to Rev. 3.10 11 -CSA -CSB -CSC -CSD UART CHANNEL 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 None A B C D ST16C554/554D/68C554 Internal Registers The 68 Mode Interface The 68 mode configures the package interface pins for connection with Motorola, and other popular microprocessor bus types. The interface operates similar to the 68C454/554. In this mode the 554D decodes two additional addresses, A3-A4 to select one of the four UART ports. The A3-A4 address decode function is used only when in the 68 mode (16/-68 logic 0), and is shown in Table 3 below. The 554D provides 13 internal registers for monitoring and control. These resisters are shown in Table 4 below. Twelve registers are similar to those already available in the standard 16C454. These registers function as data holding registers (THR/RHR), interrupt status and control registers (IER/ISR), line status and control registers (LCR/LSR), modem status and control registers (MCR/MSR), programmable data rate (clock) control registers (DLL/DLM), and a user assessable scratchpad register (SPR). Register functions are more fully described in the following paragraphs. Table 3, SERIAL PORT CHANNEL SELECTION GUIDE, 68 MODE INTERFACE -CS A4 A3 UART CHANNEL 1 0 0 0 0 N/A 0 0 1 1 N/A 0 1 0 1 None A B C D Table 4, INTERNAL REGISTER DECODE A2 A1 A0 READ MODE WRITE MODE General Register Set (THR/RHR, IER/ISR, MCR/MSR, LCR/LSR, SPR): 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 Receive Holding Register Interrupt Status Register Line Status Register Modem Status Register Scratchpad Register Transmit Holding Register Interrupt Enable Register FIFO Control Register Line Control Register Modem Control Register Scratchpad Register Baud Rate Register Set (DLL/DLM): Note *2 0 0 0 0 0 1 LSB of Divisor Latch MSB of Divisor Latch LSB of Divisor Latch MSB of Divisor Latch Note *2: These registers are accessible only when LCR bit-7 is set to a logic 1. Rev. 3.10 12 ST16C554/554D/68C554 FIFO Operation characters, or as shown in the fully worked out example: T = [(programmed word length = 7) + (stop bit = 1) + (start bit = 1) = 9]. 40 (bit times divided by 9) = 4.4 characters. The 16 byte transmit and receive data FIFOs are enabled by the FIFO Control Register (FCR) bit-0. With 16C554 devices, the user can only set the receive trigger level. The receiver FIFO section includes a time-out function to ensure data is delivered to the external CPU. An interrupt is generated whenever the Receive Holding Register (RHR) has not been read following the loading of a character or the receive trigger level has not been reached. Example -B: If the user programs the word length = 7, with parity and one stop bit, the time out will be: T = 4 X 7(programmed word length) + 12 = 40 bit times. Character time = 40 / 10 [ (programmed word length = 7) + (parity = 1) + (stop bit = 1) + (start bit = 1) = 4 characters. Timeout Interrupts In the 16 mode for 68 pin packages, the system/board designer can optionally provide software controlled three state interrupt operation. This is accomplished by INTSEL and MCR bit-3. When INTSEL interface pin is left open or made a logic 0, MCR bit-3 controls the three state interrupt outputs, INT A-D. When INTSEL is a logic 1, MCR bit-3 has no effect on the INT A-D outputs and the package operates with interrupt outputs enabled continuously. The interrupts are enabled by IER bits 0-3. Care must be taken when handling these interrupts. Following a reset the transmitter interrupt is enabled, the 554D will issue an interrupt to indicate that transmit holding register is empty. This interrupt must be serviced prior to continuing operations. The LSR register provides the current singular highest priority interrupt only. Servicing the interrupt without investigating further interrupt conditions can result in data errors. Programmable Baud Rate Generator When two interrupt conditions have the same priority, it is important to service these interrupts correctly. Receive Data Ready and Receive Time Out have the same interrupt priority (when enabled by IER bit-0). The receiver issues an interrupt after the number of characters have reached the programmed trigger level. In this case the 554D FIFO may hold more characters than the programmed trigger level. Following the removal of a data byte, the user should recheck LSR bit-0 for additional characters. A Receive Time Out will not occur if the receive FIFO is empty. The time out counter is reset at the center of each stop bit received or each time the receive holding register (RHR) is read. The actual time out value is T (Time out length in bits) = 4 X P (Programmed word length) + 12. To convert the time out value to a character value, the user has to consider the complete word length, including data information length, start bit, parity bit, and the size of stop bit, i.e., 1X, 1.5X, or 2X bit times. The 554D supports high speed modem technologies that have increased input data rates by employing data compression schemes. For example a 33.6Kbps modem that employs data compression may require a 115.2Kbps input data rate. A 128.0Kbps ISDN modem that supports data compression may need an input data rate of 460.8Kbps. The 554D can support a standard data rate of 921.6Kbps. Single baud rate generator is provided for the transmitter and receiver, allowing independent TX/ RX channel control. The programmable Baud Rate Generator is capable of accepting an input clock up to 24 MHz, as required for supporting a 1.5Mbps data rate. The 554D can be configured for internal or external clock operation. For internal clock oscillator operation, an industry standard microprocessor crystal (parallel resonant/ 22-33 pF load) is connected externally between the XTAL1 and XTAL2 pins (see figure 8). Alternatively, an external clock can be connected to the XTAL1 pin to clock the internal baud rate generator for standard or custom rates. (see Baud Rate Generator Programming). Example -A: If the user programs a word length of 7, with no parity and one stop bit, the time out will be: T = 4 X 7( programmed word length) +12 = 40 bit times. The character time will be equal to 40 / 9 = 4.4 Rev. 3.10 13 ST16C554/554D/68C554 XTAL1 Programming the Baud Rate Generator Registers DLM (MSB) and DLL (LSB) provides a user capability for selecting the desired final baud rate. The example in Table 5 below, shows the two selectable baud rate tables available when using a 7.3728 MHz crystal. XTAL2 Figure 8, Crystal oscillator connection The generator divides the input 16X clock by any divisor from 1 to 216 -1. The 554D divides the basic crystal or external clock by 16. Further division of this 16X clock provides two table rates to support low and high data rate applications using the same system design. Customized Baud Rates can be achieved by selecting the proper divisor values for the MSB and LSB sections of baud rate generator. X1 1.8432 MHz C1 22pF Table 5, BAUD RATE GENERATOR PROGRAMMING TABLE: Output Output User Baud Rate Baud Rate 16 x Clock (1.8432 MHz (7.3728 MHz Divisor Clock) Clock) (Decimal) 50 300 600 1200 2400 4800 9600 19.2k 38.4k 57.6k 115.2k 200 1200 2400 4800 9600 19.2K 38.4k 76.8k 153.6k 230.4k 460.8k 2304 384 192 96 48 24 12 6 3 2 1 User 16 x Clock Divisor (HEX) DLM Program Value (HEX) DLL Program Value (HEX) 900 180 C0 60 30 18 0C 06 03 02 01 09 01 00 00 00 00 00 00 00 00 00 00 80 C0 60 30 18 0C 06 03 02 01 Rev. 3.10 14 C2 33pF ST16C554/554D/68C554 DMA Operation In this mode, the receiver and transmitter interrupts are fully operational. The Modem Control Interrupts are also operational. However, the interrupts can only be read using lower four bits of the Modem Control Register (MCR bits 0-3) instead of the four Modem Status Register bits 4-7. The interrupts are still controlled by the IER. The 554D FIFO trigger level provides additional flexibility to the user for block mode operation. LSR bits 5-6 provide an indication when the transmitter is empty or has an empty location(s). The user can optionally operate the transmit and receive FIFOs in the DMA mode (FCR bit-3). When the transmit and receive FIFOs are enabled and the DMA mode is deactivated (DMA Mode 0), the 554D activates the interrupt output pin for each data transmit or receive operation. When DMA mode is activated (DMA Mode 1), the user takes the advantage of block mode operation by loading or unloading the FIFO in a block sequence determined by the preset trigger level. In this mode, the 554D sets the interrupt output pin when characters in the transmit FIFOs are below the transmit trigger level, or the characters in the receive FIFOs are above the receive trigger level. Loopback Mode The internal loopback capability allows onboard diagnostics. In the loopback mode the normal modem interface pins are disconnected and reconfigured for loopback internally. MCR register bits 0-3 are used for controlling loopback diagnostic testing. In the loopback mode OP1 and OP2 in the MCR register (bits 3/2) control the modem -RI and -CD inputs respectively. MCR signals -DTR and -RTS (bits 0-1) are used to control the modem -CTS and -DSR inputs respectively. The transmitter output (TX) and the receiver input (RX) are disconnected from their associated interface pins, and instead are connected together internally (See Figure 12). The -CTS, -DSR, CD, and -RI are disconnected from their normal modem control inputs pins, and instead are connected internally to -DTR, -RTS, -OP1 and -OP2. Loopback test data is entered into the transmit holding register via the user data bus interface, D0-D7. The transmit UART serializes the data and passes the serial data to the receive UART via the internal loopback connection. The receive UART converts the serial data back into parallel data that is then made available at the user data interface, D0-D7. The user optionally compares the received data to the initial transmitted data for verifying error free operation of the UART TX/RX circuits. Rev. 3.10 15 ST16C554/554D/68C554 XTAL1 XTAL2 TX A-D MCR Bit-4=1 Receive Shift Register I n te r C o n n e ct B u s L in es & C o n tr o l s ig n a ls Register Select Logic Receive FIFO Registers RX A-D -RTS A-D -CD A-D -DTR A-D Modem Control Logic INT A-D -RXRDY -TXRDY Transmit Shift Register Interrupt Control Logic A0-A2 -CS A-D Transmit FIFO Registers Clock & Baud Rate Generator D0-D7 -IOR,-IOW RESET Data bus & Control Logic Figure 12, INTERNAL LOOPBACK MODE DIAGRAM -RI A-D (-OP1 A-D) -DSR A-D (-OP2 A-D) -CTS A-D Rev. 3.10 16 ST16C554/554D/68C554 REGISTER FUNCTIONAL DESCRIPTIONS The following table delineates the assigned bit functions for the fifteen 554D internal registers. The assigned bit functions are more fully defined in the following paragraphs. Table 6, ST16C554D INTERNAL REGISTERS A2 A1 A0 Register [Note *5] BIT-7 BIT-6 BIT-5 BIT-4 BIT-3 BIT-2 BIT-1 BIT-0 General Register Set 0 0 0 RHR[XX] bit-7 bit-6 bit-5 bit-4 bit-3 bit-2 bit-1 bit-0 0 0 0 THR[XX] bit-7 bit-6 bit-5 bit-4 bit-3 bit-2 bit-1 bit-0 0 0 1 IER[00] 0 0 0 0 modem status interrupt receive line status interrupt transmit holding register receive holding register 0 1 0 FCR RCVR trigger (MSB) RCVR trigger (LSB) 0 0 DMA mode select XMIT FIFO reset RCVR FIFO reset FIFO enable 0 1 0 ISR[01] FIFOs enabled FIFOs enabled 0 0 INT priority bit-2 INT priority bit-1 INT priority bit-0 INT status 0 1 1 LCR[00] divisor latch enable set break set parity even parity parity enable stop bits word length bit-1 word length bit-0 1 0 0 MCR[00] 0 0 0 loop back -OP2/ INTx enable -OP1 -RTS -DTR 1 0 1 LSR[60] FIFO data error trans. empty trans. holding empty break interrupt framing error parity error overrun error receive data ready 1 1 0 MSR[X0] CD RI DSR CTS delta -CD delta -RI delta -DSR delta -CTS 1 1 1 SPR[FF] bit-7 bit-6 bit-5 bit-4 bit-3 bit-2 bit-1 bit-0 Special Register set: Note *2 0 0 0 DLL[XX] bit-7 bit-6 bit-5 bit-4 bit-3 bit-2 bit-1 bit-0 0 0 1 DLM[XX] bit-15 bit-14 bit-13 bit-12 bit-11 bit-10 bit-9 bit-8 Note *2: The Special register set is accessible only when LCR bit-7 is set to 1. Rev. 3.10 17 ST16C554/554D/68C554 Note *5: The value between the square brackets represents the registers initialized HEX value. A) The receive data available interrupts are issued to the external CPU when the FIFO has reached the programmed trigger level. It will be cleared when the FIFO drops below the programmed trigger level. Transmit (THR) and Receive (RHR) Holding Registers The serial transmitter section consists of an 8-bit Transmit Hold Register (THR) and Transmit Shift Register (TSR). The status of the THR is provided in the Line Status Register (LSR). Writing to the THR transfers the contents of the data bus (D7-D0) to the THR, providing that the THR or TSR is empty. The THR empty flag in the LSR register will be set to a logic 1 when the transmitter is empty or when data is transferred to the TSR. Note that a write operation can be performed when the transmit holding register empty flag is set (logic 0 = FIFO full, logic 1= at least one FIFO location available). B) FIFO status will also be reflected in the user accessible ISR register when the FIFO trigger level is reached. Both the ISR register status bit and the interrupt will be cleared when the FIFO drops below the trigger level. The serial receive section also contains an 8-bit Receive Holding Register, RHR. Receive data is removed from the 554D and receive FIFO by reading the RHR register. The receive section provides a mechanism to prevent false starts. On the falling edge of a start or false start bit, an internal receiver counter starts counting clocks at 16x clock rate. After 7 1/2 clocks the start bit time should be shifted to the center of the start bit. At this time the start bit is sampled and if it is still a logic 0 it is validated. Evaluating the start bit in this manner prevents the receiver from assembling a false character. Receiver status codes will be posted in the LSR. When FCR BIT-0 equals a logic 1; resetting IER bits 0-3 enables the 554D in the FIFO polled mode of operation. Since the receiver and transmitter have separate bits in the LSR either or both can be used in the polled mode by selecting respective transmit or receive control bit(s). C) The data ready bit (LSR BIT-0) is set as soon as a character is transferred from the shift register to the receive FIFO. It is reset when the FIFO is empty. IER Vs Receive/Transmit FIFO Polled Mode Operation A) LSR BIT-0 will be a logic 1 as long as there is one byte in the receive FIFO. B) LSR BIT 1-4 will provide the type of errors encountered, if any. C) LSR BIT-5 will indicate when the transmit FIFO is empty. Interrupt Enable Register (IER) The Interrupt Enable Register (IER) masks the interrupts from receiver ready, transmitter empty, line status and modem status registers. These interrupts would normally be seen on the INT A-D output pins in the 16 mode, or on WIRE-OR IRQ output pin, in the 68 mode. D) LSR BIT-6 will indicate when both the transmit FIFO and transmit shift register are empty. E) LSR BIT-7 will indicate any FIFO data errors. IER BIT-0: This interrupt will be issued when the FIFO has reached the programmed trigger level or is cleared when the FIFO drops below the trigger level in the FIFO mode of operation. Logic 0 = Disable the receiver ready interrupt. (normal IER Vs Receive FIFO Interrupt Mode Operation When the receive FIFO (FCR BIT-0 = a logic 1) and receive interrupts (IER BIT-0 = logic 1) are enabled, the receive interrupts and register status will reflect the following: Rev. 3.10 18 ST16C554/554D/68C554 default condition) Logic 1 = Enable the receiver ready interrupt. remains a logic 0 as long as the FIFO fill level is above the programmed trigger level. IER BIT-1: This interrupt will be issued whenever the THR is empty and is associated with bit-1 in the LSR register. Logic 0 = Disable the transmitter empty interrupt. (normal default condition) Logic 1 = Enable the transmitter empty interrupt. IER BIT-2: This interrupt will be issued whenever a fully assembled receive character is transferred from the RSR to the RHR/FIFO, i.e., data ready, LSR bit-0. Logic 0 = Disable the receiver line status interrupt. (normal default condition) Logic 1 = Enable the receiver line status interrupt. FCR BIT-0: Logic 0 = Disable the transmit and receive FIFO. (normal default condition) Logic 1 = Enable the transmit and receive FIFO. This bit must be a 1 when other FCR bits are written to or they will not be programmed. FCR BIT-1: Logic 0 = No FIFO receive reset. (normal default condition) Logic 1 = Clears the contents of the receive FIFO and resets the FIFO counter logic (the receive shift register is not cleared or altered). This bit will return to a logic 0 after clearing the FIFO. IER BIT-3: Logic 0 = Disable the modem status register interrupt. (normal default condition) Logic 1 = Enable the modem status register interrupt. FCR BIT-2: Logic 0 = No FIFO transmit reset. (normal default condition) Logic 1 = Clears the contents of the transmit FIFO and resets the FIFO counter logic (the transmit shift register is not cleared or altered). This bit will return to a logic 0 after clearing the FIFO. IER BIT 4-7: Not used - Initialized to a logic 0. FIFO Control Register (FCR) FCR BIT-3: Logic 0 = Set DMA mode 0. (normal default condition) Logic 1 = Set DMA mode 1. This register is used to enable the FIFOs, clear the FIFOs, set the transmit/receive FIFO trigger levels, and select the DMA mode. The DMA, and FIFO modes are defined as follows: Transmit operation in mode 0: When the 554D is in the ST16C450 mode (FIFOs disabled, FCR bit-0 = logic 0) or in the FIFO mode (FIFOs enabled, FCR bit-0 = logic 1, FCR bit-3 = logic 0) and when there are no characters in the transmit FIFO or transmit holding register, the -TXRDY pin will be a logic 0. Once active the -TXRDY pin will go to a logic 1 after the first character is loaded into the transmit holding register. DMA MODE Mode 0 Set and enable the interrupt for each single transmit or receive operation, and is similar to the ST16C454 mode. Transmit Ready (-TXRDY) will go to a logic 0 when ever an empty transmit space is available in the Transmit Holding Register (THR). Receive Ready (-RXRDY) will go to a logic 0 whenever the Receive Holding Register (RHR) is loaded with a character. Mode 1 Set and enable the interrupt in a block mode operation. The transmit interrupt is set when the transmit FIFO is below the programmed trigger level. -TXRDY remains a logic 0 as long as one empty FIFO location is available. The receive interrupt is set when the receive FIFO fills to the programmed trigger level. However the FIFO continues to fill regardless of the programmed level until the FIFO is full. -RXRDY Receive operation in mode 0: When the 554D is in mode 0 (FCR bit-0 = logic 0) or in the FIFO mode (FCR bit-0 = logic 1, FCR bit-3 = logic 0) and there is at least one character in the receive FIFO, the -RXRDY pin will be a logic 0. Once active the -RXRDY pin will go to a logic 1 when there are no more characters in the receiver. Rev. 3.10 19 ST16C554/554D/68C554 Transmit operation in mode 1: When the 554D is in FIFO mode ( FCR bit-0 = logic 1, FCR bit-3 = logic 1 ), the -TXRDY pin will be a logic 1 when the transmit FIFO is completely full. It will be a logic 0 if one or more FIFO locations are empty. Receive operation in mode 1: When the 554D is in FIFO mode (FCR bit-0 = logic 1, FCR bit-3 = logic 1) and the trigger level has been reached, or a Receive Time Out has occurred, the RXRDY pin will go to a logic 0. Once activated, it will go to a logic 1 after there are no more characters in the FIFO. BIT-7 BIT-6 RX FIFO trigger level 0 0 1 1 0 1 0 1 1 4 8 14 Interrupt Status Register (ISR) The 554D provides four levels of prioritized interrupts to minimize external software interaction. The Interrupt Status Register (ISR) provides the user with six interrupt status bits. Performing a read cycle on the ISR will provide the user with the highest pending interrupt level to be serviced. No other interrupts are acknowledged until the pending interrupt is serviced. Whenever the interrupt status register is read, the interrupt status is cleared. However it should be noted that only the current pending interrupt is cleared by the read. A lower level interrupt may be seen after rereading the interrupt status bits. The Interrupt Source Table 7 (below) shows the data values (bit 0-5) for the four prioritized interrupt levels and the interrupt sources associated with each of these interrupt levels: FCR BIT 4-5: Not used - Initialized to a logic 0. FCR BIT 6-7: (logic 0 or cleared is the default condition, Rx trigger level = 1) These bits are used to set the trigger level for the receive FIFO interrupt. An interrupt is generated when the number of characters in the FIFO equals the programmed trigger level. However the FIFO will continue to be loaded until it is full. Table 7, INTERRUPT SOURCE TABLE Priority Level 1 2 2 3 4 [ ISR BITS ] Bit-5 Bit-4 Bit-3 Bit-2 Bit-1 Bit-0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 1 1 0 0 1 0 0 1 0 0 0 0 0 0 Source of the interrupt LSR (Receiver Line Status Register) RXRDY (Received Data Ready) RXRDY (Receive Data time out) TXRDY ( Transmitter Holding Register Empty) MSR (Modem Status Register) Rev. 3.10 20 ST16C554/554D/68C554 ISR BIT-0: Logic 0 = An interrupt is pending and the ISR contents may be used as a pointer to the appropriate interrupt service routine. Logic 1 = No interrupt pending. (normal default condition) ISR BIT 1-3: (logic 0 or cleared is the default condition) These bits indicate the source for a pending interrupt at interrupt priority levels 1, 2, and 3 (See Interrupt Source Table). ISR BIT 6-7: (logic 0 or cleared is the default condition) These bits are set to a logic 0 when the FIFO is not being used. They are set to a logic 1 when the FIFOs are enabled. The Line Control Register is used to specify the asynchronous data communication format. The word length, the number of stop bits, and the parity are selected by writing the appropriate bits in this register. LCR BIT 0-1: (logic 0 or cleared is the default condition) These two bits specify the word length to be transmitted or received. Word length 0 0 1 1 0 1 0 1 5 6 7 8 Stop bit length (Bit time(s)) 0 1 1 5,6,7,8 5 6,7,8 1 1-1/2 2 LCR BIT-4: If the parity bit is enabled with LCR bit-3 set to a logic 1, LCR BIT-4 selects the even or odd parity format. Logic 0 = ODD Parity is generated by forcing an odd number of logic 1s in the transmitted data. The receiver must be programmed to check the same format. (normal default condition) Logic 1 = EVEN Parity is generated by forcing an even the number of logic 1s in the transmitted. The receiver must be programmed to check the same format. Line Control Register (LCR) BIT-0 Word length LCR BIT-3: Parity or no parity can be selected via this bit. Logic 0 = No parity. (normal default condition) Logic 1 = A parity bit is generated during the transmission, receiver checks the data and parity for transmission errors. ISR BIT 4-5: Not used - Initialized to a logic 0. BIT-1 BIT-2 LCR BIT-5: If the parity bit is enabled, LCR BIT-5 selects the forced parity format. LCR BIT-5 = logic 0, parity is not forced. (normal default condition) LCR BIT-5 = logic 1 and LCR BIT-4 = logic 0, parity bit is forced to a logical 1 for the transmit and receive data. LCR BIT-5 = logic 1 and LCR BIT-4 = logic 1, parity bit is forced to a logical 0 for the transmit and receive data. LCR BIT-2: (logic 0 or cleared is the default condition) The length of stop bit is specified by this bit in conjunction with the programmed word length. Rev. 3.10 21 ST16C554/554D/68C554 LCR Bit-5 LCR Bit-4 LCR Bit-3 Parity selection X 0 0 1 1 X 0 1 0 1 0 1 1 1 1 No parity Odd parity Even parity Force parity 1 Forced parity 0 Logic 0 = Forces INT (A-D) outputs to the three state mode during the 16 mode. (normal default condition) In the Loopback mode, sets -OP2 (-CD) internally to a logic 1. Logic 1 = Forces the INT (A-D) outputs to the active mode during the 16 mode. In the Loopback mode, sets -OP2 (-CD) internally to a logic 0. MCR BIT-4: Logic 0 = Disable loopback mode. (normal default condition) Logic 1 = Enable local loopback mode (diagnostics). LCR BIT-6: When enabled the Break control bit causes a break condition to be transmitted (the TX output is forced to a logic 0 state). This condition exists until disabled by setting LCR bit-6 to a logic 0. Logic 0 = No TX break condition. (normal default condition) Logic 1 = Forces the transmitter output (TX) to a logic 0 for alerting the remote receiver to a line break condition. MCR BIT 5-7: Not used - Initialized to a logic 0. Line Status Register (LSR) This register provides the status of data transfers between. the 554D and the CPU. LSR BIT-0: Logic 0 = No data in receive holding register or FIFO. (normal default condition) Logic 1 = Data has been received and is saved in the receive holding register or FIFO. LCR BIT-7: Not used - Initialized to a logic 0. Modem Control Register (MCR) LSR BIT-1: Logic 0 = No overrun error. (normal default condition) Logic 1 = Overrun error. A data overrun error occurred in the receive shift register. This happens when additional data arrives while the FIFO is full. In this case the previous data in the shift register is overwritten. Note that under this condition the data byte in the receive shift register is not transfered into the FIFO, therefore the data in the FIFO is not corrupted by the error. This register controls the interface with the modem or a peripheral device. MCR BIT-0: Logic 0 = Force -DTR output to a logic 1. (normal default condition) Logic 1 = Force -DTR output to a logic 0. MCR BIT-1: Logic 0 = Force -RTS output to a logic 1. (normal default condition) Logic 1 = Force -RTS output to a logic 0. LSR BIT-2: Logic 0 = No parity error. (normal default condition) Logic 1 = Parity error. The receive character does not have correct parity information and is suspect. In the FIFO mode, this error is associated with the character at the top of the FIFO. MCR BIT-2: This bit is used in the Loopback mode only. In the loopback mode this bit is use to write the state of the modem -RI interface signal via -OP1. LSR BIT-3: Logic 0 = No framing error. (normal default condition) Logic 1 = Framing error. The receive character did not MCR BIT-3: (Used to control the modem -CD signal in the loopback mode.) Rev. 3.10 22 ST16C554/554D/68C554 have a valid stop bit(s). In the FIFO mode this error is associated with the character at the top of the FIFO. from the modem changes state. These bits are set to a logic 0 whenever the CPU reads this register. LSR BIT-4: Logic 0 = No break condition. (normal default condition) Logic 1 = The receiver received a break signal (RX was a logic 0 for one character frame time). In the FIFO mode, only one break character is loaded into the FIFO. MSR BIT-0: Logic 0 = No -CTS Change (normal default condition) Logic 1 = The -CTS input to the 554D has changed state since the last time it was read. A modem Status Interrupt will be generated. MSR BIT-1: Logic 0 = No -DSR Change. (normal default condition) Logic 1 = The -DSR input to the 554D has changed state since the last time it was read. A modem Status Interrupt will be generated. LSR BIT-5: This bit is the Transmit Holding Register Empty indicator. This bit indicates that the UART is ready to accept a new character for transmission. In addition, this bit causes the UART to issue an interrupt to CPU when the THR interrupt enable is set. The THR bit is set to a logic 1 when a character is transferred from the transmit holding register into the transmitter shift register. The bit is reset to logic 0 concurrently with the loading of the transmitter holding register by the CPU. In the FIFO mode this bit is set when the transmit FIFO is empty; it is cleared when at least 1 byte is written to the transmit FIFO. MSR BIT-2: Logic 0 = No -RI Change. (normal default condition) Logic 1 = The -RI input to the 554D has changed from a logic 0 to a logic 1. A modem Status Interrupt will be generated. MSR BIT-3: Logic 0 = No -CD Change. (normal default condition) Logic 1 = Indicates that the -CD input to the has changed state since the last time it was read. A modem Status Interrupt will be generated. LSR BIT-6: This bit is the Transmit Empty indicator. This bit is set to a logic 1 whenever the transmit holding register and the transmit shift register are both empty. It is reset to logic 0 whenever either the THR or TSR contains a data character. In the FIFO mode this bit is set to one whenever the transmit FIFO and transmit shift register are both empty. MSR BIT-4: -CTS (active high, logical 1). Normally MSR bit-4 bit is the compliment of the -CTS input. However in the loopback mode, this bit is equivalent to the RTS bit in the MCR register. LSR BIT-7: Logic 0 = No Error. (normal default condition) Logic 1 = At least one parity error, framing error or break indication is in the current FIFO data. This bit is cleared when LSR register is read. MSR BIT-5: DSR (active high, logical 1). Normally this bit is the compliment of the -DSR input. In the loopback mode, this bit is equivalent to the DTR bit in the MCR register. Modem Status Register (MSR) MSR BIT-6: RI (active high, logical 1). Normally this bit is the compliment of the -RI input. In the loopback mode this bit is equivalent to the OP1 bit in the MCR register. This register provides the current state of the control interface signals from the modem, or other peripheral device that the 554D is connected to. Four bits of this register are used to indicate the changed information. These bits are set to a logic 1 whenever a control input Rev. 3.10 23 ST16C554/554D/68C554 MSR BIT-7: CD (active high, logical 1). Normally this bit is the compliment of the -CD input. In the loopback mode this bit is equivalent to the OP2 bit in the MCR register. Scratchpad Register (SPR) The ST16C554D provides a temporary data register to store 8 bits of user information. ST16C554D EXTERNAL RESET CONDITIONS REGISTERS RESET STATE IER ISR LCR MCR LSR FCR IER BITS 0-7=0 ISR BIT-0=1, ISR BITS 1-7=0 LCR BITS 0-7=0 MCR BITS 0-7=0 LSR BITS 0-4=0, LSR BITS 5-6=1 LSR, BIT 7=0 MSR BITS 0-3=0, MSR BITS 4-7= input signals FCR BITS 0-7=0 SIGNALS RESET STATE TX A-D -RTS A-D -DTR A-D -RXRDY -TXRDY High High High High Low MSR Rev. 3.10 24 ST16C554/554D/68C554 AC ELECTRICAL CHARACTERISTICS TA=0° - 70°C (-40° - +85°C for Industrial grade packages), Vcc=3.3 - 5.0 V ± 10% unless otherwise specified. Symbol T1w,T2w T3w T6s T7d T7w T7h T9d T12d T12h T13d T13w T13h T15d T16s T16h T17d T18d T19d T20d T21d T22d T23d T24d T25d T26d T27d T28d T30s T30w T30h T30d T31d T31h T32s T32h T32d Parameter Clock pulse duration Oscillator/Clock frequency Address setup time -IOR delay from chip select -IOR strobe width Chip select hold time from -IOR Read cycle delay Delay from -IOR to data Data disable time -IOW delay from chip select -IOW strobe width Chip select hold time from -IOW Write cycle delay Data setup time Data hold time Delay from -IOW to output Delay to set interrupt from MODEM input Delay to reset interrupt from -IOR Delay from stop to set interrupt Delay from -IOR to reset interrupt Delay from stop to interrupt Delay from initial INT reset to transmit start Delay from -IOW to reset interrupt Delay from stop to set -RxRdy Delay from -IOR to reset -RxRdy Delay from -IOW to set -TxRdy Delay from start to reset -TxRdy Address setup time Chip select strobe width Address hold time Read cycle delay Delay from -CS to data Data disable time Write strobe setup time Write strobe hold time Write cycle delay Limits 3.3 Min Max 17 5 10 35 0 40 10 35 0 40 20 5 8 10 40 15 70 15 10 10 70 Rev. 3.10 25 8 35 25 50 40 40 1 45 45 24 45 1 45 45 8 Limits 5.0 Min Max 17 0 10 25 0 30 35 10 25 0 30 15 5 8 10 40 15 70 15 15 10 10 70 Units Conditions 40 35 ns MHz ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns 100 pF load 100 pF load 35 1 40 40 24 ns Rclk ns ns Rclk 40 1 40 40 8 ns Rclk ns ns Rclk ns ns ns ns ns ns ns ns ns 24 25 15 100 pF load 100 pF load ST16C554/554D/68C554 AC ELECTRICAL CHARACTERISTICS TA=0° - 70°C (-40° - +85°C for Industrial grade packages), Vcc=3.3 - 5.0 V ± 10% unless otherwise specified. Symbol T33s T33h TR N Parameter Data setup time Data hold time Reset pulse width Baud rate devisor Limits 3.3 Min Max 20 10 40 1 Rev. 3.10 26 216-1 Limits 5.0 Min Max 15 10 40 1 216-1 Units ns ns ns Rclk Conditions ST16C554/554D/68C554 ABSOLUTE MAXIMUM RATINGS Supply range Voltage at any pin Operating temperature Storage temperature Package dissipation 7 Volts GND - 0.3 V to VCC +0.3 V -40° C to +85° C -65° C to 150° C 500 mW DC ELECTRICAL CHARACTERISTICS TA=0° - 70°C (-40° - +85°C for Industrial grade packages), Vcc=3.3 - 5.0 V ± 10% unless otherwise specified. Symbol VILCK VIHCK VIL VIH VOL VOL VOH VOH IIL ICL ICC CP RIN Parameter Clock input low level Clock input high level Input low level Input high level Output low level on all outputs Output low level on all outputs Output high level Output high level Input leakage Clock leakage Avg power supply current Input capacitance Internal pull-up resistance Limits 3.3 Min Max Limits 5.0 Min Max -0.3 2.4 -0.3 2.0 -0.5 3.0 -0.5 2.2 0.6 VCC 0.8 0.4 2.0 3 ±10 ±10 3 5 0.6 VCC 0.8 VCC 0.4 2.4 ±10 ±10 6 5 15 Units V V V V V V V V µA µA mA pF kΩ Note: See the Symbol Description Table, for a listing of pins having internal pull-up resistors. Rev. 3.10 27 Conditions IOL= 5 mA IOL= 4 mA IOH= -5 mA IOH= -1 mA ST16C554/554D/68C554 A0-A4 T30s T30h T30w T30d -CS T31h R/-W T31d D0-D7 8654-RD-1 General read timing in 68 mode A0-A4 T30s T30h -CS T32s T32h T30w T32d R/-W T33h T33s D0-D7 8654-WD-1 General write timing in 68 mode Rev. 3.10 28 ST16C554/554D/68C554 Valid Address A0-A2 T6s Active -CS T13d T13h T13w T15d Active -IOW T16s T16h Data D0-D7 X552-WD-1 General write timing in 16 mode Valid Address A0-A2 T6s Active -CS T7d T7w -IOR T7h Active T12d D0-D7 T9d T12h Data X552-RD-1 General read timing in 16 mode Rev. 3.10 29 ST16C554/554D/68C554 -IOW Active T17d -RTS -DTR Change of state Change of state -CD -CTS -DSR Change of state Change of state T18d T18d INT Active Active Active T19d Active -IOR Active Active T18d Change of state -RI X552-MD-1 Modem input/output timing T1w T2w EXTERNAL CLOCK X654-CK-1 T3w External clock timing Rev. 3.10 30 ST16C554/554D/68C554 START BIT RX STOP BIT DATA BITS (5-8) D0 D1 D2 D3 D4 D5 5 DATA BITS 6 DATA BITS 7 DATA BITS D6 D7 PARITY BIT NEXT DATA START BIT T20d Active INT T21d Active -IOR 16 BAUD RATE CLOCK Receive timing Rev. 3.10 31 X552-RX-1 ST16C554/554D/68C554 START BIT RX STOP BIT DATA BITS (5-8) D0 D1 D2 D3 D4 D5 D6 D7 PARITY BIT NEXT DATA START BIT T25d Active Data Ready -RXRDY T26d -IOR Active X552-RX-2 Receive ready timing in none FIFO mode START BIT RX STOP BIT DATA BITS (5-8) D0 D1 D2 D3 D4 D5 D6 D7 PARITY BIT First byte that reaches the trigger level T25d Active Data Ready -RXRDY T26d -IOR Active X552-RX-3 Receive timing in FIFO mode Rev. 3.10 32 ST16C554/554D/68C554 START BIT TX STOP BIT DATA BITS (5-8) D0 D1 D2 D3 D4 D5 5 DATA BITS 6 DATA BITS 7 DATA BITS D6 D7 PARITY BIT NEXT DATA START BIT T22d Active Tx Ready INT T24d T23d -IOW Active Active 16 BAUD RATE CLOCK Transmit timing Rev. 3.10 33 X552-TX-1 ST16C554/554D/68C554 START BIT TX STOP BIT DATA BITS (5-8) D0 D1 D2 D3 D4 D5 D6 D7 PARITY BIT -IOW D0-D7 NEXT DATA START BIT Active T28d BYTE #1 T27d -TXRDY Active Transmitter ready Transmitter not ready X654-TX-2 Transmit ready timing in none FIFO mode Rev. 3.10 34 ST16C554/554D/68C554 START BIT DATA BITS (5-8) D0 TX D1 D2 D3 D4 STOP BIT D5 D6 5 DATA BITS D7 PARITY BIT 6 DATA BITS 7 DATA BITS -IOW Active T28d D0-D7 -TXRDY BYTE #16 T27d FIFO Full X552-TX-3 Transmit ready timing in FIFO mode Rev. 3.10 35 ST16C554/554D/68C554 Rev. 3.10 36 Package Dimensions 100 LEAD PLASTIC QUAD FLAT PACK (14 mm x 20 mm, QFP) Rev. 2.00 D D1 80 51 81 50 E1 100 31 1 30 B A2 e C A Seating Plane α A1 L 1.6 mm Form INCHES SYMBOL A A1 A2 B C D D1 E E1 e L α E MIN MILLIMETERS MAX 0.102 0.130 0.002 0.010 0.100 0.120 0.009 0.015 0.005 0.009 0.904 0.923 0.783 0.791 0.667 0.687 0.547 0.555 0.0256 BSC 0.029 0.040 0° 1.95 mm Form 7° MIN MAX 2.60 3.30 0.05 0.25 2.55 3.05 0.22 0.38 0.13 0.23 22.95 23.45 19.90 20.10 16.95 17.45 13.90 14.10 0.65 BSC 0.73 1.03 0° Note: The control dimension is the millimeter column 7° INCHES MIN MILLIMETERS MAX 0.102 0.134 0.002 0.014 0.100 0.120 0.009 0.015 0.005 0.009 0.931 0.951 0.783 0.791 0.695 0.715 0.547 0.555 0.0256 BSC 0.026 0.037 0° 7° MIN MAX 2.60 3.40 0.05 0.35 2.55 3.05 0.22 0.38 0.13 0.23 23.65 24.15 19.90 20.10 17.65 18.15 13.90 14.10 0.65 BSC 0.65 0.95 0° 7° Package Dimensions 64 LEAD THIN QUAD FLAT PACK (10 x 10 x 1.4 mm, TQFP) Rev. 2.00 D D1 48 33 49 32 D1 64 D 17 1 A2 16 B e C A α Seating Plane A1 L INCHES SYMBOL A A1 A2 B C D D1 e L α MIN MILLIMETERS MAX MIN 0.055 0.063 0.002 0.006 0.053 0.057 0.005 0.009 0.004 0.008 0.465 0.480 0.390 0.398 0.020 BSC 0.018 0.030 1.40 0.05 1.35 0.13 0.09 11.80 9.90 0° 7° MAX 1.60 0.15 1.45 0.23 0.20 12.20 10.10 0.50 BSC 0.45 0.75 0° Note: The control dimension is the millimeter column 7° Package Dimensions 68 LEAD PLASTIC LEADED CHIP CARRIER (PLCC) Rev. 1.00 D C Seating Plane D1 45° x H1 A2 45° x H2 2 1 68 B1 B D D2 D3 D1 e R D3 A1 A INCHES SYMBOL MILLIMETERS MIN MAX MIN MAX A 0.165 0.200 4.19 5.08 A1 0.090 0.130 2.29 3.30 A2 0.020 –––. 0.51 ––– B 0.013 0.021 0.33 0.53 B1 0.026 0.032 0.66 0.81 C 0.008 0.013 0.19 0.32 D 0.985 0.995 25.02 25.27 D1 0.950 0.958 24.13 24.33 D2 0.890 0.930 22.61 23.62 D3 e 0.800 typ. 0.050 BSC 20.32 typ. 1.27 BSC H1 0.042 0.056 1.07 1.42 H2 0.042 0.048 1.07 1.22 R 0.025 0.045 0.64 1.14 Note: The control dimension is the inch column NOTICE EXAR Corporation reserves the right to make changes to the products contained in this publication in order to improve design, performance or reliability. EXAR Corporation assumes no responsibility for the use of any circuits described herein, conveys no license under any patent or other right, and makes no representation that the circuits are free of patent infringement. Charts and schedules contained here in are only for illustration purposes and may vary depending upon a user’s specific application. While the information in this publication has been carefully checked; no responsibility, however, is assumed for inaccuracies. EXAR Corporation does not recommend the use of any of its products in life support applications where the failure or malfunction of the product can reasonably be expected to cause failure of the life support system or to significantly affect its safety or effectiveness. Products are not authorized for use in such applications unless EXAR Corporation receives, in writing, assurances to its satisfaction that: (a) the risk of injury or damage has been minimized; (b) the user assumes all such risks; (c) potential liability of EXAR Corporation is adequately protected under the circumstances. Copyright 1994 EXAR Corporation Reproduction, in part or whole, without the prior written consent of EXAR Corporation is prohibited.