没有合适的资源?快使用搜索试试~ 我知道了~
首页XR16C854 UART扩展技术详解:4通道串口与128字节FIFO
XR16C854 UART扩展技术详解:4通道串口与128字节FIFO
需积分: 15 3 下载量 169 浏览量
更新于2024-07-16
收藏 752KB PDF 举报
XR16C854/854D是一款由Exar Corporation生产的高性能串口扩展芯片,其版本为Rev.3.1.0,发布于2013年4月。这款芯片的主要特点是集成了四个独立的通用异步接收器和发射器(UART),每个 UART 都配备有128字节的传输和接收 FIFO(先进先出队列),支持硬件和软件流控制,数据传输速率最高可达2Mbps。 该芯片提供了丰富的功能,用户可以通过一组寄存器进行操作状态监控、控制以及错误指示。它具有灵活的系统中断设计,允许根据设计需求定制中断处理,便于进行故障诊断。内部的环回功能使得芯片在板上就能进行自我诊断测试。 XR16C854/854D支持两种模式接口:16模式接口和额外的68模式接口。其中,64引脚LQFP封装仅提供16模式接口,而68引脚PLCC和100引脚QFP封装则额外支持68模式接口,这对于与摩托罗拉处理器的无缝集成特别有用,简化了设计流程。 值得一提的是,XR16C854CV型号提供了三个状态中断输出选项,适合对中断信号类型有不同需求的应用;而XR16C854DV则提供连续中断输出,这意味着它能够连续产生中断请求,提高了系统的响应速度和实时性。 XR16C854/854D是一款适用于多种通信场景的高效串口扩展解决方案,特别适合需要高带宽、低延迟和灵活中断管理的工业控制、物联网设备以及嵌入式系统设计。为了更深入地了解和利用这款芯片,建议参考文档中的详细规格、功能描述以及示例电路设计,以便根据具体项目需求进行优化配置和应用。
资源详情
资源推荐
XR16C854/854D
9
REV. 3.1.0
2.97V TO 5.5V QUAD UART WITH 128-BYTE FIFO
1.0 PRODUCT DESCRIPTION
The XR16C854 (854) integrates the functions of 4 enhanced 16C550 Universal Asynchronous Receiver and
Transmitter (UART). Each UART is independently controlled having its own set of device configuration
registers. The configuration registers set is 16550 UART compatible for control, status and data transfer.
Additionally, each UART channel has 128-bytes of transmit and receive FIFOs, automatic RTS/CTS hardware
flow control with hysteresis control, automatic Xon/Xoff and special character software flow control,
programmable transmit and receive FIFO trigger levels, FIFO level counters, infrared encoder and decoder
(IrDA ver 1.0), programmable baud rate generator with a prescaler of divide by 1 or 4, and data rate up to 2
Mbps. The XR16C854 can operate at 3.3 or 5 volts. The 854 is fabricated with an advanced CMOS process.
Enhanced FIFO
The 854 QUART provides a solution that supports 128 bytes of transmit and receive FIFO memory, instead of
64 bytes provided in the ST16C654 and 16 bytes in the ST16C554, or one byte in the ST16C454. The 854 is
designed to work with high performance data communication systems, that require fast data processing time.
Increased performance is realized in the 854 by the larger transmit and receive FIFOs, FIFO trigger level
control, FIFO level counters and automatic flow control mechanism. This allows the external processor to
handle more networking tasks within a given time. For example, the ST16C554 with a 16 byte FIFO, unloads
16 bytes of receive data in 1.53 ms (This example uses a character length of 11 bits, including start/stop bits at
115.2Kbps). This means the external CPU will have to service the receive FIFO at 1.53 ms intervals. However
with the 128 byte FIFO in the 854, the data buffer will not require unloading/loading for 12.2 ms. This increases
the service interval giving the external CPU additional time for other applications and reducing the overall
UART interrupt servicing time. In addition, the programmable FIFO level trigger interrupt and automatic
hardware/software flow control is uniquely provided for maximum data throughput performance especially
when operating in a multi-channel system. The combination of the above greatly reduces the CPU’s bandwidth
requirement, increases performance, and reduces power consumption.
Data Rate
The 854 is capable of operation up to 2 Mbps at 5V with 16x internal sampling clock rate. The device can
operate with a crystal oscillator of up to 24 MHz crystal on pins XTAL1 and XTAL2, or external clock source of
32 MHz on XTAL1 pin. With a typical crystal of 14.7456 MHz and through a software option, the user can set
the prescaler bit for data rates of up to 921.6 kbps.
Enhanced Features
The rich feature set of the 854 is available through the internal registers. Automatic hardware/software flow
control, selectable transmit and receive FIFO trigger levels, selectable baud rates, infrared encoder/decoder
interface, modem interface controls, and a sleep mode are all standard features. MCR bit-5 provides a facility
for turning off software flow control with any incoming (RX) character. In the 16 mode INTSEL and MCR bit-3
can be configured to provide a software controlled or continuous interrupt capability. Due to pin limitations for
the 64 pin package of the 854, this feature is offered in two different LQFP packages. The XR16C854DCV
operates in the continuous interrupt enable mode by internally bonding INTSEL to VCC. The XR16C854CV
operates in conjunction with MCR bit-3 by internally bonding INTSEL to GND.
The 68 and 100 pin XR16C854 packages offer a clock prescaler select pin to allow system/board designers to
preset the default baud rate table on power up. The CLKSEL pin selects the div-by-1 or div-by-4 prescaler for
the baud rate generator. It can then be overridden following initializatioin by MCR bit-7.
The 100 pin package offer several other enhanced features. These features include a CHCCLK clock input,
FSTAT register and separate IrDA TX outputs. The CHCCLK must be connected to the XTAL2 pin for normal
operation or to external MIDI (Music Instrument Digital Interface) oscillator for MIDI applications. A separate
register (FSTAT) is provided for monitoring the real time status of the FIFO signals TXRDY# and RXRDY# for
each of the four UART channels (A-D). This reduces polling time involved in accessing individual channels.
The 100 pin QFP package also offers four separate IrDA (Infrared Data Association Standard) TX outputs for
Infrared applications. These outputs are provided in addition to the standard asynchronous modem data
outputs.
XR16C854/854D
10
2.97V TO 5.5V QUAD UART WITH 128-BYTE FIFO
REV. 3.1.0
2.0 FUNCTIONAL DESCRIPTIONS
2.1 CPU Interface
The CPU interface is 8 data bits wide with 3 address lines and control signals to execute data bus read and
write transactions. The 854 data interface supports the Intel compatible types of CPUs and it is compatible to
the industry standard 16C550 UART. No clock (oscillator nor external clock) is required to operate a data bus
transaction. Each bus cycle is asynchronous using CS# A-D, IOR# and IOW# or CS#, R/W#, A4 and A3 inputs.
All four UART channels share the same data bus for host operations. A typical data bus interconnection for
Intel and Motorola mode is shown in Figure 4.
F
IGURE
4. XR16C854/854D T
YPICAL
I
NTEL
/M
OTOROLA
D
ATA
B
US
I
NTERCONNECTIONS
VCC
VCC
DSRA#
CTSA#
RTSA#
DTRA#
RXA
TXA
RIA#
CDA#
GND
A0
A1
A2
UART_CSA#
UART_CSB#
IOR#
IOW#
D0
D1
D2
D3
D4
D5
D6
D7
A0
A1
A2
CSA#
CSB#
D0
D1
D2
D3
D4
D5
D6
D7
IOR#
IOW#
UART
Channel A
UART
Channel B
UART_INTB
UART_INTA
INTB
INTA
UART_RESET RESET
Serial Interface of
RS-232
Serial Interface of
RS-232
Intel Data Bus (16 Mode) Interconnections
UART
Channel C
UART
Channel D
Similar
to Ch A
Similar
to Ch A
Similar
to Ch A
UART_INTD
UART_INTC
INTD
INTC
UART_CSC#
UART_CSD#
CSC#
CSD#
VCC 16/68#
VCC
VCC
GND
A0
A1
A2
UART_CS#
A3
R/W#
D0
D1
D2
D3
D4
D5
D6
D7
A0
A1
A2
CSA#
CSB#
D0
D1
D2
D3
D4
D5
D6
D7
IOR#
IOW#
UART_IRQ#
INTB
INTA
RESET#
Serial Interface of
RS-232
Serial Interface of
RS-232
Motorola Data Bus (68 Mode) Interconnections
VCC
UART_RESET#
(no connect)
DSRA#
CTSA#
RTSA#
DTRA#
RXA
TXA
RIA#
CDA#
UART
Channel A
UART
Channel B
UART
Channel C
Similar
to Ch A
Similar
to Ch A
Similar
to Ch A
INTC
(no connect)
INTD
(no connect)
A4 CSC#
CSD#
VCC
16/68#
UART
Channel D
XR16C854/854D
11
REV. 3.1.0
2.97V TO 5.5V QUAD UART WITH 128-BYTE FIFO
2.2 5-Volt Tolerant Inputs
For devices that have top mark date code "F2 YYWW" and newer, the 854 can accept a voltage of up to 5.5V
on any of its inputs (except XTAL1) when operating from 2.97V to 5.5V. XTAL1 is not 5 volt tolerant. Devices
that have top mark date code "DC YYWW" and older do not have 5V tolerant inputs.
2.3 Device Reset
The RESET input resets the internal registers and the serial interface outputs in all four channels to their
default state (see Table 19). An active high pulse of longer than 40 ns duration will be required to activate the
reset function in the device. Following a power-on reset or an external reset, the 854 is software compatible
with previous generation of UARTs, 16C454 and 16C554 and 16C654.
2.4 Device Identification and Revision
The XR16C854 provides a Device Identification code and a Device Revision code to distinguish the part from
other devices and revisions. To read the identification code from the part, it is required to set the baud rate
generator registers DLL and DLM both to 0x00. Now reading the content of the DLM will provide 0x14 for the
XR16C854 and reading the content of DLL will provide the revision of the part; for example, a reading of 0x01
means revision A.
2.5 Channel Selection
The UART provides the user with the capability to bi-directionally transfer information between an external
CPU and an external serial communication device. During Intel Bus Mode (16/68# pin is connected to VCC), a
logic 0 on chip select pins, CSA#, CSB#, CSC# or CSD# allows the user to select UART channel A, B, C or D
to configure, send transmit data and/or unload receive data to/from the UART. Selecting all four UARTs can be
useful during power up initialization to write to the same internal registers, but do not attempt to read from all
four uarts simultaneously. Individual channel select functions are shown in Table 1 below.
During Motorola Bus Mode (16/68# pin is connected to GND), the package interface pins are configured for
connection with Motorola, and other popular microprocessor bus types. In this mode the 854 decodes two
additional addresses, A3 and A4, to select one of the four UART ports. The A3 and A4 address decode
function is used only when in the Motorola Bus Mode. See Table 2 below.
T
ABLE
1: C
HANNEL
A-D S
ELECT
IN
16 M
ODE
CSA# CSB# CSC# CSD# F
UNCTION
1 1 1 1 UART de-selected
0 1 1 1 Channel A selected
1 0 1 1 Channel B selected
1 1 0 1 Channel C selected
1 1 1 0 Channel D selected
0 0 0 0 Channels A-D selected
T
ABLE
2: C
HANNEL
A-D S
ELECT
IN
68 M
ODE
CS# A4 A3 F
UNCTION
1 N/A N/A UART de-selected
0 0 0 Channel A selected
0 0 1 Channel B selected
0 1 0 Channel C selected
0 1 1 Channel D selected
剩余52页未读,继续阅读
海洋想想
- 粉丝: 587
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 新型矿用本安直流稳压电源设计:双重保护电路
- 煤矿掘进工作面安全因素研究:结构方程模型
- 利用同位素位移探测原子内部新型力
- 钻锚机钻臂动力学仿真分析与优化
- 钻孔成像技术在巷道松动圈检测与支护设计中的应用
- 极化与非极化ep碰撞中J/ψ的Sivers与cos2φ效应:理论分析与COMPASS验证
- 新疆矿区1200m深孔钻探关键技术与实践
- 建筑行业事故预防:综合动态事故致因理论的应用
- 北斗卫星监测系统在电网塔形实时监控中的应用
- 煤层气羽状水平井数值模拟:交替隐式算法的应用
- 开放字符串T对偶与双空间坐标变换
- 煤矿瓦斯抽采半径测定新方法——瓦斯储量法
- 大倾角大采高工作面设备稳定与安全控制关键技术
- 超标违规背景下的热波动影响分析
- 中国煤矿选煤设计进展与挑战:历史、现状与未来发展
- 反演技术与RBF神经网络在移动机器人控制中的应用
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功