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

MG87FL2051AS20 参数 Datasheet PDF下载

MG87FL2051AS20图片预览
型号: MG87FL2051AS20
PDF下载: 下载PDF文件 查看货源
内容描述: 8位microcontroll [8-bits microcontroll]
分类和应用:
文件页数/大小: 56 页 / 868 K
品牌: MEGAWIN [ MEGAWIN TECHNOLOGY CO., LTD ]
 浏览型号MG87FL2051AS20的Datasheet PDF文件第26页浏览型号MG87FL2051AS20的Datasheet PDF文件第27页浏览型号MG87FL2051AS20的Datasheet PDF文件第28页浏览型号MG87FL2051AS20的Datasheet PDF文件第29页浏览型号MG87FL2051AS20的Datasheet PDF文件第31页浏览型号MG87FL2051AS20的Datasheet PDF文件第32页浏览型号MG87FL2051AS20的Datasheet PDF文件第33页浏览型号MG87FL2051AS20的Datasheet PDF文件第34页  
MG87FE/L2051/4051/6051  
MEGAWIN  
Preliminary, v 1.03  
MAKE YOU WIN  
11. UART  
The serial port(UART) of MG87FE/L2051/4051/6051 support full-duplex transmission. It can transmit and receive  
simultaneously. The serial port receive and transmit share the same SFR – SBUF, but actually there is two  
SBUFs in the chip, one is for transmit and the other is for receive. The serial port can be operated in 4 different  
modes.  
11.1. UART Structure  
Mode 0  
Serial data enters and exits through RXD(P3.0) and TXD(P3.1) outputs the shift clock. 8-bits are  
transmitted/received with LSB first. The baud rate is fixed at 1/12 the system clock frequency.  
FSYSCLK  
Baud Rate in Mode 0 =  
12  
Mode1  
10 bits are transmitted through TXD or received through RXD. The frame data includes a start bit(0), 8 data bits  
and a stop bit(1). One receive, the stop bit goes into RB8 in SFR – SCON. The baud rate is variable.  
2SMOD  
Baud Rate in Mode 1 =  
X (timer1 overflow rate)  
32  
Mode2  
11 bits are transmitted through TXD or received through RXD. The frame data includes a start bit(0), 8 data bits, a  
programmable 9th bit and a stop bit(1). On transmit, the 9th data bit comes from TB8 in SCON. On receive, the  
9th data bit goes into RB8 in SCON. The baud rate is programmable to either 1/32 or 1/64 the system clock  
frequency.  
Mode3  
Mode 3 is the same as mode 2 except the baud rate is variable.  
2SMOD  
Baud Rate in Mode 3 =  
X (timer1 overflow rate)  
32  
In all four modes, transmission is initiated by any instruction that use SBUF as a destination register. Reception is  
initiated in mode 0 by the condition RI = 0 and REN = 1. Reception is initiated in the other modes by the incoming  
start bit with 1-to-0 transition if REN=1.  
This document information is the intellectual property of Megawin Technology.  
© Megawin Technology Co., Ltd. 2009 All rights reserved.  
QP-7300-03D  
30/56