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

MC68331CFC16 参数 Datasheet PDF下载

MC68331CFC16图片预览
型号: MC68331CFC16
PDF下载: 下载PDF文件 查看货源
内容描述: 用户手册 [User’s Manual]
分类和应用: 微控制器和处理器外围集成电路时钟
文件页数/大小: 254 页 / 1319 K
品牌: MOTOROLA [ MOTOROLA ]
 浏览型号MC68331CFC16的Datasheet PDF文件第151页浏览型号MC68331CFC16的Datasheet PDF文件第152页浏览型号MC68331CFC16的Datasheet PDF文件第153页浏览型号MC68331CFC16的Datasheet PDF文件第154页浏览型号MC68331CFC16的Datasheet PDF文件第156页浏览型号MC68331CFC16的Datasheet PDF文件第157页浏览型号MC68331CFC16的Datasheet PDF文件第158页浏览型号MC68331CFC16的Datasheet PDF文件第159页  
6.4.3.6 Receiver Operation  
The receiver enable (RE) bit in SCCR1 enables (RE = 1) and disables (RE = 0) the  
transmitter. The receiver contains a receive serial shifter and a parallel receive data  
register (RDR) located in the SCI data register (SCDR). The serial shifter cannot be  
directly accessed by the CPU. The receiver is double-buffered, allowing data to be  
held in RDR while other data is shifted in.  
Receiver bit processor logic drives a state machine that determines the logic level for  
each bit-time. This state machine controls when the bit processor logic is to sample  
the RXD pin and also controls when data is to be passed to the receive serial shifter.  
A receive time (RT) clock is used to control sampling and synchronization. Data is  
shifted into the receive serial shifter according to the most recent synchronization of  
the RT clock with the incoming data stream. From this point on, data movement is syn-  
chronized with the MCU system clock. Operation of the receiver state machine is de-  
tailed in the QSM Reference Manual (QSMRM/AD).  
The number of bits shifted in by the receiver depends on the serial format. However,  
all frames must end with at least one stop bit. When the stop bit is received, the frame  
is considered to be complete, and the received data in the serial shifter is transferred  
to the RDR. The receiver data register flag (RDRF) is set when the data is transferred.  
6
Noise errors, parity errors, and framing errors can be detected while a data stream is  
being received. Although error conditions are detected as bits are received, the noise  
flag (NF), the parity flag (PF), and the framing error (FE) flag in SCSR are not set until  
data is transferred from the serial shifter to RDR.  
RDRF must be cleared before the next transfer from the shifter can take place. If  
RDRF is set when the shifter is full, transfers are inhibited and the overrun error (OR)  
flag in the SCSR is set. OR indicates that the CPU needs to service RDR faster. When  
OR is set, the data in RDR is preserved, but the data in the serial shifter is lost. Be-  
cause framing, noise, and parity errors are detected while data is in the serial shifter,  
FE, NF, and PF cannot occur at the same time as OR.  
When the CPU reads the SCSR and the SCDR in sequence, it acquires status and  
data, and also clears the status flags. Reading the SCSR acquires status and arms  
the clearing mechanism. Reading the SCDR acquires data and clears the SCSR.  
When RIE in SCCR1 is set, an interrupt request is generated whenever RDRF is set.  
Because receiver status flags are set at the same time as RDRF, they do not have  
separate interrupt enables.  
6.4.3.7 Idle-Line Detection  
During a typical serial transmission, frames are transmitted isochronously and no idle  
time occurs between frames. Even when all the data bits in a frame are logic ones, the  
start bit provides one logic zero bit-time during the frame. An idle line is a sequence of  
contiguous ones equal to the current frame size. Frame size is determined by the state  
of the M bit in SCCR1.  
MC68331  
QUEUED SERIAL MODULE  
MOTOROLA  
6-29  
USER’S MANUAL  
 复制成功!