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

ATMEGA128L-8AL 参数 Datasheet PDF下载

ATMEGA128L-8AL图片预览
型号: ATMEGA128L-8AL
PDF下载: 下载PDF文件 查看货源
内容描述: [RISC Microcontroller, 8-Bit, FLASH, 8MHz, CMOS, PQFP64, 14 X 14 MM, 1 MM HEIGHT, 0.80 MM PITCH, PLASTIC, MS-026AEB, TQFP-64]
分类和应用: 时钟微控制器外围集成电路
文件页数/大小: 391 页 / 6192 K
品牌: ATMEL [ ATMEL ]
 浏览型号ATMEGA128L-8AL的Datasheet PDF文件第169页浏览型号ATMEGA128L-8AL的Datasheet PDF文件第170页浏览型号ATMEGA128L-8AL的Datasheet PDF文件第171页浏览型号ATMEGA128L-8AL的Datasheet PDF文件第172页浏览型号ATMEGA128L-8AL的Datasheet PDF文件第174页浏览型号ATMEGA128L-8AL的Datasheet PDF文件第175页浏览型号ATMEGA128L-8AL的Datasheet PDF文件第176页浏览型号ATMEGA128L-8AL的Datasheet PDF文件第177页  
ATmega128(L)  
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 ninth 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 79) 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 Asyn-  
chronous, Master Synchronous, and Slave Synchronous mode. The UMSEL bit in USART  
Control and Status Register C (UCSRC) selects between asynchronous and synchronous oper-  
ation. 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 80 shows a block diagram of the clock generation logic.  
Figure 80. Clock Generation Logic, Block Diagram  
UBRR  
U2X  
fosc  
UBRR+1  
Prescaling  
Down-Counter  
/ 2  
/ 4  
/ 2  
0
1
0
1
OSC  
txclk  
UMSEL  
rxclk  
DDR_XCK  
Sync  
Register  
Edge  
Detector  
xcki  
0
1
XCK  
Pin  
xcko  
DDR_XCK  
UCPOL  
1
0
Signal description:  
173  
2467P–AVR–08/07  
 复制成功!