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

SCC2692AC1A44 参数 Datasheet PDF下载

SCC2692AC1A44图片预览
型号: SCC2692AC1A44
PDF下载: 下载PDF文件 查看货源
内容描述: 双重异步接收器/发送器DUART [Dual asynchronous receiver/transmitter DUART]
分类和应用: 微控制器和处理器串行IO控制器通信控制器外围集成电路数据传输时钟
文件页数/大小: 30 页 / 212 K
品牌: NXP [ NXP ]
 浏览型号SCC2692AC1A44的Datasheet PDF文件第5页浏览型号SCC2692AC1A44的Datasheet PDF文件第6页浏览型号SCC2692AC1A44的Datasheet PDF文件第7页浏览型号SCC2692AC1A44的Datasheet PDF文件第8页浏览型号SCC2692AC1A44的Datasheet PDF文件第10页浏览型号SCC2692AC1A44的Datasheet PDF文件第11页浏览型号SCC2692AC1A44的Datasheet PDF文件第12页浏览型号SCC2692AC1A44的Datasheet PDF文件第13页  
Philips Semiconductors  
Product specification  
Dual asynchronous receiver/transmitter (DUART)  
SCC2692  
conditions of the UART. When this 8-bit port is used as a general  
purpose output, the pins so defined will assume the compliment of  
the associated bit in the Output Port Register (OPR). OPR(n) = 1  
results in OP(n) = Low and vice versa. Bits of the OPR can be  
individually set and reset. A bit is set by performing a write operation  
at address H’E’ with the accompanying data specifying the bits to be  
reset (1 = set, 0 = no change). Likewise, a bit is reset by a write at  
address H’F’ with the accompanying data specifying the bits to be  
reset (1 = reset, 0 = no change).  
(if any) are completely transmitted, if the transmitter has been  
disabled.  
Receiver  
The SCC2692 is conditioned to receive data when enabled through  
the command register. The receiver looks for a High-to-Low  
(mark-to-space) transition of the start bit on the RxD input pin. If a  
transition is detected, the state of the RxD pin is sampled each 16X  
clock for 7-1/2 clocks (16X clock mode) or at the next rising edge of  
the bit time clock (1X clock mode). If RxD is sampled High, the start  
bit is invalid and the search for a valid start bit begins again. If RxD  
is still Low, a valid start bit is assumed and the receiver continues to  
sample the input at one bit time intervals at the theoretical center of  
the bit, until the proper number of data bits and parity bit (if any)  
have been assembled, and one stop bit has been detected. The  
least significant bit is received first. The data is then transferred to  
the Receive Holding Register (RHR) and the RxRDY bit in the SR is  
set to a 1. This condition can be programmed to generate an  
interrupt at OP4 or OP5 and INTRN. If the character length is less  
than 8 bits, the most significant unused bits in the RHR are set to  
zero.  
Outputs can be also individually assigned specific functions by  
appropriate programming of the Channel A mode registers (MR1A,  
MR2A), the Channel B mode registers (MR1B, MR2B), and the  
Output Port Configuration Register (OPCR).  
Output ports are driven high on hardware reset. Please note that  
these pins drive both high and low. HOWEVER when they are  
programmed to represent interrupt type functions (such as receiver  
ready, transmitter ready or counter/timer ready) they will be switched  
to an open drain configuration in which case an external pull-up  
device would be required.  
After the stop bit is detected, the receiver will immediately look for  
the next start bit. However, if a non-zero character was received  
without a stop bit (framing error) and RxD remains Low for one half  
of the bit period after the stop bit was sampled, then the receiver  
operates as if a new start bit transition had been detected at that  
point (one-half bit time after the stop bit was sampled).  
OPERATION  
Transmitter  
The SCC2692 is conditioned to transmit data when the transmitter is  
enabled through the command register. The SCC2692 indicates to  
the CPU that it is ready to accept a character by setting the TxRDY  
bit in the status register. This condition can be programmed to  
generate an interrupt request at OP6 or OP7 and INTRN. When a  
character is loaded into the Transmit Holding Register (THR), the  
above conditions are negated. Data is transferred from the holding  
register to transmit shift register when it is idle or has completed  
transmission of the previous character. The TxRDY conditions are  
then asserted again which means one full character time of buffering  
is provided. Characters cannot be loaded into the THR while the  
transmitter is disabled.  
The parity error, framing error, and overrun error (if any) are strobed  
into the SR at the received character boundary, before the RxRDY  
status bit is set. If a break condition is detected (RxD is Low for the  
entire character including the stop bit), a character consisting of all  
zeros will be loaded into the RHR and the received break bit in the  
SR is set to 1. The RxD input must return to high for two (2) clock  
edges of the X1 crystal clock for the receiver to recognize the end of  
the break condition and begin the search for a start bit. This will  
usually require a high time of one X1 clock period or 3 X1  
edges since the clock of the controller is not synchronous to  
the X1 clock.  
The transmitter converts the parallel data from the CPU to a serial  
bit stream on the TxD output pin. It automatically sends a start bit  
followed by the programmed number of data bits, an optional parity  
bit, and the programmed number of stop bits. The least significant  
bit is sent first. Following the transmission of the stop bits, if a new  
character is not available in the THR, the TxD output remains High  
and the TxEMT bit in the Status Register (SR) will be set to 1.  
Transmission resumes and the TxEMT bit is cleared when the CPU  
loads a new character into the THR.  
Receiver FIFO  
The RHR consists of a First-In-First-Out (FIFO) stack with a  
capacity of three characters. Data is loaded from the receive shift  
register into the topmost empty position of the FIFO. The RxRDY bit  
in the status register is set whenever one or more characters are  
available to be read, and a FFULL status bit is set if all three stack  
positions are filled with data. Either of these bits can be selected to  
cause an interrupt. A read of the RHR outputs the data at the top of  
the FIFO. After the read cycle, the data FIFO and its associated  
status bits (see below) are ‘popped’ thus emptying a FIFO position  
for new data.  
If the transmitter is disabled, it continues operating until the  
character currently being transmitted is completely sent out. The  
transmitter can be forced to send a continuous Low condition by  
issuing a send break command.  
The transmitter can be reset through a software command. If it is  
reset, operation ceases immediately and the transmitter must be  
enabled through the command register before resuming operation.  
If CTS operation is enable, the CTSN input must be Low in order for  
the character to be transmitted. If it goes High in the middle of a  
transmission, the character in the shift register is transmitted and  
TxDA then remains in the marking state until CTSN goes Low. The  
transmitter can also control the deactivation of the RTSN output.  
If programmed, the RTSN output will be reset one bit time after the  
character in the transmit shift register and transmit holding register  
Receiver Status Bits  
In addition to the data word, three status bits (parity error, framing  
error, and received break) are also appended to each data character  
in the FIFO (overrun is not). Status can be provided in two ways, as  
programmed by the error mode control bit in the mode register. In  
the ‘character’ mode, status is provided on a character-by-character  
basis; the status applies only to the character at the top of the FIFO.  
In the ‘block’ mode, the status provided in the SR for these three bits  
is the logical-OR of the status for all characters coming to the top of  
the FIFO since the last ‘reset error’ command was issued. In either  
9
1998 Sep 04  
 复制成功!