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

ATMEGA32L-8AUR 参数 Datasheet PDF下载

ATMEGA32L-8AUR图片预览
型号: ATMEGA32L-8AUR
PDF下载: 下载PDF文件 查看货源
内容描述: [RISC Microcontroller, 8-Bit, FLASH, AVR RISC CPU, 8MHz, CMOS, PQFP44, 10 X 10 MM, 1 MM HEIGHT, 0.80 MM PITCH, GREEN, PLASTIC, MS-026ACB, TQFP-44]
分类和应用: 闪存微控制器
文件页数/大小: 347 页 / 3171 K
品牌: ATMEL [ ATMEL ]
 浏览型号ATMEGA32L-8AUR的Datasheet PDF文件第137页浏览型号ATMEGA32L-8AUR的Datasheet PDF文件第138页浏览型号ATMEGA32L-8AUR的Datasheet PDF文件第139页浏览型号ATMEGA32L-8AUR的Datasheet PDF文件第140页浏览型号ATMEGA32L-8AUR的Datasheet PDF文件第142页浏览型号ATMEGA32L-8AUR的Datasheet PDF文件第143页浏览型号ATMEGA32L-8AUR的Datasheet PDF文件第144页浏览型号ATMEGA32L-8AUR的Datasheet PDF文件第145页  
ATmega32(L)  
The dashed boxes in the block diagram separate the three main parts of the USART  
(listed from the top): Clock Generator, Transmitter and Receiver. Control Registers are  
shared by all units. The clock generation logic consists of synchronization logic for exter-  
nal clock input used by synchronous slave operation, and the baud rate generator. The  
XCK (Transfer Clock) pin is only used by Synchronous Transfer mode. The Transmitter  
consists of a single write buffer, a serial Shift Register, parity generator and control logic  
for handling different serial frame formats. The write buffer allows a continuous transfer  
of data without any delay between frames. The Receiver is the most complex part of the  
USART module due to its clock and data recovery units. The recovery units are used for  
asynchronous data reception. In addition to the recovery units, the receiver includes a  
parity checker, control logic, a Shift Register and a two level receive buffer (UDR). The  
receiver supports the same frame formats as the transmitter, and can detect frame  
error, data overrun and parity errors.  
AVR USART vs. AVR UART –  
Compatibility  
The USART is fully compatible with the AVR UART regarding:  
Bit locations inside all USART Registers  
Baud Rate Generation  
Transmitter Operation  
Transmit Buffer Functionality  
Receiver Operation  
However, the receive buffering has two improvements that will affect the compatibility in  
some special cases:  
A second Buffer Register has been added. The two Buffer Registers operate as a  
circular FIFO buffer. Therefore the UDR must only be read once for each incoming  
data! More important is the fact that the Error Flags (FE and DOR) and the 9th data  
bit (RXB8) are buffered with the data in the receive buffer. Therefore the status bits  
must always be read before the UDR Register is read. Otherwise the error status  
will be lost since the buffer state is lost.  
The receiver Shift Register can now act as a third buffer level. This is done by  
allowing the received data to remain in the serial Shift Register (see Figure 69) if the  
Buffer Registers are full, until a new start bit is detected. The USART is therefore  
more resistant to Data OverRun (DOR) error conditions.  
The following control bits have changed name, but have same functionality and register  
location:  
CHR9 is changed to UCSZ2  
OR is changed to DOR  
Clock Generation  
The clock generation logic generates the base clock for the Transmitter and Receiver.  
The USART supports four modes of clock operation: Normal Asynchronous, Double  
Speed Asynchronous, Master Synchronous and Slave Synchronous mode. The UMSEL  
bit in USART Control and Status Register C (UCSRC) selects between asynchronous  
and synchronous operation. Double Speed (Asynchronous mode only) is controlled by  
the U2X found in the UCSRA Register. When using Synchronous mode (UMSEL = 1),  
the Data Direction Register for the XCK pin (DDR_XCK) controls whether the clock  
source is internal (Master mode) or external (Slave mode). The XCK pin is only active  
when using Synchronous mode.  
Figure 70 shows a block diagram of the clock generation logic.  
141  
2503J–AVR–10/06  
 复制成功!