参数资料
型号: ADUC836BSZ
厂商: Analog Devices Inc
文件页数: 54/80页
文件大小: 0K
描述: IC ADC DUAL 16BIT W/MCU 52-MQFP
产品培训模块: Process Control
标准包装: 1
系列: MicroConverter® ADuC8xx
核心处理器: 8052
芯体尺寸: 8-位
速度: 12.58MHz
连通性: EBI/EMI,I²C,SPI,UART/USART
外围设备: POR,PSM,PWM,温度传感器,WDT
输入/输出数: 34
程序存储器容量: 62KB(62K x 8)
程序存储器类型: 闪存
EEPROM 大小: 4K x 8
RAM 容量: 2.25K x 8
电压 - 电源 (Vcc/Vdd): 2.7 V ~ 5.25 V
数据转换器: A/D 7x16b; D/A 1x12b
振荡器型: 内部
工作温度: -40°C ~ 125°C
封装/外壳: 52-QFP
包装: 托盘
产品目录页面: 738 (CN2011-ZH PDF)
ADuC836
–58–
ADuC836
–59–
Mode 1: 8-Bit UART,Variable Baud Rate
Mode 1 is selected by clearing SM0 and setting SM1. Each data
byte (LSB first) is preceded by a start bit (0) and followed by a
stop bit (1).Therefore 10 bits are transmitted on TxD or received
on RxD.The baud rate can be set by Timer 1 or Timer 2 (or both).
Alternatively, a dedicated baud rate generator,Timer 3, is pro-
vided on-chip to generate high speed, very accurate baud rates.
Transmission is initiated by writing to SBUF.The “write to
SBUF” signal also loads a 1 (stop bit) into the ninth bit position
of the Transmit Shift Register.The data is output bit by bit until
the stop bit appears on TxD and the transmit interrupt flag (TI)
is automatically set, as shown in Figure 55.
TxD
TI
(SCON.1)
START
BIT D0
D1
D2
D3
D4
D5
D6
D7
STOP BIT
SET INTERRUPT
i.e., READY FOR MORE
DATA
Figure 55. UART Serial PortTransmission, Mode 0
Reception is initiated when a 1-to-0 transition is detected on
RxD. Assuming a valid start bit was detected, character reception
continues.The start bit is skipped and the eight data bits are
clocked into the serial port shift register.When all eight bits have
been clocked in, the following events occur:
The eight bits in the Receive Shift Register are latched into
SBUF.
The ninth bit (stop bit) is clocked into RB8 in SCON.
The Receiver Interrupt flag (RI) is set.
If, and only if, the following conditions are met at the time, the
final shift pulse is generated:
RI = 0, and
Either SM2 = 0, or SM2 = 1 and the Received Stop Bit = 1.
If either of these conditions is not met, the received frame is
irretrievably lost and RI is not set.
Mode 2: 9-Bit UART with Fixed Baud Rate
Mode 2 is selected by setting SM0 and clearing SM1. In this mode,
the UART operates in 9-bit mode with a fixed baud rate.The baud
rate is fixed at Core_Clk/64 by default, although by setting the
SMOD bit in PCON, the frequency can be doubled to Core_Clk/32.
Eleven bits are transmitted or received, a start bit (0), eight data
bits, a programmable ninth bit, and a stop bit (1).The ninth bit
is most often used as a parity bit, although it can be used for any-
thing, including a ninth data bit if required.
*fCORE refers to the output of the PLL as described in the On-Chip PLL section.
To transmit, the eight data bits must be written into SBUF.The
ninth bit must be written to TB8 in SCON.When transmission
is initiated, the eight data bits (from SBUF) are loaded onto the
transmit shift register (LSB first).The contents of TB8 are loaded
into the ninth bit position of the transmit shift register.
The transmission will start at the next valid baud rate clock.The
TI flag is set as soon as the stop bit appears on TxD.
Reception for Mode 2 is similar to that of Mode 1.The eight data
bytes are input at RxD (LSB first) and loaded onto the Receive
Shift Register.When all eight bits have been clocked in, the fol-
lowing events occur:
The eight bits in the Receive Shift Register are latched into
SBUF.
The ninth data bit is latched into RB8 in SCON.
The Receiver Interrupt flag (RI) is set.
If, and only if, the following conditions are met at the time the
final shift pulse is generated:
RI = 0, and
Either SM2 = 0, or SM2 = 1 and the received stop bit = 1.
If either of these conditions is not met, the received frame is
irretrievably lost and RI is not set.
Mode 3: 9-Bit UART with Variable Baud Rate
Mode 3 is selected by setting both SM0 and SM1. In this mode,
the 8051 UART serial port operates in 9-bit mode with a variable
baud rate determined by either Timer 1 or Timer 2.The operation
of the 9-bit UART is the same as for Mode 2, but the baud rate
can be varied as for Mode 1.
In all four modes, transmission is initiated by any instruction
that uses SBUF as a destination register. Reception is initiated in
Mode 0 by the condition RI = 0 and REN = 1. Reception is initi-
ated in the other modes by the incoming start bit if REN = 1.
UART Serial Port Baud Rate Generation
Mode 0 Baud Rate Generation
The baud rate in Mode 0 is fixed:
Mode 0 Baud Rate
fCORE
=
*
12
Mode 2 Baud Rate Generation
The baud rate in Mode 2 depends on the value of the SMOD bit
in the PCON SFR. If SMOD = 0, the baud rate is 1/64 of the
core clock. If SMOD = 1, the baud rate is 1/32 of the core clock:
Mode 2 Baud Rate
fCORE
SMOD
=
×
*
2
64
Mode 1 and 3 Baud Rate Generation
Traditionally, the baud rates in Modes 1 and 3 are determined by
the overflow rate in Timer 1 or Timer 2, or both (one for transmit
and the other for receive). On the ADuC836, however, the baud
rate can also be generated via a separate baud rate generator to
achieve higher baud rates and allow all three to be used for other
functions.
REV. A
相关PDF资料
PDF描述
ADUC841BSZ62-5 IC ADC/DAC 12BIT W/MCU 52-MQFP
VJ1825Y103JBGAT4X CAP CER 10000PF 1KV 5% X7R 1825
SCRU-01 CONN RCPT IP68 USB A PNL MNT
VJ1825Y153JBGAT4X CAP CER 0.015UF 1KV 5% X7R 1825
VJ1825Y223JBGAT4X CAP CER 0.022UF 1KV 5% X7R 1825
相关代理商/技术参数
参数描述
ADUC841 制造商:AD 制造商全称:Analog Devices 功能描述:MicroConverter 12-Bit ADCs and DACs with Embedded High Speed 62-kB Flash MCU
ADUC841BCP32-5 制造商:Analog Devices 功能描述:MICROCONVERTER 1-CYCLE VERSION ADUC829 - Trays
ADUC841BCP62-3 制造商:Analog Devices 功能描述:MCU 8-Bit ADuC8xx 8052 CISC 62KB Flash 3V 56-Pin LFCSP EP 制造商:Rochester Electronics LLC 功能描述:8BIT CISC 62KB FLASH 20MHZ 3.3V 56LFCSP - Bulk
ADUC841BCP62-5 制造商:Analog Devices 功能描述:MCU 8-Bit ADuC8xx 8052 CISC 62KB Flash 5V 56-Pin LFCSP EP
ADUC841BCP8-3 制造商:Analog Devices 功能描述:MCU 8-bit ADuC8xx 8052 CISC 62KB Flash 3V 56-Pin LFCSP EP 制造商:Rochester Electronics LLC 功能描述:8BIT CISC 62KB FLASH 20MHZ 3.3V 56LFCSP - Bulk