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

ATMEGA64A-AU 参数 Datasheet PDF下载

ATMEGA64A-AU图片预览
型号: ATMEGA64A-AU
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器,带有64K字节的系统内可编程闪存 [8-bit Microcontroller with 64K Bytes In-System Programmable Flash]
分类和应用: 闪存微控制器
文件页数/大小: 392 页 / 7964 K
品牌: ATMEL [ ATMEL ]
 浏览型号ATMEGA64A-AU的Datasheet PDF文件第172页浏览型号ATMEGA64A-AU的Datasheet PDF文件第173页浏览型号ATMEGA64A-AU的Datasheet PDF文件第174页浏览型号ATMEGA64A-AU的Datasheet PDF文件第175页浏览型号ATMEGA64A-AU的Datasheet PDF文件第177页浏览型号ATMEGA64A-AU的Datasheet PDF文件第178页浏览型号ATMEGA64A-AU的Datasheet PDF文件第179页浏览型号ATMEGA64A-AU的Datasheet PDF文件第180页  
ATmega64A  
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 UDRn must only be read once for each incoming data! More important  
is the fact that the error flags (FEn and DORn) and the ninth data bit (RXB8n) are buffered  
with the data in the receive buffer. Therefore the status bits must always be read before the  
UDRn 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 20-1) if the buffer registers are  
full, until a new start bit is detected. The USART is therefore more resistant to Data Over Run  
(DORn) error conditions.  
The following control bits have changed name, but have same functionality and register location:  
• CHR9 is changed to UCSZn2.  
• OR is changed to DORn.  
20.3 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 UMSELn bit in USART  
Control and Status Register n C (UCSRnC) selects between asynchronous and synchronous  
operation. Double Speed (asynchronous mode only) is controlled by the U2Xn found in the  
UCSRnB Register. When using synchronous mode (UMSELn = 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 20-2 shows a block diagram of the Clock Generation logic.  
Figure 20-2. 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:  
txclk  
Transmitter clock (Internal Signal).  
Receiver base clock (Internal Signal).  
rxclk  
xcki  
Input from XCK pin (internal Signal). Used for synchronous slave  
operation.  
176  
8160C–AVR–07/09  
 复制成功!