0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
SC16C751BIBS

SC16C751BIBS

  • 厂商:

    NXP(恩智浦)

  • 封装:

  • 描述:

    SC16C751BIBS - 5 V, 3.3 V and 2.5 V UART with 64-byte FIFOs - NXP Semiconductors

  • 数据手册
  • 价格&库存
SC16C751BIBS 数据手册
SC16C751B 5 V, 3.3 V and 2.5 V UART with 64-byte FIFOs Rev. 02 — 10 October 2008 Product data sheet 1. General description The SC16C751B is a Universal Asynchronous Receiver and Transmitter (UART) used for serial data communications. Its principal function is to convert parallel data into serial data, and vice versa. The UART can handle serial data rates up to 5 Mbit/s. The SC16C751B is functionally equivalent to the SC16C750B, and requires a special software initialization sequence to configure the device to operate (see Section 6.6). Programming of control registers enables the added features of the SC16C751B. Some of these added features are the 64-byte receive and transmit FIFOs, automatic hardware flow control. The selectable auto-flow control feature significantly reduces software overload and increases system efficiency while in FIFO mode by automatically controlling serial data flow using RTS output and CTS input signals. On-board status registers provide the user with error indications, operational status, and modem interface control. System interrupts may be tailored to meet user requirements. An internal loopback capability allows on-board diagnostics. The SC16C751B operates at 5 V, 3.3 V and 2.5 V, the industrial temperature range and is available in the plastic HVQFN24 package. 2. Features I I I I I I I I I I Single channel 5 V, 3.3 V and 2.5 V operation 5 V tolerant on input only pins1 Industrial temperature range (−40 °C to +85 °C) After reset, all registers are identical to the typical 16C450 register set Capable of running with all existing generic 16C450 software Up to 5 Mbit/s transmit/receive operation at 5 V, 3.3 V; 3 Mbit/s at 2.5 V 64-byte transmit FIFO 64-byte receive FIFO with error flags Programmable auto-RTS and auto-CTS N In auto-CTS mode, CTS controls transmitter N In auto-RTS mode, receive FIFO contents and threshold control RTS Automatic hardware flow control Software selectable baud rate generator Four selectable receive interrupt trigger levels Standard modem interface Sleep mode I I I I I 1. For data bus pins D7 to D0, see Table 22 “Limiting values”. NXP Semiconductors SC16C751B 5 V, 3.3 V and 2.5 V UART with 64-byte FIFOs I I I I I I I I I I I Standard asynchronous error and framing bits (start, stop, and parity overrun break) Independent receiver clock input Transmit, receive, line status, and data set interrupts independently controlled Fully programmable character formatting: N 5-bit, 6-bit, 7-bit, or 8-bit characters N Even, odd, or no-parity formats N 1, 11⁄2, or 2-stop bit N Baud generation (DC to 5 Mbit/s) False start-bit detection Complete status reporting capabilities 3-state output TTL drive capabilities for bidirectional data bus and control bus Line break generation and detection Internal diagnostic capabilities: N Loopback controls for communications link fault isolation Prioritized interrupt system controls Modem control functions (CTS, RTS) 3. Ordering information Table 1. Ordering information Industrial: VDD = 2.5 V, 3.3 V or 5 V ± 10 %; Tamb = −40 °C to +85 °C. Type number SC16C751BIBS Package Name HVQFN24 Description plastic thermal enhanced very thin quad flat package; no leads; 24 terminals; body 4 × 4 × 0.85 mm Version SOT616-3 SC16C751B_2 © NXP B.V. 2008. All rights reserved. Product data sheet Rev. 02 — 10 October 2008 2 of 32 NXP Semiconductors SC16C751B 5 V, 3.3 V and 2.5 V UART with 64-byte FIFOs 4. Block diagram SC16C751B TRANSMIT FIFO REGISTERS TRANSMIT SHIFT REGISTER TX D0 to D7 IOR, IOW RESET DATA BUS AND CONTROL LOGIC FLOW CONTROL LOGIC INTERCONNECT BUS LINES AND CONTROL SIGNALS RECEIVE FIFO REGISTERS RECEIVE SHIFT REGISTER RX A0 to A2 CS REGISTER SELECT LOGIC FLOW CONTROL LOGIC RTS MODEM CONTROL LOGIC CTS INT INTERRUPT CONTROL LOGIC CLOCK AND BAUD RATE GENERATOR 002aad010 XTAL1 XTAL2 Fig 1. Block diagram of SC16C751B 5. Pinning information 5.1 Pinning 24 D4 23 D3 22 D2 21 D1 20 D0 terminal 1 index area D5 D6 D7 RX TX CS 1 2 3 4 5 6 VSS 10 IOR 11 A2 12 7 8 9 19 VDD 18 CTS 17 RESET 16 RTS 15 INT 14 A0 13 A1 002aad011 SC16C751BIBS XTAL1 XTAL2 Transparent top view Fig 2. SC16C751B_2 Pin configuration for HVQFN24 © NXP B.V. 2008. All rights reserved. Product data sheet Rev. 02 — 10 October 2008 IOW 3 of 32 NXP Semiconductors SC16C751B 5 V, 3.3 V and 2.5 V UART with 64-byte FIFOs 5.2 Pin description Table 2. Symbol A0 A1 A2 CS CTS Pin description Pin 14 13 12 6 18 Type I I I I I Description Register select. A0 to A2 are used during read and write operations to select the UART register to read from or write to. Refer to Table 3 for register addresses. Chip select. When CS is LOW, the UART is selected. Clear to send. CTS is a modem status signal. Its condition can be checked by reading bit 4 (CTS) of the Modem Status Register (MSR). MSR[3] (∆CTS) indicates that CTS has changed states since the last read from the MSR. If the modem status interrupt is enabled when CTS changes levels and the auto-CTS mode is not enabled, an interrupt is generated. CTS is also used in the auto-CTS mode to control the transmitter. Data bus. Eight data lines with 3-state outputs provide a bidirectional path for data, control and status information between the UART and the CPU. D0 D1 D2 D3 D4 D5 D6 D7 INT 20 21 22 23 24 1 2 3 15 I/O I/O I/O I/O I/O I/O I/O I/O O Interrupt. When active (HIGH), INT informs the CPU that the UART has an interrupt to be serviced. Four conditions that cause an interrupt to be issued are: a receiver error, received data that is available or timed out (FIFO mode only), an empty transmitter holding register or an enabled modem status interrupt. INT is reset (deactivated) either when the interrupt is serviced or as a result of a Master Reset. Master Reset. When active (HIGH), RESET clears most UART registers and sets the levels of various output signals. Read input. When IOR is active (LOW) while the UART is selected, the CPU is allowed to read status information or data from a selected UART register. Request to send. When active, RTS informs the modem or data set that the UART is ready to receive data. RTS is set to the active level by setting the RTS Modem Control Register bit and is set to the inactive (HIGH) level either as a result of a Master Reset or during Loopback mode operations or by clearing bit 1 (RTS) of the MCR. In the auto-RTS mode, RTS is set to the inactive level by the receiver threshold control logic. Serial data input. RX is serial data input from a connected communications device. Serial data output. TX is composite serial data output to a connected communication device. TX is set to the marking (HIGH) level as a result of Master Reset. 2.5 V, 3 V or 5 V supply voltage. Ground voltage. RESET IOR 17 11 I I RTS 16 O RX TX 4 5 I O VDD VSS [1] 19 10 power power SC16C751B_2 © NXP B.V. 2008. All rights reserved. Product data sheet Rev. 02 — 10 October 2008 4 of 32 NXP Semiconductors SC16C751B 5 V, 3.3 V and 2.5 V UART with 64-byte FIFOs Pin description …continued Pin 9 Type I Description Write input. When IOW is active (LOW) and while the UART is selected, the CPU is allowed to write control words or data into a selected UART register. Crystal connection or External clock input. Crystal connection or the inversion of XTAL1 if XTAL1 is driven. Table 2. Symbol IOW XTAL1 XTAL2[2] 7 8 I O [1] HVQFN24 package die supply ground is connected to both VSS pin and exposed center pad. VSS pin must be connected to supply ground for proper device operation. For enhanced thermal, electrical, and board level performance, the exposed pad needs to be soldered to the board using a corresponding thermal pad on the board and for proper heat conduction through the board, thermal vias need to be incorporated in the PCB in the thermal pad region. In Sleep mode, XTAL2 is left floating. [2] 6. Functional description The SC16C751B 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 stop 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 SC16C751B is fabricated with an advanced CMOS process to achieve low drain power and high speed requirements. The SC16C751B is an upward solution that provides 64 bytes of transmit and receive FIFO memory, instead of none in the 16C450, or 16 bytes in the 16C550. The SC16C751B is designed to work with high speed modems and shared network environments that require fast data processing time. Increased performance is realized in the SC16C751B by the larger transmit and receive FIFOs. This allows the external processor to handle more networking tasks within a given time. In addition, the four selectable levels of FIFO trigger interrupt and automatic hardware flow control is uniquely provided for maximum data throughput performance, especially when operating in a multi-channel environment. The combination of the above greatly reduces the bandwidth requirement of the external controlling CPU, increases performance, and reduces power consumption. The SC16C751B is capable of operation up to 5 Mbit/s with an 80 MHz external clock input (at 5 V). The rich feature set of the SC16C751B is available through internal registers. Automatic hardware flow control, selectable transmit and receive FIFO trigger level, selectable TX and RX baud rates, modem interface controls, and a Sleep mode are some of these features. 6.1 Internal registers The SC16C751B provides 12 internal registers for monitoring and control. These registers are shown in Table 3. These twelve registers are similar to those already available in the standard 16C550. These registers function as data holding registers (THR/RHR), interrupt SC16C751B_2 © NXP B.V. 2008. All rights reserved. Product data sheet Rev. 02 — 10 October 2008 5 of 32 NXP Semiconductors SC16C751B 5 V, 3.3 V and 2.5 V UART with 64-byte FIFOs status and control registers (IER/ISR), a FIFO Control Register (FCR), 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 accessible Scratchpad Register (SPR). Register functions are more fully described in the following paragraphs. Table 3. A2 0 0 0 0 1 1 1 1 0 0 [1] [2] Internal registers decoding A1 0 0 1 1 0 0 1 1 0 0 A0 0 1 0 1 0 1 0 1 0 1 READ mode Receive Holding Register Interrupt Enable Register Interrupt Status Register Line Control Register Modem Control Register Line Status Register Modem Status Register Scratchpad Register (DLL/DLM)[2] LSB of Divisor Latch MSB of Divisor Latch LSB of Divisor Latch MSB of Divisor Latch WRITE mode Transmit Holding Register Interrupt Enable Register FIFO Control Register Line Control Register Modem Control Register n/a n/a Scratchpad Register General register set (THR/RHR, IER/ISR, MCR/MSR, FCR, LCR/LSR, SPR)[1] Baud rate register set These registers are accessible only when LCR[7] is a logic 0. These registers are accessible only when LCR[7] is a logic 1. 6.2 FIFO operation The 64-byte transmit and receive data FIFOs are enabled by the FIFO Control Register bit 0 (FCR[0]). 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. Table 4. Flow control mechanism INT pin activation Negate RTS Assert RTS Selected trigger level (characters) 16-byte FIFO 1 4 8 14 64-byte FIFO 1 16 32 56 1 4 8 14 1 16 32 56 1 4 8 14 1 16 32 56 0 0 0 0 0 0 0 0 SC16C751B_2 © NXP B.V. 2008. All rights reserved. Product data sheet Rev. 02 — 10 October 2008 6 of 32 NXP Semiconductors SC16C751B 5 V, 3.3 V and 2.5 V UART with 64-byte FIFOs 6.3 Hardware flow control When automatic hardware flow control is enabled, the SC16C751B monitors the CTS pin for a remote buffer overflow indication and controls the RTS pin for local buffer overflows. Automatic hardware flow control is selected by setting MCR[5] (RTS) and MCR[1] (CTS) to a logic 1. If CTS transitions from a logic 0 to a logic 1 indicating a flow control request, the SC16C751B will suspend TX transmissions as soon as the stop bit of the character in process is shifted out. Transmission is resumed after the CTS input returns to a logic 0, indicating more data may be sent. With the auto-RTS function enabled, an interrupt is generated when the receive FIFO reaches the programmed trigger level. The RTS pin will not be forced to a logic 1 (RTS off), until the receive FIFO reaches the next trigger level. However, the RTS pin will return to a logic 0 after the data buffer (FIFO) is emptied. However, under the above described conditions, the SC16C751B will continue to accept data until the receive FIFO is full. 6.4 Time-out interrupts 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[0]). The receiver issues an interrupt after the number of characters have reached the programmed trigger level. In this case, the SC16C751B FIFO may hold more characters than the programmed trigger level. Following the removal of a data byte, the user should re-check LSR[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 4 character time. 6.5 Programmable baud rate generator The SC16C751B supports high speed modem technologies that have increased input data rates by employing data compression schemes. For example, a 33.6 kbit/s modem that employs data compression may require a 115.2 kbit/s input data rate. A 128.0 kbit/s ISDN modem that supports data compression may need an input data rate of 460.8 kbit/s. A 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 80 MHz, as required for supporting a 5 Mbit/s data rate. The SC16C751B can be configured for internal or external clock operation. For internal clock oscillator operation, an industry standard microprocessor crystal (parallel resonant, 22 pF to 33 pF load) is connected externally between the XTAL1 and XTAL2 pins (see Figure 3). Alternatively, an external clock can be connected to the XTAL1 pin to clock the internal baud rate generator for standard or custom rates (see Table 5). SC16C751B_2 © NXP B.V. 2008. All rights reserved. Product data sheet Rev. 02 — 10 October 2008 7 of 32 NXP Semiconductors SC16C751B 5 V, 3.3 V and 2.5 V UART with 64-byte FIFOs XTAL1 XTAL2 XTAL1 XTAL2 1.5 kΩ X1 1.8432 MHz X1 1.8432 MHz C1 22 pF C2 33 pF C1 22 pF C2 47 pF 002aaa870 Fig 3. Crystal oscillator connection The generator divides the input 16× clock by any divisor from 1 to (216 − 1). Customized baud rates can be achieved by selecting the proper divisor values for the MSB and LSB sections of baud rate generator. 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 shows selectable baud rates when using a 1.8432 MHz crystal. For custom baud rates, the divisor value can be calculated using Equation 1: XTAL1 clock frequency divisor ( in decimal ) = --------------------------------------------------------------serial data rate × 16 Table 5. Desired baud rate 50 75 110 134.5 150 300 600 1200 1800 2000 2400 3600 4800 7200 9600 19200 38400 56000 SC16C751B_2 (1) Baud rates using 1.8432 MHz or 3.072 MHz crystal Using 3.072 MHz crystal Baud rate error Desired baud rate 50 75 0.026 0.058 110 134.5 150 300 600 1200 1800 0.69 2000 2400 3600 4800 7200 9600 19200 38400 2.86 © NXP B.V. 2008. All rights reserved. Using 1.8432 MHz crystal Divisor for 16× clock 2304 1536 1047 857 768 384 192 96 64 58 48 32 24 16 12 6 3 2 Divisor for 16× clock 3840 2560 1745 1428 1280 640 320 160 107 96 80 53 40 27 20 10 5 Baud rate error 0.026 0.034 0.312 0.628 1.23 Product data sheet Rev. 02 — 10 October 2008 8 of 32 NXP Semiconductors SC16C751B 5 V, 3.3 V and 2.5 V UART with 64-byte FIFOs 6.6 Special software initialization sequence Upon reset, the SC16C751B will not be able to receive. A special software initialization sequence must be sent to the device to enable its receiver clock. The following software sequence can be added to the UART initialization routine, and this must be done before other registers are initialized. WRITE WRITE WRITE WRITE WRITE WRITE WRITE WRITE WRITE WRITE LCR MSR MSR MSR MSR MSR MSR MSR MSR LSR 00 AA 55 CC 33 A5 C3 5C 3A 20 6.7 Sleep mode The SC16C751B is designed to operate with low power consumption. A special Sleep mode is included to further reduce power consumption (the internal oscillator driver is disabled) when the chip is not being used. With IER[4] enabled (set to a logic 1), the SC16C751B enters the Sleep mode, but resumes normal operation when a start bit is detected, a change of state of RX, CTS, or a transmit data is provided by the user. If the Sleep mode is enabled and the SC16C751B is awakened by one of the conditions described above, it will return to the Sleep mode automatically after the last character is transmitted or read by the user. In any case, the Sleep mode will not be entered while an interrupt(s) is pending. The SC16C751B will stay in the Sleep mode of operation until it is disabled by setting IER[4] to a logic 0. 6.8 Low power mode In Low power mode the oscillator is still running and only the clock to the UART core is cut off. This helps to reduce the operating current to about 1⁄3. The UART wakes up under the same conditions as in Sleep mode. 6.9 Loopback mode The internal loopback capability allows on-board diagnostics. In the Loopback mode, the normal modem interface pins are disconnected and reconfigured for loopback internally. MCR[3:0] register bits are used for controlling loopback diagnostic testing. The transmitter output (TX) and the receiver input (RX) are disconnected from their associated interface pins, and instead are connected together internally (see Figure 4). The CTS is disconnected from its normal modem control input pins, and instead is connected internally to RTS. Loopback test data is entered into the Transmit Holding Register via the user data bus interface, D0 to 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 to D7. The user optionally compares the received data to the initial transmitted data for verifying error-free operation of the UART TX/RX circuits. SC16C751B_2 © NXP B.V. 2008. All rights reserved. Product data sheet Rev. 02 — 10 October 2008 9 of 32 NXP Semiconductors SC16C751B 5 V, 3.3 V and 2.5 V UART with 64-byte FIFOs SC16C751B TRANSMIT FIFO REGISTERS TRANSMIT SHIFT REGISTER TX D0 to D7 IOR, IOW RESET DATA BUS AND CONTROL LOGIC FLOW CONTROL LOGIC INTERCONNECT BUS LINES AND CONTROL SIGNALS MCR[4] = 1 RECEIVE FIFO REGISTERS RECEIVE SHIFT REGISTER RX A0 to A2 CS REGISTER SELECT LOGIC FLOW CONTROL LOGIC RTS INT INTERRUPT CONTROL LOGIC CLOCK AND BAUD RATE GENERATOR MODEM CONTROL LOGIC CTS 002aad012 XTAL1 XTAL2 Fig 4. Internal Loopback mode diagram SC16C751B_2 © NXP B.V. 2008. All rights reserved. Product data sheet Rev. 02 — 10 October 2008 10 of 32 NXP Semiconductors SC16C751B 5 V, 3.3 V and 2.5 V UART with 64-byte FIFOs 7. Register descriptions Table 6 details the assigned bit functions for the fifteen SC16C751B internal registers. The assigned bit functions are more fully defined in Section 7.1 through Section 7.10. Table 6. SC16C751B internal registers Bit 6 bit 6 bit 6 0 Bit 5 bit 5 bit 5 Low power mode 64-byte FIFO enable 64-byte FIFO enable Bit 4 bit 4 bit 4 Sleep mode Bit 3 bit 3 bit 3 modem status interrupt Bit 2 bit 2 bit 2 receive line status interrupt Bit 1 bit 1 bit 1 transmit holding register RCVR FIFO reset INT priority bit 0 word length bit 1 Bit 0 bit 0 bit 0 receive holding register FIFO enable INT status word length bit 0 reserved [3] A2 A1 A0 Register Default[1] Bit 7 General register 0 0 0 0 0 0 0 0 1 set[2] XX XX 00 bit 7 bit 7 0 RHR THR IER 0 1 0 FCR 00 RCVR trigger (MSB) FIFOs enabled divisor latch enable 0 RCVR trigger (LSB) FIFOs enabled reserved [3] reserved XMIT [3] FIFO reset INT priority bit 2 parity enable INT priority bit 1 stop bits 0 1 0 ISR 01 0 0 1 1 LCR 00 set break set parity 0 flow control enable trans. holding empty bit 5 bit 5 bit 13 even parity loopback 1 0 0 MCR 00 reserved reserved RTS [3] [3] 1 0 1 LSR 60 FIFO data error reserved bit 7 bit 7 bit 15 trans. empty reserved bit 6 bit 6 bit 14 break interrupt framing error parity error overrun error receive data ready bit 0 bit 0 bit 8 1 1 0 0 [1] [2] [3] [4] 1 1 0 0 0 1 0 1 MSR SPR set[4] DLL DLM X0 FF XX XX reserved CTS bit 4 bit 4 bit 12 reserved reserved reserved ∆CTS bit 3 bit 3 bit 11 bit 2 bit 2 bit 10 bit 1 bit 1 bit 9 Special register The value shown represents the register’s initialized hex value; X = n/a. These registers are accessible only when LCR[7] = 0. Do not write a logic 1 to the reserved bits. Read of the reserved bits reflect unknown values. The ‘Special register set’ is accessible only when LCR[7] is set to a logic 1. SC16C751B_2 © NXP B.V. 2008. All rights reserved. Product data sheet Rev. 02 — 10 October 2008 11 of 32 NXP Semiconductors SC16C751B 5 V, 3.3 V and 2.5 V UART with 64-byte FIFOs 7.1 Transmit and Receive Holding Registers (THR and RHR) 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 to 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 THR empty flag is set (logic 0 = FIFO full; logic 1 = at least one FIFO location available). The serial receive section also contains an 8-bit Receive Holding Register (RHR). Receive data is removed from the SC16C751B 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 the 16× clock rate. After 71⁄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. 7.2 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 output pin. Table 7. Bit 7:6 5 Interrupt Enable Register bits description Description Not used. Low power mode. logic 0 = disable Low power mode (normal default condition) logic 1 = enable Low power mode 4 IER[4] Sleep mode. logic 0 = disable Sleep mode (normal default condition) logic 1 = enable Sleep mode. See Section 6.7 “Sleep mode” for details. 3 IER[3] Modem Status Interrupt. logic 0 = disable the modem status register interrupt (normal default condition) logic 1 = enable the modem status register interrupt 2 IER[2] Receive Line Status interrupt. This interrupt will be issued whenever a fully assembled receive character is transferred from RSR to the RHR/FIFO, i.e., data ready, LSR[0]. logic 0 = disable the receiver line status interrupt (normal default condition) logic 1 = enable the receiver line status interrupt 1 IER[1] Transmit Holding Register interrupt. This interrupt will be issued whenever the THR is empty, and is associated with LSR[1]. logic 0 = disable the transmitter empty interrupt (normal default condition) logic 1 = enable the transmitter empty interrupt Symbol IER[7:6] IER[5] SC16C751B_2 © NXP B.V. 2008. All rights reserved. Product data sheet Rev. 02 — 10 October 2008 12 of 32 NXP Semiconductors SC16C751B 5 V, 3.3 V and 2.5 V UART with 64-byte FIFOs Interrupt Enable Register bits description …continued Description Receive Holding Register interrupt. 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 default condition) logic 1 = enable the receiver ready interrupt Table 7. Bit 0 Symbol IER[0] 7.2.1 IER versus Receive FIFO interrupt mode operation When the receive FIFO (FCR[0] = logic 1), and receive interrupts (IER[0] = logic 1) are enabled, the receive interrupts and register status will reflect the following: • 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. • 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 data ready bit (LSR[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. 7.2.2 IER versus Receive/Transmit FIFO polled mode operation When FCR[0] = logic 1, resetting IER[3:0] enables the SC16C751B 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). • • • • • LSR[0] will be a logic 1 as long as there is one byte in the receive FIFO. LSR[4:1] will provide the type of errors encountered, if any. LSR[5] will indicate when the transmit FIFO is empty. LSR[6] will indicate when both the transmit FIFO and transmit shift register are empty. LSR[7] will indicate any FIFO data errors. SC16C751B_2 © NXP B.V. 2008. All rights reserved. Product data sheet Rev. 02 — 10 October 2008 13 of 32 NXP Semiconductors SC16C751B 5 V, 3.3 V and 2.5 V UART with 64-byte FIFOs 7.3 FIFO Control Register (FCR) This register is used to enable the FIFOs, clear the FIFOs and set the receive FIFO trigger levels. 7.3.1 FIFO mode Table 8. Bit 7:6 FIFO Control Register bits description Description RCVR trigger. 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. Refer to Table 9. 64-byte FIFO enable. logic 0 = 16-byte mode (normal default condition) logic 1 = 64-byte mode 4:3 2 FCR[4:3] FCR[2] reserved XMIT FIFO reset. 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. 1 FCR[1] RCVR FIFO reset. 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. 0 FCR[0] FIFO enable. logic 0 = disable the transmit and receive FIFO (normal default condition) logic 1 = enable the transmit and receive FIFO Table 9. FCR[7] 0 0 1 1 RCVR trigger levels FCR[6] 0 1 0 1 RX FIFO trigger level (bytes) 16-byte operation 1 4 8 14 64-byte operation 1 16 32 56 Symbol FCR[7] (MSB), FCR[6] (LSB) 5 FCR[5] SC16C751B_2 © NXP B.V. 2008. All rights reserved. Product data sheet Rev. 02 — 10 October 2008 14 of 32 NXP Semiconductors SC16C751B 5 V, 3.3 V and 2.5 V UART with 64-byte FIFOs 7.4 Interrupt Status Register (ISR) The SC16C751B provides four levels of prioritized interrupts to minimize external software interaction. The Interrupt Status Register (ISR) provides the user with four 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 re-reading the interrupt status bits. Table 10 “Interrupt source” shows the data values (bit 0 to bit 4) for the four prioritized interrupt levels and the interrupt sources associated with each of these interrupt levels. Table 10. Priority level 1 2 2 3 4 Table 11. Bit 7:6 Interrupt source ISR[3] 0 0 1 0 0 ISR[2] 1 1 1 0 0 ISR[1] 1 0 0 1 0 ISR[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) Interrupt Status Register bits description Symbol ISR[7:6] Description FIFOs enabled. 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. logic 0 or cleared = default condition 64-byte FIFO enable. logic 0 = 16-byte operation logic 1 = 64-byte operation 5 ISR[5] 4 3:1 ISR[4] ISR[3:1] not used INT priority bit 2 to bit 0. These bits indicate the source for a pending interrupt at interrupt priority levels 1, 2, and 3 (see Table 10). logic 0 or cleared = default condition INT status. 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) 0 ISR[0] SC16C751B_2 © NXP B.V. 2008. All rights reserved. Product data sheet Rev. 02 — 10 October 2008 15 of 32 NXP Semiconductors SC16C751B 5 V, 3.3 V and 2.5 V UART with 64-byte FIFOs 7.5 Line Control Register (LCR) 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. Table 12. Bit 7 Line Control Register bits description Description Divisor latch enable. The internal baud rate counter latch and Enhanced Feature mode enable. logic 0 = divisor latch disabled (normal default condition) logic 1 = divisor latch and enhanced feature register enabled 6 LCR[6] Set break. 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[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 5 LCR[5] Set parity. If the parity bit is enabled, LCR[5] selects the forced parity format. Programs the parity conditions (see Table 13). logic 0 = parity is not forced (normal default condition) LCR[5] = logic 1 and LCR[4] = logic 0: parity bit is forced to a logic 1 for the transmit and receive data LCR[5] = logic 1 and LCR[4] = logic 1: parity bit is forced to a logic 0 for the transmit and receive data 4 LCR[4] Even parity. If the parity bit is enabled with LCR[3] set to a logic 1, LCR[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 number of logic 1s in the transmitted data. The receiver must be programmed to check the same format. 3 LCR[3] Parity enable. 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 2 LCR[2] Stop bits. The length of stop bit is specified by this bit in conjunction with the programmed word length (see Table 14). logic 0 or cleared = default condition 1:0 LCR[1:0] Word length bit 1, bit 0. These two bits specify the word length to be transmitted or received (see Table 15). logic 0 or cleared = default condition Symbol LCR[7] SC16C751B_2 © NXP B.V. 2008. All rights reserved. Product data sheet Rev. 02 — 10 October 2008 16 of 32 NXP Semiconductors SC16C751B 5 V, 3.3 V and 2.5 V UART with 64-byte FIFOs LCR[5] parity selection LCR[4] X 0 1 0 1 LCR[3] 0 1 1 1 1 Parity selection no parity odd parity even parity force parity ‘1’ forced parity ‘0’ Table 13. LCR[5] X 0 0 1 1 Table 14. LCR[2] 0 1 1 Table 15. LCR[1] 0 0 1 1 LCR[2] stop bit length Word length (bits) 5, 6, 7, 8 5 6, 7, 8 LCR[1:0] word length LCR[0] 0 1 0 1 Word length (bits) 5 6 7 8 Stop bit length (bit times) 1 11⁄2 2 SC16C751B_2 © NXP B.V. 2008. All rights reserved. Product data sheet Rev. 02 — 10 October 2008 17 of 32 NXP Semiconductors SC16C751B 5 V, 3.3 V and 2.5 V UART with 64-byte FIFOs 7.6 Modem Control Register (MCR) This register controls the interface with the modem or a peripheral device. Table 16. Bit 7 6 5 4 Modem Control Register bits description Description reserved; set to 0 reserved; set to 0 AFE. This bit is the auto flow control enable. When this bit is set, the auto flow control is enabled. Loopback. Enable the local Loopback mode (diagnostics). In this mode the transmitter output (TX) and the receiver input (RX), CTS are disconnected from the SC16C751B I/O pins. Internally the modem data and control pins are connected into a loopback data configuration (see Figure 4). In this mode, the receiver and transmitter interrupts remain fully operational. The Modem Control Interrupts are also operational, but the interrupts’ sources are switched to the lower four bits of the Modem Control. Interrupts continue to be controlled by the IER register. logic 0 = disable Loopback mode (normal default condition) logic 1 = enable local Loopback mode (diagnostics) 3:2 1 MCR[3:2] MCR[1] reserved RTS logic 0 = force RTS output to a logic 1 (normal default condition) logic 1 = force RTS output to a logic 0 0 MCR[0] reserved Symbol MCR[7] MCR[6] MCR[5] MCR[4] The flow control can be configured by programming MCR[1] and MCR[5] as shown in Table 17. Table 17. 1 1 0 Flow control configuration MCR[1] (RTS) 1 0 X Flow configuration auto RTS and CTS enabled auto CTS only enabled auto RTS and CTS disabled MCR[5] (AFE) SC16C751B_2 © NXP B.V. 2008. All rights reserved. Product data sheet Rev. 02 — 10 October 2008 18 of 32 NXP Semiconductors SC16C751B 5 V, 3.3 V and 2.5 V UART with 64-byte FIFOs 7.7 Line Status Register (LSR) This register provides the status of data transfers between the SC16C751B and the CPU. Table 18. Bit 7 Line Status Register bits description Description FIFO data error. 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. 6 LSR[6] THR and TSR empty. 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 logic 1 whenever the transmit FIFO and transmit shift register are both empty. THR empty. 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 a 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. Break interrupt. 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. 3 LSR[3] Framing error. logic 0 = no framing error (normal default condition) logic 1 = framing error. The receive character did not have a valid stop bit(s). In the FIFO mode, this error is associated with the character at the top of the FIFO. 2 LSR[2] Parity error. 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. 1 LSR[1] Overrun error. 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 transferred into the FIFO, therefore the data in the FIFO is not corrupted by the error. 0 LSR[0] Receive data ready. 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 Symbol LSR[7] 5 LSR[5] 4 LSR[4] SC16C751B_2 © NXP B.V. 2008. All rights reserved. Product data sheet Rev. 02 — 10 October 2008 19 of 32 NXP Semiconductors SC16C751B 5 V, 3.3 V and 2.5 V UART with 64-byte FIFOs 7.8 Modem Status Register (MSR) This register provides the current state of the control interface signals from the modem, or other peripheral device to which the SC16C751B is connected. Four bits of this register are used to indicate the changed information. These bits are set to a logic 1 whenever a control input from the modem changes state. These bits are set to a logic 0 whenever the CPU reads this register. Table 19. Bit 7:5 4 Modem Status Register bits description Description reserved Clear To Send. CTS. CTS functions as hardware flow control signal input if it is enabled via MCR[5]. Flow control (when enabled) allows starting and stopping the transmissions based on the external modem CTS signal. A logic 1 at the CTS pin will stop SC16C751B transmissions as soon as current character has finished transmission. Normally MSR[4] is the complement of the CTS input. However, in the Loopback mode, this bit is equivalent to the RTS bit in the MCR register. reserved ∆CTS [1] logic 0 = no CTS change (normal default condition) logic 1 = the CTS input to the SC16C751B has changed state since the last time it was read. A modem Status Interrupt will be generated. [1] Whenever any MSR[0] is set to logic 1, a Modem Status Interrupt will be generated if modem status interrupt is enabled. Symbol MSR[7:5] MSR[4] 3:1 0 MSR[3:1] MSR[0] 7.9 Scratchpad Register (SPR) The SC16C751B provides a temporary data register to store 8 bits of user information. 7.10 SC16C751B external reset conditions Table 20. Register IER ISR LCR MCR LSR MSR FCR Table 21. Output TX RTS INT Reset state for registers Reset state IER[7:0] = 0 ISR[7:1] = 0; ISR[0] = 1 LCR[7:0] = 0 MCR[7:0] = 0 LSR[7] = 0; LSR[6:5] = 1; LSR[4:0] = 0 MSR[7:4] = input signals; MSR[3:0] = 0 FCR[7:0] = 0 Reset state for outputs Reset state HIGH HIGH LOW SC16C751B_2 © NXP B.V. 2008. All rights reserved. Product data sheet Rev. 02 — 10 October 2008 20 of 32 NXP Semiconductors SC16C751B 5 V, 3.3 V and 2.5 V UART with 64-byte FIFOs 8. Limiting values Table 22. Limiting values In accordance with the Absolute Maximum Rating System (IEC 60134). Symbol VDD Vn Tamb Tstg Ptot/pack Parameter supply voltage voltage on any other pin ambient temperature storage temperature total power dissipation per package at D7 to D0 pins at any input only pin operating Conditions Min VSS − 0.3 VSS − 0.3 −40 −65 Max 7 VDD + 0.3 5.3 +85 +150 500 Unit V V V °C °C mW 9. Static characteristics Table 23. Static characteristics Tamb = −40 °C to +85 °C; tolerance of VDD = ± 10 %, unless otherwise specified. Symbol VIL(clk) VIH(clk) VIL VIH VOL Parameter clock LOW-level input voltage clock HIGH-level input voltage LOW-level input voltage HIGH-level input voltage LOW-level output voltage on all outputs IOL = 5 mA (data bus) IOL = 4 mA (other outputs) IOL = 2 mA (data bus) IOL = 1.6 mA (other outputs) VOH HIGH-level output voltage IOH = −5 mA (data bus) IOH = −1 mA (other outputs) IOH = −800 µA (data bus) IOH = −400 µA (other outputs) ILIL IL(clk) IDD(AV) IDD(sleep) IDD(lp) Ci Rpu(int) SC16C751B_2 Conditions VDD = 2.5 V Min −0.3 1.8 −0.3 1.6 [1] VDD = 3.3 V Min −0.3 2.4 −0.3 2.0 2.0 2.0 2.0 2.0 500 Max 0.6 VDD 0.8 0.4 0.4 0.4 0.4 ±10 ±30 4.5 50 1.5 5 - VDD = 5.0 V Min −0.5 3.0 −0.5 2.2 2.0 2.0 2.0 2.0 500 Max 0.6 VDD 0.8 VDD 0.4 0.4 0.4 0.4 ±10 ±30 4.5 50 1.5 5 - Unit V V V V V V V V V V V V µA µA mA µA mA pF kΩ 21 of 32 Max 0.45 VDD 0.65 0.4 0.4 0.4 0.4 ±10 ±30 3.5 50 1.0 5 - 1.85 1.85 1.85 1.85 [2] LOW-level input leakage current clock leakage current average supply current sleep mode supply current low-power mode supply current input capacitance internal pull-up resistance 500 © NXP B.V. 2008. All rights reserved. Product data sheet Rev. 02 — 10 October 2008 NXP Semiconductors SC16C751B 5 V, 3.3 V and 2.5 V UART with 64-byte FIFOs [1] [2] Except for XTAL2, VOL = 1 V typically. Sleep current might be higher if there is activity on the UART data bus during Sleep mode. 10. Dynamic characteristics Table 24. Dynamic characteristics Tamb = −40 °C to +85 °C; tolerance of VDD = ± 10 %, unless otherwise specified. Symbol tw2 tw1 fXTAL1 t6s’ t7d t7w t7h t7h’ t9d t12d t12h t13d t13w t13h t14d t15d t16s t16h t17d t18d t19d t20d t21d t22d t23d t24d tRESET N SC16C751B_2 Parameter pulse width LOW pulse width HIGH frequency on pin XTAL1 address set-up time IOR delay from chip select IOR strobe width chip select hold time from IOR address hold time 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 IOW delay from address write cycle delay data set-up time data hold time delay from IOW to output delay to set interrupt from modem input Conditions VDD = 2.5 V Min 10 10 [1] VDD = 3.3 V Min 6 6 10 10 26 0 5 20 10 20 0 10 25 20 5 Max 80 26 15 33 24 24 1TRCLK 29 45 VDD = 5.0 V Min 6 6 5 10 23 0 5 20 10 15 0 10 20 15 5 Max 80 23 15 29 23 23 1TRCLK 28 40 Unit ns ns MHz ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns s ns ns Max 48 77 15 100 100 100 1TRCLK 100 100 10 10 25 pF load 77 0 5 25 pF load 25 pF load 25 pF load 20 10 20 0 10 25 20 15 25 pF load 25 pF load [2] delay to reset interrupt from 25 pF load; IOR Figure 7 delay from stop to set interrupt delay time IOR to reset interrupt delay from start to set interrupt delay time from IOW to transmit start delay from IOW to reset interrupt RESET pulse width baud rate divisor [3] [2] - 25 pF load; Figure 9 8TRCLK 24TRCLK 8TRCLK 24TRCLK 8TRCLK 24TRCLK s 100 1 100 216 − 1 40 1 45 216 − 1 40 1 40 216 − 1 © NXP B.V. 2008. All rights reserved. ns ns Product data sheet Rev. 02 — 10 October 2008 22 of 32 NXP Semiconductors SC16C751B 5 V, 3.3 V and 2.5 V UART with 64-byte FIFOs [1] [2] [3] Applies to external clock, crystal oscillator max 24 MHz. RCLK is an internal signal derived from Divisor Latch LSB (DLL) and Divisor Latch MSB (DLM) divisor latches. Reset pulse must happen when these signals are inactive: CS, IOR, IOW. 10.1 Timing diagrams A0 to A2 t6s' valid address t7h' t6s' valid address t7w t7h' CS t7d active t7w t9d active IOR active t12d t12h t12d t12h D0 to D7 data 002aad015 Fig 5. General read timing A0 to A2 t6s' valid address t7h' t6s' valid address t7h' CS t13d active t13w active t16s t16h t15d active t13w IOW t16s t16h D0 to D7 data 002aad014 Fig 6. General write timing SC16C751B_2 © NXP B.V. 2008. All rights reserved. Product data sheet Rev. 02 — 10 October 2008 23 of 32 NXP Semiconductors SC16C751B 5 V, 3.3 V and 2.5 V UART with 64-byte FIFOs IOW active t17d RTS change of state change of state CTS t18d change of state t18d change of state INT active t19d active active IOR active active active 002aad013 Fig 7. Modem input/output timing tw2 EXTERNAL CLOCK tw3 tw1 002aaa112 1 f XTAL1 = ------t w3 Fig 8. External clock timing SC16C751B_2 © NXP B.V. 2008. All rights reserved. Product data sheet Rev. 02 — 10 October 2008 24 of 32 NXP Semiconductors SC16C751B 5 V, 3.3 V and 2.5 V UART with 64-byte FIFOs start bit data bits (0 to 7) D0 D1 D2 D3 D4 D5 D6 D7 parity bit stop bit next data start bit RX 5 data bits 6 data bits 7 data bits INT t20d active t21d active IOR 16 baud rate clock 002aaa113 Fig 9. Receive timing start bit data bits (0 to 7) D0 D1 D2 D3 D4 D5 D6 D7 parity bit stop bit next data start bit TX 5 data bits 6 data bits 7 data bits INT t22d t23d IOW active active transmitter ready t24d active 16 baud rate clock 002aaa116 Fig 10. Transmit timing SC16C751B_2 © NXP B.V. 2008. All rights reserved. Product data sheet Rev. 02 — 10 October 2008 25 of 32 NXP Semiconductors SC16C751B 5 V, 3.3 V and 2.5 V UART with 64-byte FIFOs 11. Package outline HVQFN24: plastic thermal enhanced very thin quad flat package; no leads; 24 terminals; body 4 x 4 x 0.85 mm SOT616-3 D B A terminal 1 index area A A1 E c detail X e1 1/2 e C b 12 vMCAB wMC 13 y1 C y e 7 L 6 e Eh 1/2 e e2 1 18 terminal 1 index area 24 Dh 0 19 X 2.5 scale 5 mm DIMENSIONS (mm are the original dimensions) UNIT mm A(1) max. 1 A1 0.05 0.00 b 0.30 0.18 c 0.2 D (1) 4.1 3.9 Dh 2.75 2.45 E (1) 4.1 3.9 Eh 2.75 2.45 e 0.5 e1 2.5 e2 2.5 L 0.5 0.3 v 0.1 w 0.05 y 0.05 y1 0.1 Note 1. Plastic or metal protrusions of 0.075 mm maximum per side are not included. OUTLINE VERSION SOT616-3 REFERENCES IEC --JEDEC MO-220 JEITA --EUROPEAN PROJECTION ISSUE DATE 04-11-19 05-03-10 Fig 11. Package outline SOT616-3 (HVQFN24) SC16C751B_2 © NXP B.V. 2008. All rights reserved. Product data sheet Rev. 02 — 10 October 2008 26 of 32 NXP Semiconductors SC16C751B 5 V, 3.3 V and 2.5 V UART with 64-byte FIFOs 12. Soldering of SMD packages This text provides a very brief insight into a complex technology. A more in-depth account of soldering ICs can be found in Application Note AN10365 “Surface mount reflow soldering description”. 12.1 Introduction to soldering Soldering is one of the most common methods through which packages are attached to Printed Circuit Boards (PCBs), to form electrical circuits. The soldered joint provides both the mechanical and the electrical connection. There is no single soldering method that is ideal for all IC packages. Wave soldering is often preferred when through-hole and Surface Mount Devices (SMDs) are mixed on one printed wiring board; however, it is not suitable for fine pitch SMDs. Reflow soldering is ideal for the small pitches and high densities that come with increased miniaturization. 12.2 Wave and reflow soldering Wave soldering is a joining technology in which the joints are made by solder coming from a standing wave of liquid solder. The wave soldering process is suitable for the following: • Through-hole components • Leaded or leadless SMDs, which are glued to the surface of the printed circuit board Not all SMDs can be wave soldered. Packages with solder balls, and some leadless packages which have solder lands underneath the body, cannot be wave soldered. Also, leaded SMDs with leads having a pitch smaller than ~0.6 mm cannot be wave soldered, due to an increased probability of bridging. The reflow soldering process involves applying solder paste to a board, followed by component placement and exposure to a temperature profile. Leaded packages, packages with solder balls, and leadless packages are all reflow solderable. Key characteristics in both wave and reflow soldering are: • • • • • • Board specifications, including the board finish, solder masks and vias Package footprints, including solder thieves and orientation The moisture sensitivity level of the packages Package placement Inspection and repair Lead-free soldering versus SnPb soldering 12.3 Wave soldering Key characteristics in wave soldering are: • Process issues, such as application of adhesive and flux, clinching of leads, board transport, the solder wave parameters, and the time during which components are exposed to the wave • Solder bath specifications, including temperature and impurities SC16C751B_2 © NXP B.V. 2008. All rights reserved. Product data sheet Rev. 02 — 10 October 2008 27 of 32 NXP Semiconductors SC16C751B 5 V, 3.3 V and 2.5 V UART with 64-byte FIFOs 12.4 Reflow soldering Key characteristics in reflow soldering are: • Lead-free versus SnPb soldering; note that a lead-free reflow process usually leads to higher minimum peak temperatures (see Figure 12) than a SnPb process, thus reducing the process window • Solder paste printing issues including smearing, release, and adjusting the process window for a mix of large and small components on one board • Reflow temperature profile; this profile includes preheat, reflow (in which the board is heated to the peak temperature) and cooling down. It is imperative that the peak temperature is high enough for the solder to make reliable solder joints (a solder paste characteristic). In addition, the peak temperature must be low enough that the packages and/or boards are not damaged. The peak temperature of the package depends on package thickness and volume and is classified in accordance with Table 25 and 26 Table 25. SnPb eutectic process (from J-STD-020C) Package reflow temperature (°C) Volume (mm3) < 350 < 2.5 ≥ 2.5 Table 26. 235 220 Lead-free process (from J-STD-020C) Package reflow temperature (°C) Volume (mm3) < 350 < 1.6 1.6 to 2.5 > 2.5 260 260 250 350 to 2000 260 250 245 > 2000 260 245 245 ≥ 350 220 220 Package thickness (mm) Package thickness (mm) Moisture sensitivity precautions, as indicated on the packing, must be respected at all times. Studies have shown that small packages reach higher temperatures during reflow soldering, see Figure 12. SC16C751B_2 © NXP B.V. 2008. All rights reserved. Product data sheet Rev. 02 — 10 October 2008 28 of 32 NXP Semiconductors SC16C751B 5 V, 3.3 V and 2.5 V UART with 64-byte FIFOs temperature maximum peak temperature = MSL limit, damage level minimum peak temperature = minimum soldering temperature peak temperature time 001aac844 MSL: Moisture Sensitivity Level Fig 12. Temperature profiles for large and small components For further information on temperature profiles, refer to Application Note AN10365 “Surface mount reflow soldering description”. 13. Abbreviations Table 27. Acronym BRG CMOS CPU DLL DLM FIFO LSB MSB TTL UART Abbreviations Description Baud Rate Generator Complementary Metal-Oxide Semiconductor Central Processing Unit Divisor Latch LSB Divisor Latch MSB First In, First Out Least Significant Bit Most Significant Bit Transistor-Transistor Logic Universal Asynchronous Receiver and Transmitter SC16C751B_2 © NXP B.V. 2008. All rights reserved. Product data sheet Rev. 02 — 10 October 2008 29 of 32 NXP Semiconductors SC16C751B 5 V, 3.3 V and 2.5 V UART with 64-byte FIFOs 14. Revision history Table 28. Revision history Release date 20081010 Data sheet status Product data sheet 5th Change notice Supersedes SC16C751B_1 Document ID SC16C751B_2 Modifications: • • • Section 2 “Features”, bullet item re-written; added Footnote 1 on page 1 Section 7.3 “FIFO Control Register (FCR)”, 1st paragraph: removed phrase “and select the DMA mode” Table 22 “Limiting values”: – symbol Vn split to show 2 separate conditions: “at D7 to D0 pins” and “at input only pins” Product data sheet - SC16C751B_1 20080424 SC16C751B_2 © NXP B.V. 2008. All rights reserved. Product data sheet Rev. 02 — 10 October 2008 30 of 32 NXP Semiconductors SC16C751B 5 V, 3.3 V and 2.5 V UART with 64-byte FIFOs 15. Legal information 15.1 Data sheet status Document status[1][2] Objective [short] data sheet Preliminary [short] data sheet Product [short] data sheet [1] [2] [3] Product status[3] Development Qualification Production Definition This document contains data from the objective specification for product development. This document contains data from the preliminary specification. This document contains the product specification. Please consult the most recently issued document before initiating or completing a design. The term ‘short data sheet’ is explained in section “Definitions”. The product status of device(s) described in this document may have changed since this document was published and may differ in case of multiple devices. The latest product status information is available on the Internet at URL http://www.nxp.com. 15.2 Definitions Draft — The document is a draft version only. The content is still under internal review and subject to formal approval, which may result in modifications or additions. NXP Semiconductors does not give any representations or warranties as to the accuracy or completeness of information included herein and shall have no liability for the consequences of use of such information. Short data sheet — A short data sheet is an extract from a full data sheet with the same product type number(s) and title. A short data sheet is intended for quick reference only and should not be relied upon to contain detailed and full information. For detailed and full information see the relevant full data sheet, which is available on request via the local NXP Semiconductors sales office. In case of any inconsistency or conflict with the short data sheet, the full data sheet shall prevail. malfunction of an NXP Semiconductors product can reasonably be expected to result in personal injury, death or severe property or environmental damage. NXP Semiconductors accepts no liability for inclusion and/or use of NXP Semiconductors products in such equipment or applications and therefore such inclusion and/or use is at the customer’s own risk. Applications — Applications that are described herein for any of these products are for illustrative purposes only. NXP Semiconductors makes no representation or warranty that such applications will be suitable for the specified use without further testing or modification. Limiting values — Stress above one or more limiting values (as defined in the Absolute Maximum Ratings System of IEC 60134) may cause permanent damage to the device. Limiting values are stress ratings only and operation of the device at these or any other conditions above those given in the Characteristics sections of this document is not implied. Exposure to limiting values for extended periods may affect device reliability. Terms and conditions of sale — NXP Semiconductors products are sold subject to the general terms and conditions of commercial sale, as published at http://www.nxp.com/profile/terms, including those pertaining to warranty, intellectual property rights infringement and limitation of liability, unless explicitly otherwise agreed to in writing by NXP Semiconductors. In case of any inconsistency or conflict between information in this document and such terms and conditions, the latter will prevail. No offer to sell or license — Nothing in this document may be interpreted or construed as an offer to sell products that is open for acceptance or the grant, conveyance or implication of any license under any copyrights, patents or other industrial or intellectual property rights. 15.3 Disclaimers General — Information in this document is believed to be accurate and reliable. However, NXP Semiconductors does not give any representations or warranties, expressed or implied, as to the accuracy or completeness of such information and shall have no liability for the consequences of use of such information. Right to make changes — NXP Semiconductors reserves the right to make changes to information published in this document, including without limitation specifications and product descriptions, at any time and without notice. This document supersedes and replaces all information supplied prior to the publication hereof. Suitability for use — NXP Semiconductors products are not designed, authorized or warranted to be suitable for use in medical, military, aircraft, space or life support equipment, nor in applications where failure or 15.4 Trademarks Notice: All referenced brands, product names, service names and trademarks are the property of their respective owners. 16. Contact information For more information, please visit: http://www.nxp.com For sales office addresses, please send an email to: salesaddresses@nxp.com SC16C751B_2 © NXP B.V. 2008. All rights reserved. Product data sheet Rev. 02 — 10 October 2008 31 of 32 NXP Semiconductors SC16C751B 5 V, 3.3 V and 2.5 V UART with 64-byte FIFOs 17. Contents 1 2 3 4 5 5.1 5.2 6 6.1 6.2 6.3 6.4 6.5 6.6 6.7 6.8 6.9 7 7.1 7.2 7.2.1 7.2.2 7.3 7.3.1 7.4 7.5 7.6 7.7 7.8 7.9 7.10 8 9 10 10.1 11 12 12.1 12.2 12.3 12.4 13 General description . . . . . . . . . . . . . . . . . . . . . . 1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Ordering information . . . . . . . . . . . . . . . . . . . . . 2 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Pinning information . . . . . . . . . . . . . . . . . . . . . . 3 Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Pin description . . . . . . . . . . . . . . . . . . . . . . . . . 4 Functional description . . . . . . . . . . . . . . . . . . . 5 Internal registers. . . . . . . . . . . . . . . . . . . . . . . . 5 FIFO operation . . . . . . . . . . . . . . . . . . . . . . . . . 6 Hardware flow control . . . . . . . . . . . . . . . . . . . . 7 Time-out interrupts . . . . . . . . . . . . . . . . . . . . . . 7 Programmable baud rate generator . . . . . . . . . 7 Special software initialization sequence . . . . . . 9 Sleep mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Low power mode . . . . . . . . . . . . . . . . . . . . . . . 9 Loopback mode . . . . . . . . . . . . . . . . . . . . . . . . 9 Register descriptions . . . . . . . . . . . . . . . . . . . 11 Transmit and Receive Holding Registers (THR and RHR) . . . . . . . . . . . . . . . . . . . . . . . 12 Interrupt Enable Register (IER) . . . . . . . . . . . 12 IER versus Receive FIFO interrupt mode operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 IER versus Receive/Transmit FIFO polled mode operation . . . . . . . . . . . . . . . . . . 13 FIFO Control Register (FCR) . . . . . . . . . . . . . 14 FIFO mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Interrupt Status Register (ISR) . . . . . . . . . . . . 15 Line Control Register (LCR) . . . . . . . . . . . . . . 16 Modem Control Register (MCR) . . . . . . . . . . . 18 Line Status Register (LSR) . . . . . . . . . . . . . . . 19 Modem Status Register (MSR). . . . . . . . . . . . 20 Scratchpad Register (SPR) . . . . . . . . . . . . . . 20 SC16C751B external reset conditions . . . . . . 20 Limiting values. . . . . . . . . . . . . . . . . . . . . . . . . 21 Static characteristics. . . . . . . . . . . . . . . . . . . . 21 Dynamic characteristics . . . . . . . . . . . . . . . . . 22 Timing diagrams . . . . . . . . . . . . . . . . . . . . . . . 23 Package outline . . . . . . . . . . . . . . . . . . . . . . . . 26 Soldering of SMD packages . . . . . . . . . . . . . . 27 Introduction to soldering . . . . . . . . . . . . . . . . . 27 Wave and reflow soldering . . . . . . . . . . . . . . . 27 Wave soldering . . . . . . . . . . . . . . . . . . . . . . . . 27 Reflow soldering . . . . . . . . . . . . . . . . . . . . . . . 28 Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . 29 14 15 15.1 15.2 15.3 15.4 16 17 Revision history . . . . . . . . . . . . . . . . . . . . . . . Legal information . . . . . . . . . . . . . . . . . . . . . . Data sheet status . . . . . . . . . . . . . . . . . . . . . . Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . Disclaimers. . . . . . . . . . . . . . . . . . . . . . . . . . . Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . Contact information . . . . . . . . . . . . . . . . . . . . Contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 31 31 31 31 31 31 32 Please be aware that important notices concerning this document and the product(s) described herein, have been included in section ‘Legal information’. © NXP B.V. 2008. All rights reserved. For more information, please visit: http://www.nxp.com For sales office addresses, please send an email to: salesaddresses@nxp.com Date of release: 10 October 2008 Document identifier: SC16C751B_2
SC16C751BIBS 价格&库存

很抱歉,暂时无法提供与“SC16C751BIBS”相匹配的价格&库存,您可以联系我们找货

免费人工找货