1
FEATURES
14 15
RESET
DTRB
DTRA
RTSA
OPA
RXRDYA
INTA
INTB
A0
A1
A2
NC
36
35
34
33
32
31
30
29
28
27
26
25
16
1
2
3
4
5
6
7
8
9
10
11
12
D5
D6
D7
RXB
RXA
TXRDYB
TXA
TXB
OPB
CSA
CSB
NC
17 18 19 20
RIA
CDA
DSRA
CTSA
47 46 45 44 4348 42
D4
D3
D2
D1
D0
RTSB
CTSB
NC
IOW
GND
RXRDYB
IOR
DSRB
RIB
40 39 3841
21 22 23 24
37
13
NC
TXRDYA
XTAL2
XTAL1
CDB
PACKAGE
(TOP VIEW)
VCC
NC − No internal connection
TL16C752B-EP3.3 V DUAL UART WITH 64-BYTE FIFO
SGLS153B FEBRUARY 2003 REVISED DECEMBER 2007www.ti.com
Controlled Baseline Fast Access Time 2 Clock Cycle IOR/ IOWPulse Width One Assembly Site
Programmable Sleep Mode Test Site
Programmable Serial Interface Characteristics One Fabrication Site
5-Bit, 6-Bit, 7-Bit, or 8-Bit CharactersExtended Temperature Performance of 55 °C to 110 °C and 40 °C to 105 °C Even, Odd, or No Parity Bit Generation andDetectionEnhanced Diminishing Manufacturing Sources(DMS) Support 1, 1.5, or 2 Stop Bit GenerationEnhanced Product Change Notification False Start Bit DetectionQualification Pedigree
(1)
Complete Status Reporting Capabilities inBoth Normal and Sleep ModePin Compatible With ST16C2550 WithAdditional Enhancements Line Break Generation and DetectionUp to 1.5-Mbps Baud Rate When Using Crystal Internal Test and Loopback Capabilities(24-MHz Input Clock)
Fully Prioritized Interrupt System ControlsUp to 3-Mbps Baud Rate When Using
Modem Control Functions ( CTS, RTS, DSR,Oscillator or Clock Source (48-MHz Input
DTR, RI, and CD)Clock)
64-Byte Transmit FIFO64-Byte Receive FIFO With Error FlagsProgrammable and Selectable Transmit andReceive FIFO Trigger Levels for DMA andInterrupt GenerationProgrammable Receive FIFO Trigger Levels forSoftware/Hardware Flow ControlSoftware/Hardware Flow Control Programmable Xon/Xoff Characters Programmable Auto- RTS and Auto- CTSOptional Data Flow Resume by Xon AnyCharacter
DMA Signaling Capability for Both Receivedand Transmitted DataSupports 3.3-V OperationSoftware Selectable Baud Rate GeneratorPrescaler Provides Additional Divide By FourFunction
(1) Component qualification in accordance with JEDEC andindustry standards to ensure reliable operation over anextended temperature range. This includes, but is not limitedto, Highly Accelerated Stress Test (HAST) or biased 85/85,temperature cycle, autoclave or unbiased HAST,electromigration, bond intermetallic life, and mold compoundlife. Such qualification testing should not be viewed asjustifying use of this component beyond specifiedperformance and environmental limits.
1
Please be aware that an important notice concerning availability, standard warranty, and use in critical applications ofTexas Instruments semiconductor products and disclaimers thereto appears at the end of this data sheet.
PRODUCTION DATA information is current as of publication date.
Copyright © 2003 2007, Texas Instruments IncorporatedProducts conform to specifications per the terms of the TexasInstruments standard warranty. Production processing does notnecessarily include testing of all parameters.
www.ti.com
DESCRIPTION/ORDERING INFORMATION
TL16C752B-EP
3.3 V DUAL UART WITH 64-BYTE FIFO
SGLS153B FEBRUARY 2003 REVISED DECEMBER 2007
The TL16C752B is a dual-universal asynchronous receiver/transmitter (UART) with 64-byte FIFOs, automatichardware/software flow control, and data rates up to 3 Mbps. The TL16C752B offers enhanced features. It has atransmission control register (TCR) that stores receiver FIFO threshold levels to start/stop transmission duringhardware and software flow control. With the FIFO RDY register, the software gets the status of TXRDY/RXRDYfor all four ports in one access. On-chip status registers provide the user with error indications, operationalstatus, and modem interface control. System interrupts may be tailored to meet user requirements. An internalloopback capability allows onboard diagnostics.The UART transmits data, sent to it over the peripheral 8-bit bus,on the TX signal and receives characters on the RX signal. Characters can be programmed to be 5, 6, 7, or 8bits. The UART has a 64-byte receive FIFO and transmit FIFO and can be programmed to interrupt at differenttrigger levels. The UART generates its own desired baud rate based upon a programmable divisor and its inputclock. It can transmit even, odd, or no parity and 1, 1.5, or 2 stop bits. The receiver can detect break, idle, orframing errors, FIFO overflow, and parity errors. The transmitter can detect FIFO underflow. The UART alsocontains a software interface for modem control operations, and has software flow control and hardware flowcontrol capabilities.
The TL16C752B is available in a 48-pin PT (LQFP) package.
ORDERING INFORMATION
(1)
T
A
PACKAGE
(2)
40 °C to 105 °C TL16C752BTPTREP 55 °C to 110 °C TL16C752BLPTREP
(1) For the most current package and ordering information, see thePackage Option Addendum at the end of this document, or see theTI Web site at www.ti.com .(2) Package drawings, thermal data, and symbolization are available atwww.ti.com/packaging .
2Submit Documentation Feedback Copyright © 2003 2007, Texas Instruments Incorporated
Product Folder Link(s): TL16C752B-EP
www.ti.com
TL16C752B-EP3.3 V DUAL UART WITH 64-BYTE FIFO
SGLS153B FEBRUARY 2003 REVISED DECEMBER 2007
TERMINAL FUNCTIONS
TERMINAL
I/O DESCRIPTIONNAME NO.
A0 28 I Address 0 select bit. Internal registers address selection.A1 27 I Address 1 select bit. Internal registers address selection.A2 26 I Address 2 select bit. Internal registers address selection.Carrier detect (active low). These inputs are associated with individual UART channels A and B. A lowCDA, 40,
I on these pins indicates that a carrier has been detected by the modem for that channel. The state ofCDB 16
these inputs is reflected in the modem status register (MSR).Chip select A and B (active low). These pins enable data transfers between the user CPU and theCSA, 10,
I TL16C752B for the channel(s) addressed. Individual UART sections (A, B) are addressed by providingCSB 11
a low on the respective CSA and CSB pins.Clear to send (active low). These inputs are associated with individual UART channels A and B. Alogic low on the CTS pins indicates the modem or data set is ready to accept transmit data from theCTSA, 38,
I TL16C752B. Status can be tested by reading MSR bit 4. These pins only affect the transmit andCTSB 23
receive operations when auto CTS function is enabled through the enhanced feature register (EFR) bit7, for hardware flow control operation.Data bus (bidirectional). These pins are the eight bit, 3-state data bus for transferring information to orD0 D4 44 48,
I/O from the controlling CPU. D0 is the least significant bit and the first data bit in a transmit or receiveD5 D7 1 3
serial data stream.Data set ready (active low). These inputs are associated with individual UART channels A and B. ADSRA, 39,
I logic low on these pins indicates the modem or data set is powered on and is ready for data exchangeDSRB 20
with the UART. The state of these inputs is reflected in the modem status register (MSR).Data terminal ready (active low). These outputs are associated with individual UART channels A andDTRA, 34, B. A logic low on these pins indicates that the TL16C752B is powered on and ready. These pins canODTRB 35 be controlled through the modem control register. Writing a 1 to MCR bit 0 sets the DTR output to low,enabling the modem. The output of these pins is high after writing a 0 to MCR bit 0, or after a reset.GND 17 Pwr Signal and power groundInterrupt A and B (active high). These pins provide individual channel interrupts, INT A and B. INT Aand B are enabled when MCR bit 3 is set to a logic 1, interrupt sources are enabled in the interruptINTA, 30,
O enable register (IER). Interrupt conditions include: receiver errors, available receiver buffer data,INTB 29
available transmit buffer space or when a modem status flag is detected. INTA-B are in thehigh-impedance state after reset.Read input (active low strobe). A high-to-low transition on IOR loads the contents of an internal registerIOR 19 I
defined by address bits A0 A2 onto the TL16C752B data bus (D0 D7) for access by an external CPU.Write input (active low strobe). A low-to-high transition on IOW transfers the contents of the data busIOW 15 I (D0 D7) from the external CPU to an internal register that is defined by address bits A0 A2 and CSAand CSB.
User-defined outputs. This function is associated with individual channels A and B. The state of thesepins is defined by the user through the software settings of the MCR register, bit 3. INTA-B are set toOPA, 32,
O active mode and OP to a logic 0 when the MCR-3 is set to a logic 1. INTA-B are set to the 3-stateOPB 9
mode and OP to a logic 1 when MCR-3 is set to a logic 0. See bit 3, modem control register (MCR bit3). The output of these two pins is high after reset.Reset. RESET resets the internal registers and all the outputs. The UART transmitter output and theRESET 36 I receiver input is disabled during reset time. See TL16C752B external reset conditions for initializationdetails. RESET is an active-high input.Ring indicator (active low). These inputs are associated with individual UART channels A and B. ARIA, 41, logic low on these pins indicates the modem has received a ringing signal from the telephone line. AIRIB 21 low-to-high transition on these input pins generates a modem status interrupt, if enabled. The state ofthese inputs is reflected in the modem status register (MSR).Request to send (active low). These outputs are associated with individual UART channels A and B. Alow on the RTS pin indicates the transmitter has data ready and waiting to send. Writing a 1 in theRTSA, 33, modem control register (MCR bit 1) sets these pins to low, indicating data is available. After a reset,ORTSB 22 these pins are set to high. These pins only affect the transmit and receive operation when auto RTSfunction is enabled through the enhanced feature register (EFR) bit 6, for hardware flow controloperation.
Receive data input. These inputs are associated with individual serial channel data to the TL16C752B.RXA, 5,
I During the local loopback mode, these RX input pins are disabled and TX data is internally connectedRXB 4
to the UART RX input internally.RXRDYA, 31, Receive ready (active low). RXRDY A and B goes low when the trigger level has been reached or aORXRDYB 18 timeout interrupt occurs. They go high when the RX FIFO is empty or there is an error in RX FIFO.
Copyright © 2003 2007, Texas Instruments Incorporated Submit Documentation Feedback 3
Product Folder Link(s): TL16C752B-EP
www.ti.com
Control Signals
Modem Control Signals
Divisor
Bus
Interface Control
and
Status Block
Status Signals
Control Signals
Status Signals
Baud Rate
Generator
UART_CLK
Receiver Block
Logic
Receiver FIFO
64-Byte Vote
Logic
Transmitter Block
Logic
Transmitter FIFO
64-Byte
RX
RX
TX
TX
TL16C752B-EP
3.3 V DUAL UART WITH 64-BYTE FIFO
SGLS153B FEBRUARY 2003 REVISED DECEMBER 2007
TERMINAL FUNCTIONS (continued)
TERMINAL
I/O DESCRIPTIONNAME NO.
Transmit data. These outputs are associated with individual serial transmit channel data from theTXA, 7,
O TL16C752B. During the local loopback mode, the TX input pin is disabled and TX data is internallyTXB 8
connected to the UART RX input.TXRDYA, 43, Transmit ready (active low). TXRDY A and B go low when there are at least a trigger level numbers ofOTXRDYB 6 spaces available. They go high when the TX buffer is full.V
CC
42 I Power supply inputsCrystal or external clock input. XTAL1 functions as a crystal input or as an external clock input. AXTAL1 13 I crystal can be connected between XTAL1 and XTAL2 to form an internal oscillator circuit (see Figure10). Alternatively, an external clock can be connected to XTAL1 to provide custom data rates.Output of the crystal oscillator or buffered clock. See also XTAL1. XTAL2 is used as a crystal oscillatorXTAL2 14 O
output or buffered a clock output.
FUNCTIONAL BLOCK DIAGRAM
(A)
A. The vote logic determines whether the RX data is a logic 1 or 0. It takes three samples of the RX line and uses amajority vote to determine the logic level received. The vote logic operates on all bits received.
4Submit Documentation Feedback Copyright © 2003 2007, Texas Instruments Incorporated
Product Folder Link(s): TL16C752B-EP
www.ti.com
FUNCTIONAL DESCRIPTION
Trigger Levels
Hardware Flow Control
Auto- RTS
TL16C752B-EP3.3 V DUAL UART WITH 64-BYTE FIFO
SGLS153B FEBRUARY 2003 REVISED DECEMBER 2007
The TL16C752B UART is pin-compatible with the ST16C2550 UART. It provides more enhanced features. Alladditional features are provided through a special enhanced feature register.
The UART performs a serial-to-parallel conversion on data characters received from peripheral devices ormodems and parallel-to-parallel conversion on data characters transmitted by the processor. The completestatus of each channel of the TL16C752B UART can be read at any time during functional operation by theprocessor.
The TL16C752B can be placed in an alternate mode (FIFO mode) relieving the processor of excessive softwareoverhead by buffering received/transmitted characters. Both the receiver and transmitter FIFOs can store up to64 bytes (including three additional bits of error status per byte for the receiver FIFO) and have selectable orprogrammable trigger levels. Primary outputs RXRDY and TXRDY allow signalling of DMA transfers.
The TL16C752B has selectable hardware flow control and software flow control. Hardware flow controlsignificantly reduces software overhead and increases system efficiency by automatically controlling serial dataflow using the RTS output and CTS input signals. Software flow control automatically controls data flow by usingprogrammable Xon/Xoff characters.
The UART includes a programmable baud rate generator that can divide the timing reference clock input by adivisor between 1 and (2
16
1).
The TL16C752B provides independent selectable and programmable trigger levels for both receiver andtransmitter DMA and interrupt generation. After reset, both transmitter and receiver FIFOs are disabled and so, ineffect, the trigger level is the default value of one byte. The selectable trigger levels are available via the FCR.The programmable trigger levels are available via the TLR.
Hardware flow control is comprised of auto- CTS and auto- RTS. Auto- CTS and auto- RTS can beenabled/disabled independently by programming EFR[7:6].
With auto- CTS, CTS must be active before the UART can transmit data.
Auto- RTS only activates the RTS output when there is enough room in the FIFO to receive data and deactivatesthe RTS output when the RX FIFO is sufficiently full. The halt and resume trigger levels in the TCR determine thelevels at which RTS is activated/deactivated.
If both auto- CTS and auto- RTS are enabled, when RTS is connected to CTS, data transmission does not occurunless the receiver FIFO has empty space. Thus, overrun errors are eliminated during hardware flow control. Ifnot enabled, overrun errors occur if the transmit data rate exceeds the receive FIFO servicing latency.
Auto- RTS data flow control originates in the receiver block (see functional block diagram). Figure 1 shows RTSfunctional timing. The receiver FIFO trigger levels used in auto- RTS are stored in the TCR. RTS is active if theRX FIFO level is below the halt trigger level in TCR[3:0]. When the receiver FIFO halt trigger level is reached,RTS is deasserted. The sending device (e.g., another UART) may send an additional byte after the trigger levelis reached (assuming the sending UART has another byte to send), because it may not recognize thedeassertion of RTS until it has begun sending the additional byte. RTS is automatically reasserted once thereceiver FIFO reaches the resume trigger level programmed via TCR[7:4]. This reassertion allows the sendingdevice to resume transmission.
Copyright © 2003 2007, Texas Instruments Incorporated Submit Documentation Feedback 5
Product Folder Link(s): TL16C752B-EP
www.ti.com
RX
RTS
IOR
Start Byte N Stop Start Byte N+1 Stop Start
1 2 N N+1
Auto- CTS
Byte 0−7 StopStart Byte 0−7 StopStart
TX
CTS
TL16C752B-EP
3.3 V DUAL UART WITH 64-BYTE FIFO
SGLS153B FEBRUARY 2003 REVISED DECEMBER 2007
A. N = receiver FIFO trigger level 2.B. The two blocks in dashed lines cover the case where an additional byte is sent as described in Auto- RTS.
Figure 1. RTS Functional Timing
The transmitter circuitry checks CTS before sending the next data byte. When CTS is active, the transmittersends the next byte. To stop the transmitter from sending the following byte. CTS must be deasserted before themiddle of the last stop bit that is currently being sent. The auto- CTS function reduces interrupts to the hostsystem. When flow control is enabled, the CTS state changes and need not trigger host interrupts because thedevice automatically controls its own transmitter. Without auto- CTS, the transmitter sends any data present in thetransmit FIFO and a receiver overrun error can result. Figure 2 shows CTS functional timing, and Figure 3shows an example of autoflow control.
A. When CTS is low, the transmitter keeps sending serial data outB. When CTS goes high before the middle of the last stop bit of the current byte, the transmitter finishes sending thecurrent byte but it does not send the next byte.C. When CTS goes from high to low, the transmitter begins sending data again.
Figure 2. CTS Functional Timing
6Submit Documentation Feedback Copyright © 2003 2007, Texas Instruments Incorporated
Product Folder Link(s): TL16C752B-EP
www.ti.com
Serial to
Parallel
Flow
Control
Parallel to
Serial
Flow
Control
RX
FIFO
TX
FIFO
Parallel to
Serial
Flow
Control
Serial to
Parallel
Flow
Control
TX
FIFO
RX
FIFO
D7−D0 D7−D0
UART 1 UART 2
RX
RTS
TX
CTS
TX
CTS
RX
RTS
Software Flow Control
TL16C752B-EP3.3 V DUAL UART WITH 64-BYTE FIFO
SGLS153B FEBRUARY 2003 REVISED DECEMBER 2007
Figure 3. Autoflow Control (Auto- RTS and Auto- CTS) Example
Software flow control is enabled through the enhanced feature register and the modem control register. Differentcombinations of software flow control can be enabled by setting different combinations of EFR[3-0]. Table 1shows software flow control options.
There are two other enhanced features relating to S/W flow control:Xon Any Function [MCR(5)]: Operation resumes after receiving any character after recognizing the Xoffcharacter.
NOTE:
It is possible that an Xon1 character is recognized as an Xon Any character whichcould cause an Xon2 character to be written to the RX FIFO.
Special Character [EFR(5)]: Incoming data is compared to Xoff2. Detection of the special character sets theXoff interrupt [IIR(4)] but does not halt transmission. The Xoff interrupt is cleared by a read of the IIR. Thespecial character is transferred to the RX FIFO.
Copyright © 2003 2007, Texas Instruments Incorporated Submit Documentation Feedback 7
Product Folder Link(s): TL16C752B-EP
www.ti.com
RX
TX
TL16C752B-EP
3.3 V DUAL UART WITH 64-BYTE FIFO
SGLS153B FEBRUARY 2003 REVISED DECEMBER 2007
Table 1. Software Flow Control Options EFR[0:3]
BIT 3 BIT 2 BIT 1 BIT 0 Tx, Rx SOFTWARE FLOW CONTROLS
0 0 X X No transmit flow control1 0 X X Transmit Xon1, Xoff10 1 X X Transmit Xon2, Xoff21 1 X X Transmit Xon1, Xon2: Xoff1, Xoff2X X 0 X No receive flow controlX X 1 0 Receiver compares Xon1, Xoff1X X 0 0 Receiver compares Xon2, Xoff21 0 1 1 Transmit Xon1, Xoff1Receiver compares Xon1 and Xon2, Xoff1 and Xoff20 1 1 1 Transmit Xon2, Xoff2Receiver compares Xon1 and Xon2, Xoff1 and Xoff21 1 1 1 Transmit Xon1, Xon2: Xoff1, Xoff2Receiver compares Xon1 and Xon2: Xoff1 and Xoff20 0 1 1 No transmit flow controlReceiver compares Xon1 and Xon2: Xoff1 and Xoff2
When software flow control operation is enabled, the TL16C752B compares incoming data with Xoff1/2programmed characters (in certain cases Xoff1 and Xoff2 must be received sequentially
(1)
). When the correctXoff characters are received, transmission is halted after completing transmission of the current character. Xoffdetection also sets IIR[4] (if enabled via IER[5]) and causes INT to go high.
To resume transmission an Xon1/2 character must be received (in certain cases Xon1 and Xon2 must bereceived sequentially). When the correct Xon characters are received IIR[4] is cleared and the Xoff interruptdisappears.
NOTE:
If a parity, framing, or break error occurs while receiving a software flow controlcharacter, this character is treated as normal data and is written to the RCV FIFO.
Xoff1/2 characters are transmitted when the RX FIFO has passed the HALT trigger level programmed inTCR[3:0].
Xon1/2 characters are transmitted when the RX FIFO reaches the RESUME trigger level programmed inTCR[7:4].
An important note here is that if, after an xoff character has been sent and software flow control is disabled, theUART transmits Xon characters automatically to enable normal transmission to proceed. A feature of theTL16C752B UART design is that if the software flow combination (EFR[3:0]) changes after an Xoff has beensent, the originally programmed Xon is automatically sent. If the RX FIFO is still above the trigger level, the newlyprogrammed Xoff1/2 is transmitted.
The transmission of Xoff/Xon(s) follows the exact same protocol as transmission of an ordinary byte from theFIFO. This means that even if the word length is set to be 5, 6, or 7 characters then the 5, 6, or 7 least significantbits of Xoff1,2/Xon1,2 is transmitted. (Note that the transmission of 5, 6, or 7 bits of a character is seldom done,but this functionality is included to maintain compatibility with earlier designs.)
It is assumed that software flow control and hardware flow control are never enabled simultaneously. Figure 4shows an example of software flow control.
(1) When pairs of Xon/Xoff characters are programmed to occur sequentially, received Xon1/Xoff1 characters must be written to the RxFIFO if the subsequent character is not Xon2/Xoff2.
8Submit Documentation Feedback Copyright © 2003 2007, Texas Instruments Incorporated
Product Folder Link(s): TL16C752B-EP
www.ti.com
UART 1
Parallel to Serial
Serial to Parallel
Xon-1 Word
Xon-2 Word
Xoff-1 Word
Xoff-1 Word
Transmit
FIFO
Serial to Parallel
Parallel to Serial
Xon-1 Word
Xoff-1 Word
Xoff-2 Word
Receive
FIFO
Data
Xoff − Xon − Xoff
Compare
Programmed
Xon−Xoff
Characters
UART 2
Xon-2 Word
Software Flow Control Example
TL16C752B-EP3.3 V DUAL UART WITH 64-BYTE FIFO
SGLS153B FEBRUARY 2003 REVISED DECEMBER 2007
Figure 4. Software Flow Control Example
Assumptions: UART1 is transmitting a large text file to UART2. Both UARTs are using software flow control withsingle character Xoff (0F) and Xon (0D) tokens. Both have Xoff threshold (TCR [3:0]=F) set to 60 and Xonthreshold (TCR[7:4]=8) set to 32. Both have the interrupt receive threshold (TLR[7:4]=D) set to 52.
UART1 begins transmission and sends 52 characters, at which point UART2 generates an interrupt to itsprocessor to service the RCV FIFO, but assume the interrupt latency is fairly long. UART1 continues sendingcharacters until a total of 60 characters have been sent. At this time UART2 transmits a 0F to UART1, informingUART1 to halt transmission. UART1 likely sends the 61
st
character, while UART2 is sending the Xoff character.UART2 is serviced and the processor reads enough data out of the RCV FIFO that the level drops to 32. UART2now sends a 0D to UART1, informing UART1 to resume transmission.
Copyright © 2003 2007, Texas Instruments Incorporated Submit Documentation Feedback 9
Product Folder Link(s): TL16C752B-EP
www.ti.com
Reset
TL16C752B-EP
3.3 V DUAL UART WITH 64-BYTE FIFO
SGLS153B FEBRUARY 2003 REVISED DECEMBER 2007
Table 2 summarizes the state of registers after reset.
Table 2. Register Reset Functions
(1)
RESETREGISTER RESET STATECONTROL
Interrupt enable register RESET All bits clearedInterrupt identification register RESET Bits 0 is set. All other bits cleared.FIFO control register RESET All bits clearedLine control register RESET Reset to 00011101 (1D hex).Modem control register RESET All bits clearedLine status register RESET Bits 5 and 6 set. All other bits clearedModem status register RESET Bits 0 3 cleared. Bits 4 7 input signals.Enhanced feature register RESET All bits clearedReceiver holding register RESET Pointer logic clearedTransmitter holding register RESET Pointer logic clearedTransmission control register RESET All bits clearedTrigger level register RESET All bits cleared
(1) Registers DLL, DLH, SPR, Xon1, Xon2, Xoff1, Xoff2 are not reset by the top-level reset signal RESET,i.e., they hold their initialization values during reset.
Table 3 summarizes the state of registers after reset.
Table 3. Signal Reset Functions
RESETSIGNAL RESET STATECONTROL
TX RESET HighRTS RESET HighDTR RESET HighRXRDY RESET HighTXRDY RESET Low
10 Submit Documentation Feedback Copyright © 2003 2007, Texas Instruments Incorporated
Product Folder Link(s): TL16C752B-EP
www.ti.com
Interrupts
Interrupt Mode Operation
1111
IER
IIR
THR RHR
IOW/IOR
INTProcessor
TL16C752B-EP3.3 V DUAL UART WITH 64-BYTE FIFO
SGLS153B FEBRUARY 2003 REVISED DECEMBER 2007
The TL16C752B has interrupt generation and prioritization (6 prioritized levels of interrupts) capability. Theinterrupt enable register (IER) enables each of the 6 types of interrupts and the INT signal in response to aninterrupt generation. The IER can also disable the interrupt system by clearing bits 0 3, 5 7. When an interruptis generated, the IIR indicates that an interrupt is pending and provides the type of interrupt through IIR[5 0].Table 4 summarizes the interrupt control functions.
Table 4. Interrupt Control Functions
PRIORITY INTERRUPTIIR[5 0] INTERRUPT SOURCE INTERRUPT RESET METHODLEVEL TYPE
000001 None None None None000110 1 Receiver line OE, FE, PE, or BI errors occur in characters in FE, PE, BI: All erroneous characters are readstatus the RX FIFO from the RX FIFO.OE: Read LSR001100 2 RX timeout Stale data in RX FIFO Read RHR000100 2 RHR DRDY (data ready) Read RHRinterrupt (FIFO disable)
RX FIFO above trigger level (FIFO enable)000010 3 THR interrupt TFE (THR empty)(FIFO disable)TX FIFO passes Read IIR OR a write to the THRabove trigger level (FIFO enable)000000 4 Modem MSR[3:0] = 0 Read MSRstatus010000 5 Xoff interrupt Receive Xoff character(s)/special character Receive Xon character(s)/Read of IIR100000 6 CTS, RTS RTS pin or CTS pin change state from active Read IIR(low) to inactive (high)
It is important to note that for the framing error, parity error, and break conditions, LSR[7] generates the interrupt.LSR[7] is set when there is an error anywhere in the RX FIFO and is cleared only when there are no more errorsremaining in the FIFO. LSR[4 2] always represent the error status for the received character at the top of the RXFIFO. Reading the RX FIFO updates LSR[4 2] to the appropriate status for the new character at the top of theFIFO. If the RX FIFO is empty, then LSR[4 2] are all zeros.
For the Xoff interrupt, if an Xoff flow character detection caused the interrupt, the interrupt is cleared by an Xonflow character detection. If a special character detection caused the interrupt, the interrupt is cleared by a read ofthe LSR
In interrupt mode (if any bit of IER[3:0] is 1) the processor is informed of the status of the receiver and transmitterby an interrupt signal, INT. Therefore, it is not necessary to continuously poll the line stats register (LSR) to see ifany interrupt needs to be serviced. Figure 5 shows interrupt mode operation.
Figure 5. Interrupt Mode Operation
Copyright © 2003 2007, Texas Instruments Incorporated Submit Documentation Feedback 11
Product Folder Link(s): TL16C752B-EP
www.ti.com
Polled Mode Operation
0000
LSR
IER
THR RHR
IOW/IOR
Processor
DMA Signalling
Single DMA Transfers (DMA Mode0/FIFO Disable)
TL16C752B-EP
3.3 V DUAL UART WITH 64-BYTE FIFO
SGLS153B FEBRUARY 2003 REVISED DECEMBER 2007
In polled mode (IER[3:0]=0000) the status of the receiver and transmitter can be checked by polling the linestatus register (LSR). This mode is an alternative to the FIFO interrupt mode of operation where the status of thereceiver and transmitter is automatically known by means of interrupts sent to the CPU. Figure 6 shows FIFOpolled mode operation.
Figure 6. FIFO Polled Mode Operation
There are two modes of DMA operation: DMA mode 0 or 1, selected by FCR[3].
In DMA mode 0 or FIFO disable (FCR[0]=0) DMA occurs in single character transfers. In DMA mode 1multi-character (or block) DMA transfers are managed to relieve the processor for longer periods of time.
Transmitter: When empty, the TXRDY signal becomes active. TXRDY goes inactive after one character hasbeen loaded into it.
Receiver: RXRDY is active when there is at least one character in the FIFO. It becomes inactive when thereceiver is empty.
Figure 7 shows TXRDY and RXRDY in DMA mode0/FIFO disable.
Figure 7. TXRDY and RXRDY in DMA Mode 0/FIFO Disable
12 Submit Documentation Feedback Copyright © 2003 2007, Texas Instruments Incorporated
Product Folder Link(s): TL16C752B-EP
www.ti.com
Block DMA Transfers (DMA Mode 1)
TXRDY
wrptr
TXRDY
wrptr
FIFO Full
TX
FIFO Empty
RXRDY
rdptr
RXRDY
rdptr
At Least One
Location Filled
RX
Trigger
Level
Trigger
Level
Sleep Mode
Break and Timeout Conditions
TL16C752B-EP3.3 V DUAL UART WITH 64-BYTE FIFO
SGLS153B FEBRUARY 2003 REVISED DECEMBER 2007
Transmitter: TXRDY is active when there is a trigger level number of spaces available. It becomes inactive whenthe FIFO is full.
Receiver: RXRDY becomes active when the trigger level has been reached or when a timeout interrupt occurs. Itgoes inactive when the FIFO is empty or an error in the RX FIFO is flagged by LSR(7)
Figure 8 shows TXRDY and RXRDY in DMA mode 1.
Figure 8. TXRDY and RXRDY in DMA Mode 1
Sleep mode is an enhanced feature of the TL16C752B UART. It is enabled when EFR[4], the enhancedfunctions bit, is set AND when IER[4] is set. Sleep mode is entered when:The serial data input line, RX, is idle (see break and time-out conditions).The TX FIFO and TX shift register are empty.There are no interrupts pending except THR and time-out interrupts.
NOTE:
Sleep mode is not entered if there is data in the RX FIFO.
In sleep mode the UART clock and baud rate clock are stopped. Since most registers are clocked using theseclocks, the power consumption is greatly reduced. The UART wakes up when any change is detected on the RXline, when there is any change in the state of the modem input pins, or if data is written to the TX FIFO.
NOTE:
: Writing to the divisor latches, DLL and DLH, to set the baud clock, must not be doneduring sleep mode. Therefore it is advisable to disable sleep mode using IER[4]before writing to DLL or DLH.
An RX idle condition is detected when the receiver line, RX, has been high for a time equivalent to (4Xprogrammed word length) +12 bits. The receiver line is sampled midway through each bit.
When a break condition occurs the TX line is pulled low. A break condition is activated by setting LCR[6].
Copyright © 2003 2007, Texas Instruments Incorporated Submit Documentation Feedback 13
Product Folder Link(s): TL16C752B-EP
www.ti.com
Programmable Baud Rate Generator
divisor = (XTAL1 crystal input frequency/prescaler) / (desired baud rate × 16)
where:
prescaler +ȥ
ȡ
Ȣ
1, when MCR[7] is set to 0 after reset (divide-by-1 clock selected)
4, when MCR[7] is set to 1 after reset (divide-by-4 clock selected)
(1)
Prescaler Logic
(Divide By 1)
Prescaler Logic
(Divide By 4)
Internal
Oscillator
Logic
Baud Rate
Generator
Logic
XTAL1
XTAL2
MCR[7] = 0
MCR[7] = 1
Input Clock
Reference
Clock
TL16C752B-EP
3.3 V DUAL UART WITH 64-BYTE FIFO
SGLS153B FEBRUARY 2003 REVISED DECEMBER 2007
The TL16C752B UART contains a programmable baud generator that takes any clock input and divides it by adivisor in the range between 1 and (2
16
1). An additional divide-by-4 prescaler is also available and can beselected by MCR[7], as shown in Figure 9 . The output frequency of the baud rate generator is 16 ×the baudrate. The formula for the divisor is:
NOTE:
The default value of prescaler after reset is divide-by-1.
Figure 9 shows the internal prescaler and baud rate generator circuitry.
Figure 9. Prescaler and Baud Rate Generator Block Diagram
DLL and DLH must be written to in order to program the baud rate. DLL and DLH are the least significant andmost significant byte of the baud rate divisor. If DLL and DLH value are both zero, the UART is effectivelydisabled, as no baud clock is generated.
NOTE:
The programmable baud rate generator is provided to select both the transmit andreceive clock rates.
14 Submit Documentation Feedback Copyright © 2003 2007, Texas Instruments Incorporated
Product Folder Link(s): TL16C752B-EP
www.ti.com
TL16C752B-EP3.3 V DUAL UART WITH 64-BYTE FIFO
SGLS153B FEBRUARY 2003 REVISED DECEMBER 2007
Table 5 and Table 6 show the baud rate and divisor correlation for crystal with frequency 1.8432 MHz and 3.072MHz respectively.
Figure 10 shows the crystal clock circuit reference.
Table 5. Baud Rates Using a 1.8432-MHz Crystal
DIVISOR USEDTO PERCENT ERROR DIFFERENCEDESIRED
GENERATE BETWEENBAUD RATE
16 ×CLOCK DESIRED AND ACTUAL
50 230475 1536110 1047 0.026134.5 857 0.058150 768300 384600 1921200 961800 642000 58 0.692400 483600 324800 247200 169600 1219200 638400 356000 2 2.86
Table 6. Baud Rates Using a 3.072-MHz Crystal
DIVISOR USEDTO PERCENT ERRORDESIRED
GENERATE DIFFERENCE BETWEENBAUD RATE
16 ×CLOCK DESIRED AND ACTUAL
50 384075 2560110 1745 0.026134.5 1428 0.034150 1280300 640600 3201200 1601800 107 0.3122000 962400 80 1.233600 534800 407200 279600 2019200 1038400 5 2.86
Copyright © 2003 2007, Texas Instruments Incorporated Submit Documentation Feedback 15
Product Folder Link(s): TL16C752B-EP
www.ti.com
Driver
Optional
Driver
External
Clock
Optional
Clock
Output
Oscillator Clock
to Baud Generator
Logic
XTAL1
XTAL2
VCC
Crystal
XTAL1
RX2
VCC
XTAL2
C1
RP
C2
Oscillator Clock
to Baud Generator
Logic
ABSOLUTE MAXIMUM RATINGS
(1) (2)
TL16C752B-EP
3.3 V DUAL UART WITH 64-BYTE FIFO
SGLS153B FEBRUARY 2003 REVISED DECEMBER 2007
A. For crystal with fundamental frequency from 1 MHz to 24 MHzB. For input clock frequency higher than 24 MHz, the crystal is not allowed and the oscillator must be used, since theTL16C752B internal oscillator cell can only support the crystal frequency up to 24 MHz.
TYPICAL CRYSTAL OSCILLATOR NETWORK
CRYSTAL R
P
RX2 C1 C2
3.072 MHz 1 M 1.5 k 10 pF 30 pF 40 pF 60 pF1.8432 MHz 1 M 1.5 k 10 pF 30 pF 40 pF 60 pF
Figure 10. Typical Crystal Clock Circuits
over operating free-air temperature range (unless otherwise noted)
MIN MAX UNIT
V
CC
Supply voltage range 0.5 3.6 VV
I
Input voltage range 0.5 V
CC
+ 0.5 VV
O
Output voltage range 0.5 V
CC
+ 0.5 VT
A
Operating free-air temperature range (L device) 55 110 °CT
A
Operating free-air temperature range (T device) 40 105 °CT
stg
Storage temperature range 65 150 °C
(1) Stresses beyond those listed under "absolute maximum ratings" may cause permanent damage to the device. These are stress ratingsonly and functional operation of the device at these or any other conditions beyond those indicated under "recommended operatingconditions" is not implied. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability.(2) Long-term high-temperature storage and/or extended use at maximum recommended operating conditions may result in a reduction ofoverall device life. See http://www.ti.com/ep_quality for additional information on enhanced plastic packaging.
16 Submit Documentation Feedback Copyright © 2003 2007, Texas Instruments Incorporated
Product Folder Link(s): TL16C752B-EP
www.ti.com
RECOMMENDED OPERATING CONDITIONS
TL16C752B-EP3.3 V DUAL UART WITH 64-BYTE FIFO
SGLS153B FEBRUARY 2003 REVISED DECEMBER 2007
Low voltage (3.3 V nominal) (unless otherwise noted)
MIN NOM MAX UNIT
V
CC
Supply voltage 2.7 3.3 3.6 VV
I
Input voltage 0 V
CC
VV
IH
High-level input voltage
(1)
0.7 V
CC
V
CC
VV
IL
Low-level input voltage
(1)
0.3 V
CC
VV
O
Output voltage
(2)
0 V
CC
VV
CC
I
OH
= 8 mA
(3)
0.8V
OH
High-level output current VV
CC
I
OH
= 4 mA
(4)
0.8I
OL
= 8 mA
(3)
0.5V
OL
Low-level output current VI
OL
= 4 mA
(4)
0.5C
I
Input capacitance 18 pFT
A
Operating free-air temperature range (L device) -55 25 110T
A
Operating free-air temperature range (T device) 40 25 105 °CT
J
Virtual junction temperature range
(5)
25 125 °COscillator/clock speed
(6)
48 MHzClock duty cycle 50%36 MHz, 3.6 V 20I
CC
Supply current
(7)
5 MHz, 3.6 V 6 mASleep mode, 3.6 V 1.2
(1) Meets TTL levels, V
IO(min)
= 2 V and V
IH(max)
= 0.8 V on nonhysteresis inputs.(2) Applies for external output buffers.(3) These parameters apply for D7 D0.(4) These parameters apply for DTRA, DTRB, INIA, INTB, RTSA, RTSB, RXRDYA, RXRDYB, TXRDYA, TXRDYB, TXA, TXB.(5) These junction temperatures reflect simulated conditions. Absolute maximum junction temperature is 150 °C. The customer isresponsible for verifying junction temperature.(6) The internal oscillator cell can only support up to 24 MHz clock frequency to make the crystal oscillating when crystal is used. If externaloscillator or other on board clock source is used, the TL16C752B can work for input clock frequency up to 48 MHz.(7) Measurement condition:a. Normal operation other than sleep mode: V
CC
= 3.3 V, T
A
= 25 °C. Full duplex serial activity on all serial (UART) channels at the clockfrequency specified in the recommended operating conditions with divisor of one.b. Sleep mode: V
CC
= 3.3 V, T
A
= 25 °C. After enabling the sleep mode for all four channels, all serial and host activity is kept idle.
Copyright © 2003 2007, Texas Instruments Incorporated Submit Documentation Feedback 17
Product Folder Link(s): TL16C752B-EP
www.ti.com
TIMING REQUIREMENTS
TL16C752B-EP
3.3 V DUAL UART WITH 64-BYTE FIFO
SGLS153B FEBRUARY 2003 REVISED DECEMBER 2007
T
A
= 55 °C to 110 °C (L device) , 40 °C to 105 °C (T device) V
CC
= 3.3 V + 10% (unless otherwise noted) (see Figures 12through Figure 19)
PARAMETER TEST CONDITIONS MIN MAX UNIT
t
d1
IOR delay from chip select 0 nst
d2
Read cycle delay 2t
p(I)
(1)
nst
d3
Delay from IOR to data 28.5 nst
d4
Data disable time 15 nst
d5
IOW delay from chip select 10 nst
d6
Write cycle delay 100-pF load 2t
p(I)
(1)
nst
d7
Delay from IOW to output 100-pF load 50 nst
d8
Delay to set interrupt from MODEM input 100-pF load 70 nst
d9
Delay to reset interrupt from IOR 70 nst
d10
Delay from stop to set interrupt 100-pF load 1
Rclk(2)
t
d11
Delay from IOR to reset interrupt 70 nst
d12
Delay from stop to interrupt 100 nst
d13
Delay from initial INT reset to transmit start 8 24
(2)
t
d14
Delay from IOW to reset interrupt 70 nst
d15
Delay from stop to set RXRDY 1 Clockt
d16
Delay from IOR to reset RXRDY 1 µmt
d17
Delay from IOW to set TXRDY 70 nst
d18
Delay from start to reset TXRDY 16
(2)
t
d19
Delay between successive assertion of IOW and IOR 4P
(1) (2)
t
h1
Chip select hold time from IOR 0 nst
h2
Chip select hold time from IOW 0 nst
h3
Data hold time 15 nsth4 Address hold time 0 nst
h5
Hold time from XTAL1 clock to IOW or IOR release 20 nst
p1
, t
p2
Clock cycle period 20 nst
p3
Oscillator/clock speed V
CC
= 3 V 48 MHzt
(RESET)
Reset pulse width 200 nst
su1
Address setup time 0 nst
su2
Data setup time 16 nst
su3
Setup time from IOW or IOR assertion to XTAL1 clock 20 nst
w1
IOR strobe width 2t
p(I)
(1)
nst
w2
IOW strobe width 2t
p(I)
(1)
ns
(1) t
p(I)
= input clock period(2) Baud rate
18 Submit Documentation Feedback Copyright © 2003 2007, Texas Instruments Incorporated
Product Folder Link(s): TL16C752B-EP
www.ti.com
TYPICAL CHARACTERISTICS
ÎÎÎÎÎ
ÎÎÎÎÎ
ÎÎÎÎÎ
ÎÎÎÎÎ
ÎÎÎÎÎ
ÎÎÎÎÎ
ÎÎÎÎÎ
ÎÎÎÎÎ
ÎÎÎÎÎ
ÎÎÎÎÎ
ÎÎÎÎÎ
ÎÎÎÎÎ
ÎÎÎÎÎ
ÎÎÎÎÎ
ÎÎÎÎÎ
ÎÎÎÎ
ÎÎÎÎ
ÎÎÎÎ
ÎÎÎÎ
ÎÎÎÎ
ÎÎÎ
ÎÎÎ
ÎÎÎ
ÎÎÎ
ÎÎÎ
ÎÎÎÎÎÎÎÎÎ
ÎÎÎÎÎÎÎÎÎ
ÎÎÎÎÎÎÎÎÎ
ÎÎÎÎÎÎÎÎÎ
ÎÎÎÎÎÎÎÎÎ
ÎÎÎÎÎÎÎÎÎÎ
ÎÎÎÎÎÎÎÎÎÎ
ÎÎÎÎÎÎÎÎÎÎ
ÎÎÎÎÎÎÎÎÎÎ
ÎÎÎÎÎÎÎÎÎÎ
Valid
Active
Active
Data
tsu1
td1 th1
tw1 td2
td3 td4
A0−A2
CS (A−B)
IOR
D0−D7
th4
ÎÎÎÎÎ
ÎÎÎÎÎ
ÎÎÎÎÎ
ÎÎÎÎÎ
ÎÎÎÎÎ
ÎÎÎÎÎ
ÎÎÎÎÎ
ÎÎÎÎÎ
ÎÎÎÎÎ
ÎÎÎÎÎ
ÎÎÎÎÎ
ÎÎÎÎÎ
ÎÎÎÎÎ
ÎÎÎÎÎ
ÎÎÎÎÎ
ÎÎÎÎ
ÎÎÎÎ
ÎÎÎÎ
ÎÎÎÎ
ÎÎÎÎ
ÎÎÎ
ÎÎÎ
ÎÎÎ
ÎÎÎ
ÎÎÎ
ÎÎÎÎÎÎÎÎÎ
ÎÎÎÎÎÎÎÎÎ
ÎÎÎÎÎÎÎÎÎ
ÎÎÎÎÎÎÎÎÎ
ÎÎÎÎÎÎÎÎÎ
ÎÎÎÎÎÎÎÎÎÎ
ÎÎÎÎÎÎÎÎÎÎ
ÎÎÎÎÎÎÎÎÎÎ
ÎÎÎÎÎÎÎÎÎÎ
ÎÎÎÎÎÎÎÎÎÎ
Valid
Active
Active
Data
tsu1
td5 th2
tw2 td6
tsu2 th3
A0−A2
CS (A−B)
IOW
D0−D7
th4
tsu3
XTAL1
th5
td19
IOW
IOR
TL16C752B-EP3.3 V DUAL UART WITH 64-BYTE FIFO
SGLS153B FEBRUARY 2003 REVISED DECEMBER 2007
Figure 11. General Read Timing
Figure 12. General Write Timing
Figure 13. Alternate Read/Write Strobe Timing
Copyright © 2003 2007, Texas Instruments Incorporated Submit Documentation Feedback 19
Product Folder Link(s): TL16C752B-EP
www.ti.com
Active
Active Active Active
Active Active Active
Change of State Change of State
td7
td8 td8
td9
td8
IOW
RTS (A−B)
DTR (A−B)
CD (A−B)
CTS (A−B)
DSR (A−B)
INT (A−B)
IOR
RI (A−B) Change of State
Change of State
Start
Bit
Parity
Bit
Stop
Bit
Next
Data
Start
Bit
Data Bits (5−8)
td10
td11
RX (A−B)
INT (A−B)
IOR
D0 D1 D2 D3 D4 D5 D6 D7
Active
Active
6 Data Bits
7 Data Bits
16 Baud Rate Clock
5 Data Bits
TL16C752B-EP
3.3 V DUAL UART WITH 64-BYTE FIFO
SGLS153B FEBRUARY 2003 REVISED DECEMBER 2007
TYPICAL CHARACTERISTICS (continued)
Figure 14. Modem Input/Output Timing
Figure 15. Receive Timing
20 Submit Documentation Feedback Copyright © 2003 2007, Texas Instruments Incorporated
Product Folder Link(s): TL16C752B-EP
www.ti.com
Start
Bit
Parity
Bit
Stop
Bit
Next
Data
Start
Bit
Data Bits (5−8)
td15
td16
RX (A−B)
RXRDY (A−B)
RXRDY
IOR
D0 D1 D2 D3 D4 D5 D6 D7
Active
Data
Ready
Active
Start
Bit
Parity
Bit
Stop
Bit
First Byte
That Reaches
the Trigger
Level
Data Bits (5−8)
td15
td16
RX (A−B)
RXRDY (A−B)
RXRDY
IOR
D0 D1 D2 D3 D4 D5 D6 D7
Active
Data
Ready
Active
TL16C752B-EP3.3 V DUAL UART WITH 64-BYTE FIFO
SGLS153B FEBRUARY 2003 REVISED DECEMBER 2007
TYPICAL CHARACTERISTICS (continued)
Figure 16. Receive Ready Timing in Non-FIFO Mode
Figure 17. Receive Timing in FIFO Mode
Copyright © 2003 2007, Texas Instruments Incorporated Submit Documentation Feedback 21
Product Folder Link(s): TL16C752B-EP
www.ti.com
Start
Bit
5 Data Bits
6 Data Bits
7 Data Bits
Parity
Bit
Stop
Bit
Next
Data
Start
Bit
Data Bits (5−8)
td12
td14
16 Baud Rate Clock
TX (A−B)
INT (A−B)
IOW
D0 D1 D2 D3 D4 D5 D6 D7
Active
Tx Ready
Active
td13
Active
Start
Bit
Parity
Bit
Stop
Bit
Next
Data
Start
Bit
Data Bits (5−8)
td17
td18
TX (A−B)
TXRDY (A−B)
IOW
D0 D1 D2 D3 D4 D5 D6 D7
Active
Transmitter
Not Ready
Byte 1
Active
Transmitter Ready
D0−D7
TL16C752B-EP
3.3 V DUAL UART WITH 64-BYTE FIFO
SGLS153B FEBRUARY 2003 REVISED DECEMBER 2007
TYPICAL CHARACTERISTICS (continued)
Figure 18. Transmit Timing
Figure 19. Transmit Ready Timing in Non-FIFO Mode
22 Submit Documentation Feedback Copyright © 2003 2007, Texas Instruments Incorporated
Product Folder Link(s): TL16C752B-EP
www.ti.com
td17
td18
TXRDY (A−B)
IOW Active
Trigger
Lead
Byte 32D0−D7
Start
Bit
5 Data Bits
6 Data Bits
7 Data Bits
Parity
Bit
Stop
Bit
Data Bits (5−8)
TX (A−B) D0 D1 D2 D3 D4 D5 D6 D7
Timing Error Condition
Problem Description
TL16C752B-EP3.3 V DUAL UART WITH 64-BYTE FIFO
SGLS153B FEBRUARY 2003 REVISED DECEMBER 2007
TYPICAL CHARACTERISTICS (continued)
Figure 20. Transmit Ready Timing in FIFO Mode
Texas Instruments has discovered a timing anomaly in the TL16C752B.
The problem only occurs under a special set of circumstances (non-FIFO mode) and can be worked around byusing certain timing. Depending on actual system application, some customers may not see this problem. Thereare currently no plans to fix this problem, because it is felt that it is a minor issue. It is unlikely the device is usedin non-FIFO mode, and if it is, the software workaround does not have a significant impact on throughput (< 1%).
When using the non-FIFO (single byte) mode of operation, it is possible that valid data could be reported asavailable by either the line status register (LSR) or the interrupt identification register (IIR), before the receiverholding register (RHR) can be read. In other words, the loading of valid data in RHR may be delayed when thepart operates in non-FIFO mode. The data in the RHr is valid after a delay of one baud-clock period after theupdate of the LSR or IIR. The baud-clock runs at 16 ×the baud rate. The following table is a sample of baudrates and associated required delays. Depending on the operating environment, this time may well betransparent to the system, e.g., less than the context switch time of the interrupt service routine.
This problem does not exist when using FIFO mode (64 byte) mode of operation.BAUDRATE (BIT PER
REQUIRED DELAY ( µs)SECOND)
1200 52.1 ms2400 26 ms4800 13 ms9600 6.5 ms19200 3.3 ms38400 1.6 ms57600 1.1 ms115200 0.5 ms1000000 62.5 ns
Copyright © 2003 2007, Texas Instruments Incorporated Submit Documentation Feedback 23
Product Folder Link(s): TL16C752B-EP
www.ti.com
PRINCIPLES OF OPERATION
Register Map
(1)
TL16C752B-EP
3.3 V DUAL UART WITH 64-BYTE FIFO
SGLS153B FEBRUARY 2003 REVISED DECEMBER 2007
Each register is selected using address lines A[0], A[1], A[2], and in some cases, bits from other registers. Theprogramming combinations for register selection are shown in Table 7. All registers shown in bold are accessedby a combination of address pins and register bits.
Table 7. Register Map Read/Write Properties
A[2] A[1] A[0] READ MODE WRITE MODE
0 0 0 Receive holding register (RHR) Transmit holding register (THR)0 0 1 Interrupt enable register (IER) Interrupt enable register0 1 0 Interrupt identification register (IIR) FIFO control register (FCR)0 1 1 Line control register (LCR) Line control register1 0 0 Modem control register (MCR) Modem control register1 0 1 Line status register (LSR)1 1 0 Modem status register (MSR)1 1 1 Scratch register (SPR) Scratch register (SPR)
0 0 0 Divisor latch LSB (DLL) Divisor latch LSB (DLL)
0 0 1 Divisor latch MSB (DLH) Divisor latch MSB (DLH )
0 1 0 Enhanced feature register (EFR) Enhanced feature register
1 0 0 Xon-1 word Xon-1 word
1 0 1 Xon-2 word Xon-2 word
1 1 0 Xoff-1 word Xoff-1 word
1 1 1 Xoff-2 word Xoff-2 word
1 1 0 Transmission control register (TCR) Transmission control register
1 1 1 Trigger level register (TLR) Trigger level register
1 1 1 FIFO ready register
(1) DLL and DLH are accessible only when LCR bit-7, is 1.Enhanced feature register, Xon1, 2 and Xoff1, 2 are accessible only when LCR is set to 10111111 (8hBF).Transmission control register and trigger level register are accessible only when EFR[4] = 1 and MCR[6] = 1, i.e. EFR[4] and MCR[6]are read/write enables.FIFORdy register is accessible only when CSA and CSB = 0, MCR [2] = 1 and loopback is disabled (MCR[4]=0).MCR[7] can only be modified when EFR[4] is set.
24 Submit Documentation Feedback Copyright © 2003 2007, Texas Instruments Incorporated
Product Folder Link(s): TL16C752B-EP
www.ti.com
TL16C752B-EP3.3 V DUAL UART WITH 64-BYTE FIFO
SGLS153B FEBRUARY 2003 REVISED DECEMBER 2007
Table 8 lists and describes the TL16C752B internal registers.
Table 8. TL16C752B Internal Registers
(1) (2)
Addr RGTR BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0 READ/WR
ITE
000 RHR Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Read000 THR Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Write001 IER 0/ CTS 0/ RTS 0/Xoff 0/X Sleep Modem Rx line THR Rx data Read/Writinterrupt interrupt sleep mode status status empty available eenable enable mode interrupt interrupt interrupt interrupt010 FCR Rx trigger Rx trigger 0/TX 0/TX DMA Resets Tx Resets Rx Enables Writelevel level trigger trigger mode FIFO FIFO FIFOslevel level select010 IIR FCR(0) FCR(0) 0/CTS, 0/Xoff? Interrupt Interrupt Interrupt Interrupt ReadRTS? priority Bit priority Bit priority Bit status210011 LCR DLAB and Break Sets parity Parity type Parity Number of Word Word Read/WritEFR control Bit select enable stop Bits length length eenable100 MCR 1x or 1x/4 TCR and 0/Xon Any 0/Enable IRQ FIFO Rdy RTS DTR Read/Writclock TLR loopback enable OP enable eenable
101 LSR 0/Error in THR and THR Break Framing Parity error Overrun Data in ReadRx FIFO TSR empty interrupt error error receiverempty110 MSR CD RI DSR CTS ΔCD ΔRI ΔDSR ΔCTS Read111 SPR Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Read/Writ
e000 DLL Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Read/Writ
e001 DLH Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 Read/Writ
e010 EFR Auto- CTS Auto- RTS Special Enable S/W flow S/W flow S/W flow S/W flow Read/Writcharacter enhanced control Bit control Bit control Bit control Bit edetect functions 3210100 Xon1 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Read/Writ
e101 Xon2 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Read/Writ
e110 Xoff1 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Read/Writ
e111 Xoff2 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Read/Writ
e110 TCR Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Read/Writ
e111 TLR Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Read/Writ
e111 FIFO Rdy 0 0 RX FIFO RX FIFO 0 0 TX FIFO TX FIFO ReadB status A status B status A status
(1) The shaded bits can be modified only if register bit EFR[4] is enabled, i.e., if enhanced functions are enabled.(2) See the notes under Table 7 for more register access information.
Copyright © 2003 2007, Texas Instruments Incorporated Submit Documentation Feedback 25
Product Folder Link(s): TL16C752B-EP
www.ti.com
Receiver Holding Register (RHR) and The Receiver Shift Register (RSR)
Transmit Holding Register (THR) and TheTransmit Shift Register (TSR)
FIFO Control Register (FCR)
TL16C752B-EP
3.3 V DUAL UART WITH 64-BYTE FIFO
SGLS153B FEBRUARY 2003 REVISED DECEMBER 2007
The receiver section consists of the receiver holding register (RHR) and the receiver shift register (RSR). TheRHR is actually a 64-byte FIFO. The RSR receives serial data from the RX terminal. The data is converted toparallel data and moved to the RHR. The receiver section is controlled by the line control register. If the FIFO isdisabled, location zero of the FIFO is used to store the characters. (Note, in this case characters are overwrittenif overflow occurs.) If overflow occurs, characters are lost. The RHR also stores the error status bits associatedwith each character.
The transmitter section consists of the transmit holding register (THR) and the transmit shift register (TSR). TheTHR is actually a 64-byte FIFO. The THR receives data and shifts it into the TSR, where it is converted to serialdata and moved out on the TX terminal. If the FIFO is disabled, the FIFO is still used to store the byte.Characters are lost if overflow occurs.
The FIFO control register is a write-only register, which is used for enabling the FIFOs, clearing the FIFOs,setting transmitter and receiver trigger levels, and selecting the type of DMA signalling. Table 9 shows the FCRbit settings.
Table 9. FIFO Control Register (FCR) Bit Settings
BIT NO. BIT SETTINGS
0 0 = Disable the transmit and receive FIFOs1 = Enable the transmit and receive FIFOs1 0 = No change1 = Clears the receive FIFO and resets counter logic to zero. Returns to zero after clearing FIFO.2 0 = No change1 = Clears the receive FIFO and resets counter logic to zero. Returns to zero after clearing FIFO.3 0 = DMA Mode 01 = DMA MOde 15:4 Sets the trigger level for the TX FIFO:00 8 spaces
01 16 spaces10 32 spaces11 56 spaces7:4 Sets the trigger level for the RX FIFO:00 8 characters
01 16 characters
10 56 characters
11 60 characters
26 Submit Documentation Feedback Copyright © 2003 2007, Texas Instruments Incorporated
Product Folder Link(s): TL16C752B-EP
www.ti.com
Line Control Register (LCR)
Line Status Register (LSR)
TL16C752B-EP3.3 V DUAL UART WITH 64-BYTE FIFO
SGLS153B FEBRUARY 2003 REVISED DECEMBER 2007
The line control register controls the data communication format. The word length, number of stop bits, and paritytype are selected by writing the appropriate bits to the LCR. Table 10 shows the line control register bit settings.
Table 10. TL16C752B Internal Registers
BIT NO. BIT SETTINGS
1:0 Specifies the word length to be transmitted or received.00 5 bits01 6 bits10 7 bits11 8 bits2 Specifies the number of stop bits:0 1 stop bits (word length = 5, 6, 7, 8)1 1.5 stop bits (word length = 5)1 2 stop bits (word length = 6, 7, 8)3 0 = No parity1 = A parity bit is generated during transmission and the receiver checks for received parity.4 0 = Odd parity is generated (if LCR(3) = 1)1 = Even parity is generated (if LCR(3) = 1)5 Selects the forced parity format (if LCR(3) = 1)If LCR(5) = 1 and LCR(4) = 0 = the parity bit is forced to 1 in the transmitted and received data.If LCR(5) = 1 and LCR(4) = 1 = the parity bit is forced to 0 in the transmitted and received data.6 Break control bit.0 = Normal operating condition1 = Forces the transmitter output to go low to alert the communication terminal.7 0 = Normal operating condition 1 = Divisor latch enable
Table 11 shows the line status register bit settings.
Table 11. Line Status Register (LSR) Bit Settings
BIT NO. BIT SETTINGS
0 0 = No data in the receive FIFO1 = At least one character in the RX FIFO1 0 = No overrun error1 = Overrun error has occurred.2 0 = No parity error in data being read from RX FIFO1 = Parity error in data being read from RX FIFO3 0 = No framing error in data being read from RX FIFO1 = Framing error occurred in data being read from RX FIFO (i.e., received data did not have a valid stop bit)4 0 = No break condition1 = A break condition occurred and associated byte is 00. (i.e., RX was low for one character time frame).5 0 = Transmit hold register is not empty1 = Transmit hold register is empty. The processor can now load up to 64 bytes of data into the THR if the TX FIFO is enabled6 0 = Transmitter hold and shift registers are not empty.1 = Transmitter hold and shift registers are empty.7 0 = Normal operation1 = At least one parity error, framing error or break indication in the receiver FIFO. BIt 7 is cleared when no more errors arepresent in the FIFO.
Copyright © 2003 2007, Texas Instruments Incorporated Submit Documentation Feedback 27
Product Folder Link(s): TL16C752B-EP
www.ti.com
Modem Control Register (MCR)
TL16C752B-EP
3.3 V DUAL UART WITH 64-BYTE FIFO
SGLS153B FEBRUARY 2003 REVISED DECEMBER 2007
When the LSR is read, LSR[4:2] reflect the error bits [BI, FE, PE] of the character at the top of the RX FIFO (nextcharacter to be read). The LSR[4:2] registers do not physically exist, as the data read from the RX FIFO is outputdirectly onto the output data-bus, DI[4:2], when the LSR is read. Therefore, errors in a character are identified byreading the LSR and then reading the RHR.
LSR[7] is set when there is an error anywhere in the RX FIFO and is cleared only when there are no more errorsremaining in the FIFO.
NOTE:
Reading the LSR does not cause an increment of the RX FIFO read pointer. The RXFIFO read pointer is incremented by reading the RHR.
NOTE:
TI has found that the three error bits (parity, framing, break) may not be updatedcorrectly in the first read of the LSR when the input clock (Xtal1) is running faster than36 MHz. However, the second read should be correct. It is strongly recommendedthat when using this device with a clock faster than 36 MHz, that the LSR be readtwice and only the second read be used for decision making. All other bits in the LSRshould be correct on all reads.
The MCR controls the interface with the modem, data set, or peripheral device that is emulating the modem.Table 12 shows the modem control register bit settings.
Table 12. Modem Control Register (MCR) Bit Settings
BIT NO. BIT SETTINGS
0 0 = Force DTR output to inactive (high)1 = Force DTR output to active (low)In loopback controls MSR[5].1 0 = Force RTS output to inactive (high)1 = Force RTS output to active (low)In loopback controls MSR[4]If Auto- RTS is enabled the RTS output is controlled by hardware flow control2 0 Disables the FIFO Rdy register1 Enable the FIFO Rdy registerIn loopback controls MSR[6].3 0 = Forces the INT(A - B) outputs to 3-state and OP output to high state1 = Forces the INT(A - B) outputs to the active state and OP output to low stateIn loopback controls MSR[7].4 0 = Normal operating mode1 = Enable local loopback mode (internal)In this mode the MCR[3:0] signals are looped back into MSR[3:0] and the TX output is looped back to the RX inputinternally.5 0 = Disable Xon any function1 = Enable Xon any function6 0 = No action1 = Enable access to the TCR and TLR registers7 0 = Divide by one clock input1 = Divide by four clock input
28 Submit Documentation Feedback Copyright © 2003 2007, Texas Instruments Incorporated
Product Folder Link(s): TL16C752B-EP
www.ti.com
Modem Status Register (MSR)
Interrupt Enable Register (IER)
TL16C752B-EP3.3 V DUAL UART WITH 64-BYTE FIFO
SGLS153B FEBRUARY 2003 REVISED DECEMBER 2007
The modem status register is an 8-bit register that provides information about the current state of the controllines from the modem, data set, or peripheral device to the processor. It also indicates when a control input fromthe modem changes state. Table 13 shows the modem status register bit settings per channel.
Table 13. Modem Status Register (MSR) Bit Settings
BIT NO. BIT SETTINGS
0 Indicates that the CTS input (or MCR[1] in loopback) has changed state. Cleared on a read.1 Indicates that the DSR input (or MCR[0] in loopback) has changed state. Cleared on a read.2 Indicates that the RI input (or MCR[2] in loopback) has changed state from low to high. Cleared on a read.3 Indicates that the CD input (or MCR[3] in loopback) has changed state. Cleared on a read.4 This bit is the complement of the CTS input during normal mode. During internal loopback mode, it is equivalent toMCR[1].5 This bit is the complement of the DSR input during normal mode. During internal loopback mode, it is equivalent toMCR[0].6 This bit is the complement of the RI input during normal mode. During internal loopback mode, it is equivalent to MCR[2].7 This bit is the complement of the CD input during normal mode. During internal loopback mode, it is equivalent to MCR[3].
The interrupt enable register (IER) enables each of the six types of interrupt, receiver error, RHR interrupt, THRinterrupt, Xoff received, or CTS/ RTS change of state from low-to-high. The INT output signal is activated inresponse to interrupt generation. Table 14 shows the IER bit settings.
Table 14. Interrupt Enable Register (IER) Bit Settings
BIT NO. BIT SETTINGS
0 0 = Disable the RHR interrupt1 = Enable the RHR interrupt1 0 = Disable the THR interrupt1 = Enable the THR interrupt2 0 = Disable the receiver line status interrupt1 = Enable the receiver line status interrupt3 0 = Disable the modem status register interrupt1 = Enable the modem status register interrupt4 0 = Disable sleep mode1 = Enable sleep mode5 0 = Disable the Xoff interrupt1 = Enable the Xoff interrupt6 0 = Disable the RTS interrupt1 = Enable the RTS interrupt7 0 = Disable the CTS interrupt1 = Enable the CTS interrupt
Copyright © 2003 2007, Texas Instruments Incorporated Submit Documentation Feedback 29
Product Folder Link(s): TL16C752B-EP
www.ti.com
Interrupt IdentificationRegister (IIR)
Enhanced Feature Register (EFR)
Divisor Latches (DLL, DLH)
TL16C752B-EP
3.3 V DUAL UART WITH 64-BYTE FIFO
SGLS153B FEBRUARY 2003 REVISED DECEMBER 2007
The interrupt identification register is a read-only 8-bit register, which provides the source of the interrupt in aprioritized manner. Table 15 shows the IIR bit settings.
Table 15. Interrupt Identification Register (IIR) Bit Settings
BIT NO. BIT SETTINGS
0 0 = A interrupt is pending1 = No interrupt is pending3:1 3-Bit encoded interrupt. See Table 14.4 1 = Xoff/Special character has been detected.5 CTS/ RTS low-to-high change of state.7:6 Mirror the contents of FCR[0]
The interrupt priority list is shown in Table 16.
Table 16. Interrupt Priority List
PRIORITY
BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0 BIT SETTINGSLEVEL
1 0 0 0 1 1 0 Receiver line status error2 0 0 1 1 0 0 Receiver timeout interrupt2 0 0 0 1 0 0 RHR interrupt3 0 0 0 0 1 0 THR interrupt4 0 0 0 0 0 0 Modem interrupt5 0 1 0 0 0 0 Received Xoff signal/special character7 1 0 0 0 0 0 CTS, RTS change of state from active (low) to inactive (high).
The enhanced feature register is an 8-bit register that enables or disables the enhanced features of the UART.Table 17 shows the enhanced feature register bit settings.
Table 17. Enhanced Feature Register (EFR) Bit Settings
BIT NO. BIT SETTINGS
3:0 Combinations of software flow control can be selected by programming bit 3-bit 0. See Table 1.4 Enhanced functions enable bit0 = Disables enhanced functions and writing to IER bits 4-7, FCR bits 4 5, MCR bits 5 7.1 = Enables the enhanced function IER bits 4 7, FCR bit 4 5, and MCR bits 5 7 can be modified, i.e., thisbit is therefore a write enable.5 0 = Normal operation,1 = Special character detect. Received data is compared with Xoff-2 data. If a match occurs the receiveddata is transferred to FIFO and IIR bit 4 is set to 1 to indicate a special character has been detected.6 RTS flow control enable bit0 = Normal operation1 = RTS flow control is enabled i.e., the RTS pin goes high when the receiver FIFO HALT trigger levelTCR[3:0] is reached and goes low when the receiver FIFO RESTORE transmission trigger level TCR[7:4] isreached.7 CTS flow control enable bit0 = Normal operation1 = CTS flow control is enabled i.e., transmission is halted when a high signal is detected on the CTS pin.
The divisor lathes are two 8-bit registers which store the 16-bit divisor for generation of the baud clock in thebaud rate generator. DLH stores the most significant part of the divisor. DLL stores the least significant part ofthe division.
Note that DLL and DLH can only be written to before sleep mode is enabled (i.e., before IER[4] is set).
30 Submit Documentation Feedback Copyright © 2003 2007, Texas Instruments Incorporated
Product Folder Link(s): TL16C752B-EP
www.ti.com
Transmission Control Register (TCR)
Trigger Level Register (TLR)
TL16C752B-EP3.3 V DUAL UART WITH 64-BYTE FIFO
SGLS153B FEBRUARY 2003 REVISED DECEMBER 2007
The transmission control register is an 8-bit register that is used to store the receive FIFO threshold levels tostart/stop transmission during hardware/software flow control. Table 18 shows the transmission control registerbit settings.
Table 18. Transmission Control Register (TCR) Bit Settings
BIT NO. BIT SETTINGS
3:0 RCV FIFO trigger level to halt transmission (0 60)7:4 RCV FIFO trigger level to resume transmission (0 60)
TCR trigger levels are available from 0 60 bytes with a granularity of four.
NOTE:
TCR can only be written to when EFR[4] = 1 and MCR[6] = 1. The programmer mustprogram the TCR such that TCR[3:0] > TCR[7:4]. There is no built-in hardware checkto make sure this condition is met. Also, the TCR must be programmed with thiscondition before Auto- RTS or software flow control is enabled to avoid spuriousoperation of the device.
The trigger level register is an 8-bit register that is pulsed to store the transmit and received FIFO trigger levelsused for DMA and interrupt generation. Trigger levels from 4 60 can be programmed with a granularity of 4.Table 19 shows the trigger level register bit settings.
Table 19. Trigger Level Register (TLR) Bit Settings
BIT NO. BIT SETTINGS
3:0 Transmit FIFO trigger levels (4 60), number of spaces available7:4 RCV FIFO trigger levels (4 60), number of characters available
NOTE:
TLR can only be written to when EFR[4] = 1 and MCR[6] = 1. If TLR[3:0] or TLR[7:4]are 0, the selectable trigger levels via the FIFO control register (FCR) are used for thetransmit and receive FIFO trigger levels. Trigger levels from 4 60 bytes are availablewith a granularity of four. The TLR should be programmed for N/4, where N is thedesired trigger level.
When the trigger level setting in TLR is zero, the TL16C752B uses the trigger level setting defined in FCR. If TLRhas a nonzero trigger level value, the trigger level defined in FCR is discarded. This applies to both the transmitFIFO and receive FIFO trigger level setting.
Copyright © 2003 2007, Texas Instruments Incorporated Submit Documentation Feedback 31
Product Folder Link(s): TL16C752B-EP
www.ti.com
FIFO Ready Register
TL16C752B-EP
3.3 V DUAL UART WITH 64-BYTE FIFO
SGLS153B FEBRUARY 2003 REVISED DECEMBER 2007
The FIFO ready register provides real-time status of the transmit and receive FIFOs of both channels. Table 20shows the FIFO ready register bit settings. The trigger level mentioned below refers to the setting in either FCR(when TLR value is zero), or TLR (when it has a nonzero value).
Table 20. FIFO Ready Register
BIT NO. BIT SETTINGS
0 0 = There are less than a TX trigger level number of spaces available in the TX FIFO of channel A.1 = There are at least a TX trigger level number of spaces available in the TX FIFO of channel A.1 0 = There are less than a TX trigger level number of spaces available in the TX FIFO of channel B.1 = There are at least a TX trigger level number of spaces available in the TX FIFO of channel B.3:2 Unused, always 04 0 = There are less than a RX trigger level number of characters in the RX FIFO of channel A.1 = The RX FIFO of channel A has more than a RX trigger level number of characters available for readingor a timeout condition has occurred.5 0 = There are less than a RX trigger level number of characters in the RX FIFO of channel B.1 = The RX FIFO of channel B has more than a RX trigger level number of characters available for readingor a timeout condition has occurred.7:6 Unused, always 0
The FIFORdy register is a read-only register that can be accessed when any of the two UARTs are selectedCSA-B = 0, MCR[2] (FIFO Rdy Enable) is a logic 1 and loopback is disabled. The address is 111.
32 Submit Documentation Feedback Copyright © 2003 2007, Texas Instruments Incorporated
Product Folder Link(s): TL16C752B-EP
www.ti.com
TL16C752B Programmer's Guide
TL16C752B-EP3.3 V DUAL UART WITH 64-BYTE FIFO
SGLS153B FEBRUARY 2003 REVISED DECEMBER 2007
The base set of registers that is used during high speed data transfer have a straightforward access method. Theextended function registers require special access bits to be decoded along with the address lines. The followingguide helps with programming these registers. Note that the descriptions below are for individual register access.Some streamlining through interleaving can be obtained when programming all the registers.Set baud rate to VALUE1, VALUE2 Read LCR (03), save in tempSet LCR (03) to 80Set DLL (00) to VALUE1Set DLM (01) to VALUE2Set LCR (03) to tempSet Xoff1, Xon1 to VALUE1, VALUE2 Read LCR (03), save in tempSet LCR (03) to BFSet Xoff1 (06) to VALUE1Set Xon1 (04) to VALUE2Set LCR (03) to tempSet Xoff2, Xon2 to VALUE1, VALUE2 Read LCR (03), save in tempSet LCR (03) to BFSet Xoff2 (07) to VALUE1Set Xon2 (05) to VALUE2Set LCR (03) to tempSet software flow control mode to VALUE Read LCR (03), save in tempSet LCR (03) to BFSet EFR (02) to VALUESet LCR (03) to tempSet flow control threshold to VALUE Read LCR (03), save in temp1Set LCR (03) to BFRead EFR (02), save in temp2Set EFR (02) to 10 + temp2Set LCR (03) to 00Read MCR (04), save in temp3Set MCR (04) to 40 + temp3Set TCR (06) to VALUESet MCR (04) to temp3Set LCR (03) to BFSet EFR (02) to temp2Set LCR (03) to temp1Set xmt and rcv FIFO thresholds to VALUE Read LCR (03), save in temp1Set LCR (03) to BFRead EFR (02), save in temp2Set EFR (02) to 10 + temp2Set LCR (03) to 00Read MCR (04), save in temp3Set MCR (04) to 40 + temp3Set TLR (07) to VALUESet MCR (04) to temp3Set LCR (03) to BFSet EFR (02) to temp2Set LCR (03) to temp1Read FIFORdy register Read MCR (04), save in temp1Set temp2 = temp1 y EF; (x sign here means bit-AND)Set MCR (04) = 04 + temp2Read FRR (07), save in temp2 Pass temp2 back to hostSet MCR (04) to temp1Set prescaler value to divide-by-one Read LCR (03), save in temp1Set LCR (03) to BFRead EFR (02), save in temp2Set EFR (02) to 10 + temp2Set LCR (03) to 00Read MCR (04), save in temp3Set MCR (04) to temp3 y 7F; (y sign here means bit-AND)Set LCR (03) to BFSet EFR (02) to temp2Set LCR (03) to temp1
Copyright © 2003 2007, Texas Instruments Incorporated Submit Documentation Feedback 33
Product Folder Link(s): TL16C752B-EP
www.ti.com
TL16C752B-EP
3.3 V DUAL UART WITH 64-BYTE FIFO
SGLS153B FEBRUARY 2003 REVISED DECEMBER 2007
Set prescaler value to divide-by-four Read LCR (03), save in temp1Set LCR (03) to BFRead EFR (02), save in temp2Set EFR (02) to 10 + temp2Set LCR (03) to 00Read MCR (04), save in temp3Set MCR (04) to temp3 + 80Set LCR (03) to BFSet EFR (02) to temp2Set LCR (03) to temp1
34 Submit Documentation Feedback Copyright © 2003 2007, Texas Instruments Incorporated
Product Folder Link(s): TL16C752B-EP
PACKAGING INFORMATION
Orderable Device Status (1) Package
Type Package
Drawing Pins Package
Qty Eco Plan (2) Lead/Ball Finish MSL Peak Temp (3)
TL16C752BLPTREP ACTIVE LQFP PT 48 1000 Green (RoHS &
no Sb/Br) CU NIPDAU Level-3-260C-168 HR
TL16C752BTPTREP ACTIVE LQFP PT 48 1000 Green (RoHS &
no Sb/Br) CU NIPDAU Level-3-260C-168 HR
V62/03626-01XE ACTIVE LQFP PT 48 1000 Green (RoHS &
no Sb/Br) CU NIPDAU Level-3-260C-168 HR
V62/03626-02XE ACTIVE LQFP PT 48 1000 Green (RoHS &
no Sb/Br) CU NIPDAU Level-3-260C-168 HR
(1) The marketing status values are defined as follows:
ACTIVE: Product device recommended for new designs.
LIFEBUY: TI has announced that the device will be discontinued, and a lifetime-buy period is in effect.
NRND: Not recommended for new designs. Device is in production to support existing customers, but TI does not recommend using this part in
a new design.
PREVIEW: Device has been announced but is not in production. Samples may or may not be available.
OBSOLETE: TI has discontinued the production of the device.
(2) Eco Plan - The planned eco-friendly classification: Pb-Free (RoHS), Pb-Free (RoHS Exempt), or Green (RoHS & no Sb/Br) - please check
http://www.ti.com/productcontent for the latest availability information and additional product content details.
TBD: The Pb-Free/Green conversion plan has not been defined.
Pb-Free (RoHS): TI's terms "Lead-Free" or "Pb-Free" mean semiconductor products that are compatible with the current RoHS requirements
for all 6 substances, including the requirement that lead not exceed 0.1% by weight in homogeneous materials. Where designed to be soldered
at high temperatures, TI Pb-Free products are suitable for use in specified lead-free processes.
Pb-Free (RoHS Exempt): This component has a RoHS exemption for either 1) lead-based flip-chip solder bumps used between the die and
package, or 2) lead-based die adhesive used between the die and leadframe. The component is otherwise considered Pb-Free (RoHS
compatible) as defined above.
Green (RoHS & no Sb/Br): TI defines "Green" to mean Pb-Free (RoHS compatible), and free of Bromine (Br) and Antimony (Sb) based flame
retardants (Br or Sb do not exceed 0.1% by weight in homogeneous material)
(3) MSL, Peak Temp. -- The Moisture Sensitivity Level rating according to the JEDEC industry standard classifications, and peak solder
temperature.
Important Information and Disclaimer:The information provided on this page represents TI's knowledge and belief as of the date that it is
provided. TI bases its knowledge and belief on information provided by third parties, and makes no representation or warranty as to the
accuracy of such information. Efforts are underway to better integrate information from third parties. TI has taken and continues to take
reasonable steps to provide representative and accurate information but may not have conducted destructive testing or chemical analysis on
incoming materials and chemicals. TI and TI suppliers consider certain information to be proprietary, and thus CAS numbers and other limited
information may not be available for release.
In no event shall TI's liability arising out of such information exceed the total purchase price of the TI part(s) at issue in this document sold by TI
to Customer on an annual basis.
OTHER QUALIFIED VERSIONS OF TL16C752B-EP :
Catalog: TL16C752B
NOTE: Qualified Version Definitions:
Catalog - TI's standard catalog product
PACKAGE OPTION ADDENDUM
www.ti.com 18-Sep-2008
Addendum-Page 1
TAPE AND REEL INFORMATION
*All dimensions are nominal
Device Package
Type Package
Drawing Pins SPQ Reel
Diameter
(mm)
Reel
Width
W1 (mm)
A0 (mm) B0 (mm) K0 (mm) P1
(mm) W
(mm) Pin1
Quadrant
TL16C752BLPTREP LQFP PT 48 1000 330.0 16.4 9.6 9.6 1.9 12.0 16.0 Q1
TL16C752BTPTREP LQFP PT 48 1000 330.0 16.4 9.6 9.6 1.9 12.0 16.0 Q1
PACKAGE MATERIALS INFORMATION
www.ti.com 16-Jul-2008
Pack Materials-Page 1
*All dimensions are nominal
Device Package Type Package Drawing Pins SPQ Length (mm) Width (mm) Height (mm)
TL16C752BLPTREP LQFP PT 48 1000 346.0 346.0 33.0
TL16C752BTPTREP LQFP PT 48 1000 346.0 346.0 33.0
PACKAGE MATERIALS INFORMATION
www.ti.com 16-Jul-2008
Pack Materials-Page 2
MECHANICAL DATA
MTQF003A – OCTOBER 1994 – REVISED DECEMBER 1996
1
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
PT (S-PQFP-G48) PLASTIC QUAD FLATPACK
4040052/C 1 1/96
0,13 NOM
0,17
0,27
25
24
SQ
12
13
36
37
6,80
7,20
1
48
5,50 TYP
0,25
0,45
0,75
0,05 MIN
SQ
9,20
8,80
1,35
1,45
1,60 MAX
Gage Plane
Seating Plane
0,10
0°–7°
0,50 M
0,08
NOTES: A. All linear dimensions are in millimeters.
B. This drawing is subject to change without notice.
C. Falls within JEDEC MS-026
D. This may also be a thermally enhanced plastic package with leads conected to the die pads.
IMPORTANT NOTICE
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements,and other changes to its products and services at any time and to discontinue any product or service without notice. Customers shouldobtain the latest relevant information before placing orders and should verify that such information is current and complete. All products aresold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment.TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI’s standardwarranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except wheremandated by government requirements, testing of all parameters of each product is not necessarily performed.TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products andapplications using TI components. To minimize the risks associated with customer products and applications, customers should provideadequate design and operating safeguards.TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work right,or other TI intellectual property right relating to any combination, machine, or process in which TI products or services are used. Informationpublished by TI regarding third-party products or services does not constitute a license from TI to use such products or services or awarranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectualproperty of the third party, or a license from TI under the patents or other intellectual property of TI.Reproduction of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompaniedby all associated warranties, conditions, limitations, and notices. Reproduction of this information with alteration is an unfair and deceptivebusiness practice. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additionalrestrictions.
Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids allexpress and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is notresponsible or liable for any such statements.TI products are not authorized for use in safety-critical applications (such as life support) where a failure of the TI product would reasonablybe expected to cause severe personal injury or death, unless officers of the parties have executed an agreement specifically governingsuch use. Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications, andacknowledge and agree that they are solely responsible for all legal, regulatory and safety-related requirements concerning their productsand any use of TI products in such safety-critical applications, notwithstanding any applications-related information or support that may beprovided by TI. Further, Buyers must fully indemnify TI and its representatives against any damages arising out of the use of TI products insuch safety-critical applications.TI products are neither designed nor intended for use in military/aerospace applications or environments unless the TI products arespecifically designated by TI as military-grade or "enhanced plastic." Only products designated by TI as military-grade meet militaryspecifications. Buyers acknowledge and agree that any such use of TI products which TI has not designated as military-grade is solely atthe Buyer's risk, and that they are solely responsible for compliance with all legal and regulatory requirements in connection with such use.TI products are neither designed nor intended for use in automotive applications or environments unless the specific TI products aredesignated by TI as compliant with ISO/TS 16949 requirements. Buyers acknowledge and agree that, if they use any non-designatedproducts in automotive applications, TI will not be responsible for any failure to meet such requirements.Following are URLs where you can obtain information on other Texas Instruments products and application solutions:Products ApplicationsAmplifiers amplifier.ti.com Audio www.ti.com/audioData Converters dataconverter.ti.com Automotive www.ti.com/automotiveDSP dsp.ti.com Broadband www.ti.com/broadbandClocks and Timers www.ti.com/clocks Digital Control www.ti.com/digitalcontrolInterface interface.ti.com Medical www.ti.com/medicalLogic logic.ti.com Military www.ti.com/militaryPower Mgmt power.ti.com Optical Networking www.ti.com/opticalnetworkMicrocontrollers microcontroller.ti.com Security www.ti.com/securityRFID www.ti-rfid.com Telephony www.ti.com/telephonyRF/IF and ZigBee® Solutions www.ti.com/lprf Video & Imaging www.ti.com/videoWireless www.ti.com/wireless
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265Copyright © 2008, Texas Instruments Incorporated