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

ATMEGA16M1-15AZ 参数 Datasheet PDF下载

ATMEGA16M1-15AZ图片预览
型号: ATMEGA16M1-15AZ
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器,带有16K / 32K / 64K字节的系统内可编程闪存 [8-bit Microcontroller with 16K/32K/64K Bytes In-System Programmable Flash]
分类和应用: 闪存微控制器
文件页数/大小: 27 页 / 1072 K
品牌: ATMEL [ ATMEL ]
 浏览型号ATMEGA16M1-15AZ的Datasheet PDF文件第16页浏览型号ATMEGA16M1-15AZ的Datasheet PDF文件第17页浏览型号ATMEGA16M1-15AZ的Datasheet PDF文件第18页浏览型号ATMEGA16M1-15AZ的Datasheet PDF文件第19页浏览型号ATMEGA16M1-15AZ的Datasheet PDF文件第21页浏览型号ATMEGA16M1-15AZ的Datasheet PDF文件第22页浏览型号ATMEGA16M1-15AZ的Datasheet PDF文件第23页浏览型号ATMEGA16M1-15AZ的Datasheet PDF文件第24页  
5.1.4  
Errata Description  
1. Inopportune reset of the CANIDM registers  
After the reception of a CAN frame in a MOb, the ID mask registers are reset.  
Problem fix / workaround  
Before enabling a MOb in reception, re-initialize the ID mask registers - CANIDM[4..1].  
2. The AMPCMPx bits return 0  
When they are read the AMPCMPx bits in AMPxCSR registers return 0.  
Problem fix / workaround  
If the reading of the AMPCMPx bits is required, store the AMPCMPx value in a variable  
in memory before writing in the AMPxCSR register and read the variable when  
necessary.  
3. No comparison when amplifier is used as comparator input and ADC input  
When it is selected as ADC input, an amplifier receives no clock signal when the ADC is  
stopped. In that case, if the amplifier is also used as comparator input, no analog signal  
is propagated and no comparison is done.  
Problem fix / workaround  
Select another ADC channel rather than the working amplified channel.  
4. CRC calculation of diagnostic frames in LIN 2.x.  
Diagnostic frames of LIN 2.x use “classic checksum” calculation. Unfortunately, the set-  
ting of the checksum model is enabled when the HEADER is transmitted/received.  
Usually, in LIN 2.x the LIN/UART controller is initialized to process “enhanced check-  
sums” and a slave task does not know what kind of frame it will work on before  
checking the ID.  
Problem fix / workaround  
This workaround is to be implemented only in case of transmission/reception of diag-  
nostics frames.  
a. Slave task of master node:  
Before enabling the HEADER, the master must set the appropriate LIN13 bitvalue  
in LINCR register.  
b. For slaves nodes, the workaround is in 2 parts:  
– Before enabling the RESPONSE, use the following function:  
void lin_wa_head(void) {  
unsigned char temp;  
temp = LINBTR;  
LINCR = 0x00;  
// It is not a RESET !  
LINBTR = (1<<LDISR)|temp;  
LINCR = (1<<LIN13)|(1<<LENA)|(0<<LCMD2)|(0<<LCMD1)|(0<<LCMD0);  
LINDLR = 0x88;  
// If it isn't already done  
}
– Once the RESPONSE is received or sent (having RxOK or TxOK as well as  
LERR), use the following function:  
void lin_wa_tail(void)  
LINCR = 0x00;  
{
// It is not a RESET !  
LINBTR = 0x00;  
LINCR = (0<<LIN13)|(1<<LENA)|(0<<LCMD2)|(0<<LCMD1)|(0<<LCMD0);  
}
The time-out counter is disabled during the RESPONSE when the workaround is set.  
20  
Atmel ATmega16/32/64/M1/C1  
7647ES–AVR–07/12