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

MC68331CPV16 参数 Datasheet PDF下载

MC68331CPV16图片预览
型号: MC68331CPV16
PDF下载: 下载PDF文件 查看货源
内容描述: 用户手册 [User’s Manual]
分类和应用: 微控制器和处理器外围集成电路时钟
文件页数/大小: 254 页 / 1319 K
品牌: MOTOROLA [ MOTOROLA ]
 浏览型号MC68331CPV16的Datasheet PDF文件第152页浏览型号MC68331CPV16的Datasheet PDF文件第153页浏览型号MC68331CPV16的Datasheet PDF文件第154页浏览型号MC68331CPV16的Datasheet PDF文件第155页浏览型号MC68331CPV16的Datasheet PDF文件第157页浏览型号MC68331CPV16的Datasheet PDF文件第158页浏览型号MC68331CPV16的Datasheet PDF文件第159页浏览型号MC68331CPV16的Datasheet PDF文件第160页  
The SCI receiver has both short and long idle-line detection capability. Idle-line detec-  
tion is always enabled. The idle line type (ILT) bit in SCCR1 determines which type of  
detection is used. When an idle line condition is detected, the IDLE flag in SCSR is set.  
For short idle-line detection, the receiver bit processor counts contiguous logic one bit-  
times whenever they occur. Short detection provides the earliest possible recognition  
of an idle line condition, because the stop bit and contiguous logic ones before and  
after it are counted. For long idle-line detection, the receiver counts logic ones after  
the stop bit is received. Only a complete idle frame causes the IDLE flag to be set.  
In some applications, CPU overhead can cause a bit-time of logic level one to occur  
between frames. This bit-time does not affect content, but if it occurs after a frame of  
ones when short detection is enabled, the receiver flags an idle line.  
When the idle line interrupt enable (ILIE) bit in SCCR1 is set, an interrupt request is  
generated when the IDLE flag is set. The flag is cleared by reading SCSR and SCDR  
in sequence. IDLE is not set again until after at least one frame has been received  
(RDRF = 1). This prevents an extended idle interval from causing more than one in-  
terrupt.  
6
6.4.3.8 Receiver Wakeup  
The receiver wakeup function allows a transmitting device to direct a transmission to  
a single receiver or to a group of receivers by sending an address frame at the start of  
a message. Hardware activates each receiver in a system under certain conditions.  
Resident software must process address information and enable or disable receiver  
operation.  
A receiver is placed in wakeup mode by setting the receiver wakeup (RWU) bit in  
SCCR1. While RWU is set, receiver status flags and interrupts are disabled. Although  
the CPU can clear RWU, it is normally cleared by hardware during wakeup.  
The WAKE bit in SCCR1 determines which type of wakeup is used. When WAKE = 0,  
idle-line wakeup is selected. When WAKE = 1, address-mark wakeup is selected. Both  
types require a software-based device addressing and recognition scheme.  
Idle-line wakeup allows a receiver to sleep until an idle line is detected. When an idle-  
line is detected, the receiver clears RWU and wakes up. The receiver waits for the first  
frame of the next transmission. The byte is received normally, transferred to register  
RDR, and the RDRF flag is set. If software does not recognize the address, it can set  
RWU and put the receiver back to sleep. For idle-line wakeup to work, there must be  
a minimum of one frame of idle line between transmissions. There must be no idle time  
between frames within a transmission.  
Address-mark wakeup uses a special frame format to wake up the receiver. When the  
MSB of an address-mark frame is set, that frame contains address information. The  
first frame of each transmission must be an address frame. When the MSB of a frame  
is set, the receiver clears RWU and wakes up. The byte is received normally, trans-  
ferred to register RDR, and the RDRF flag is set. If software does not recognize the  
address, it can set RWU and put the receiver back to sleep. Address-mark wakeup al-  
MOTOROLA  
6-30  
QUEUED SERIAL MODULE  
MC68331  
USER’S MANUAL