欢迎访问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文件第7页浏览型号ST16C580CP40的Datasheet PDF文件第8页浏览型号ST16C580CP40的Datasheet PDF文件第9页浏览型号ST16C580CP40的Datasheet PDF文件第10页浏览型号ST16C580CP40的Datasheet PDF文件第12页浏览型号ST16C580CP40的Datasheet PDF文件第13页浏览型号ST16C580CP40的Datasheet PDF文件第14页浏览型号ST16C580CP40的Datasheet PDF文件第15页  
ST16C580  
Software Flow Control  
placed on the user accessible data stack along with  
normal incoming RX data. This condition is selected in  
conjunction with EFR bits 0-3. Note that software flow  
control should be turned off when using this special  
mode by setting EFR bit 0-3 to a logic 0.  
When software flow control is enabled, the 580 com-  
pares one or two sequential receive data characters  
with the programmed Xon or Xoff-1,2 character  
value(s). If receive character(s) (RX) match the pro-  
grammed values, the 580 will halt transmission (TX)  
as soon as the current character(s) has completed  
transmission. When a match occurs, the receive  
ready (if enabled via Xoff IER bit-5) flags will be set  
and the interrupt output pin (if receive interrupt is  
enabled) will be activated. Following a suspension  
due to a match of the Xoff characters values, the 580  
will monitor the receive data stream for a match to the  
Xon-1,2 character value(s). If a match is found, the  
580 will resume operation and clear the flags (ISR bit-  
4).  
The 580 compares each incoming receive character  
with Xoff-2 data. If a match exists, the received data  
will be transferred to FIFO and ISR bit-4 will be set to  
indicate detection of special character (see Figure 9).  
Although the Internal Register Table shows each X-  
Register with eight bits of character information, the  
actual number of bits is dependent on the pro-  
grammed word length. Line Control Register (LCR)  
bits 0-1 defines the number of character bits, i.e.,  
either 5 bits, 6 bits, 7 bits, or 8 bits. The word length  
selected by LCR bits 0-1 also determines the number  
of bits that will be used for the special character  
comparison. Bit-0 in the X-registers corresponds with  
the LSB bit for the receive character.  
Reset initially sets the contents of the Xon/Xoff 8-bit  
flow control registers to a logic 0. Following reset the  
user can write any Xon/Xoff value desired for software  
flow control. Different conditions can be set to detect  
Xon/Xoff characters and suspend/resume transmis-  
sions. When double 8-bit Xon/Xoff characters are  
selected, the 580 compares two consecutive receive  
characters with two software flow control 8-bit values  
(Xon1, Xon2, Xoff1, Xoff2) and controls TX transmis-  
sions accordingly. Under the above described flow  
control mechanisms, flow control characters are not  
placed (stacked) in the user accessible RX data buffer  
or FIFO.  
Time-out Interrupts  
Three special interrupts have been added to monitor  
the hardware and software flow control. The interrupts  
are enabled by IER bits 5-7. Care must be taken when  
handling these interrupts. Following a reset the trans-  
mitter interrupt is enabled, the 580 will issue an  
interrupt to indicate that transmit holding register is  
empty. This interrupt must be serviced prior to con-  
tinuing operations. The LSR register provides the  
current singular highest priority interrupt only. It could  
be noted that CTS and RTS interrupts have lowest  
interrupt priority. A condition can exist where a higher  
priority interrupt may mask the lower priority CTS/  
RTS interrupt(s). Only after servicing the higher pend-  
ing interrupt will the lower priority CTS/ RTS  
interrupt(s) be reflected in the status register. Servic-  
ing the interrupt without investigating further interrupt  
conditions can result in data errors.  
In the event that the receive buffer is overfilling and  
flow control needs to be executed, the 580 automati-  
cally sends an Xoff message (when enabled) via the  
serial TX output to the remote modem. The 580 sends  
the Xoff-1,2 characters as soon as received data  
passes the programmed trigger level. To clear this  
condition, the 580 will transmit the programmed Xon-  
1,2 characters as soon as receive data drops below  
the programmed trigger level.  
When two interrupt conditions have the same priority,  
it is important to service these interrupts correctly.  
Receive Data Ready and Receive Time Out have the  
same interrupt priority (when enabled by IER bit-3).  
The receiver issues an interrupt after the number of  
characters have reached the programmed trigger  
Special Feature Software Flow Control  
A special feature is provided to detect an 8-bit charac-  
ter when bit-5 is set in the Enhanced Feature Register  
(EFR). When this character is detected, it will be  
Rev.1.20  
11  
 复制成功!