欢迎访问ic37.com |
会员登录 免费注册
发布采购

ST16C580CP40 参数 Datasheet PDF下载

ST16C580CP40图片预览
型号: ST16C580CP40
PDF下载: 下载PDF文件 查看货源
内容描述: UART具有16字节FIFO的和红外( IrDA)的编码/解码器 [UART WITH 16-BYTE FIFO’s AND INFRARED (IrDA) ENCODER/DECODER]
分类和应用: 解码器先进先出芯片编码器
文件页数/大小: 41 页 / 244 K
品牌: EXAR [ EXAR CORPORATION ]
 浏览型号ST16C580CP40的Datasheet PDF文件第14页浏览型号ST16C580CP40的Datasheet PDF文件第15页浏览型号ST16C580CP40的Datasheet PDF文件第16页浏览型号ST16C580CP40的Datasheet PDF文件第17页浏览型号ST16C580CP40的Datasheet PDF文件第19页浏览型号ST16C580CP40的Datasheet PDF文件第20页浏览型号ST16C580CP40的Datasheet PDF文件第21页浏览型号ST16C580CP40的Datasheet PDF文件第22页  
ST16C580  
Transmit and Receive Holding Register  
B) FIFO status will also be reflected in the user  
accessible ISR register when the FIFO trigger level is  
reached. Both the ISR register status bit and the  
interrupt will be cleared when the FIFO drops below  
the trigger level.  
The serial transmitter section consists of an 8-bit  
Transmit Hold Register (THR) and Transmit Shift  
Register (TSR). The status of the THR is provided in  
the Line Status Register (LSR). Writing to the THR  
transfers the contents of the data bus (D7-D0) to the  
THR, providing that the THR or TSR is empty. The  
THR empty flag in the LSR register will be set to a logic  
1 when the transmitter is empty or when data is  
transferred to the TSR. Note that a write operation can  
be performed when the transmit holding register  
empty flag is set (logic 0 = FIFO full, logic 1= at least  
one FIFO location available).  
C) The data ready bit (LSR BIT-0) is set as soon as a  
character is transferred from the shift register to the  
receive FIFO. It is reset when the FIFO is empty.  
IER Vs Receive/Transmit FIFO Polled Mode Op-  
eration  
When FCR BIT-0 equals a logic 1; resetting IER bits  
0-3 enables the 580 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).  
The serial receive section also contains an 8-bit  
Receive Holding Register, RHR. Receive data is  
removed from the 580 and receive FIFO by reading  
the RHR register. The receive section provides a  
mechanism to prevent false starts. On the falling edge  
of a start or false start bit, an internal receiver counter  
starts counting clocks at 16x clock rate. After 7 1/2  
clocks the start bit time should be shifted to the center  
of the start bit. At this time the start bit is sampled and  
if it is still a logic 0 it is validated. Evaluating the start  
bit in this manner prevents the receiver from assem-  
bling a false character. Receiver status codes will be  
posted in the LSR.  
A) LSR BIT-0 will be a logic 1 as long as there is one  
byte in the receive FIFO.  
B) LSR BIT 1-4 will indicate if an overrun error  
occurred.  
C) LSR BIT-5 will indicate when the transmit FIFO is  
empty.  
Interrupt Enable Register (IER)  
D) LSR BIT-6 will indicate when both the transmit  
FIFO and transmit shift register are empty.  
The Interrupt Enable Register (IER) masks the inter-  
rupts from receiver ready, transmitter empty, line  
status and modem status registers. These interrupts  
would normally be seen on the 580 INT output pin.  
E) LSR BIT-7 will indicate any FIFO data errors.  
IER BIT-0:  
IER Vs Receive FIFO Interrupt Mode Operation  
Logic 0 = Disable the receiver ready interrupt. (normal  
default condition)  
When the receive FIFO (FCR BIT-0 = a logic 1) and  
receive interrupts (IER BIT-0 = logic 1) are enabled,  
the receive interrupts and register status will reflect  
the following:  
Logic 1 = Enable the receiver ready interrupt.  
IER BIT-1:  
Logic 0 = Disable the transmitter empty interrupt.  
(normal default condition)  
A) The receive data available interrupts are issued to  
the external CPU when the FIFO has reached the  
programmed trigger level. It will be cleared when the  
FIFO drops below the programmed trigger level.  
Logic 1 = Enable the transmitter empty interrupt.  
IER BIT-2:  
Logic 0 = Disable the receiver line status interrupt.  
Rev.1.20  
18  
 复制成功!