参数资料
型号: AT90PWM1-16MUR
厂商: Atmel
文件页数: 17/90页
文件大小: 0K
描述: MCU AVR 8K ISP FLASH 16MHZ 32QFN
产品培训模块: megaAVR Introduction
标准包装: 1
系列: AVR® 90PWM 照明
核心处理器: AVR
芯体尺寸: 8-位
速度: 16MHz
连通性: SPI
外围设备: 欠压检测/复位,POR,PWM,WDT
输入/输出数: 19
程序存储器容量: 8KB(8K x 8)
程序存储器类型: 闪存
EEPROM 大小: 512 x 8
RAM 容量: 512 x 8
电压 - 电源 (Vcc/Vdd): 2.7 V ~ 5.5 V
数据转换器: A/D 8x10b
振荡器型: 内部
工作温度: -40°C ~ 105°C
封装/外壳: 32-VQFN 裸露焊盘
包装: 剪切带 (CT)
其它名称: AT90PWM1-16MURCT
24
4378C–AVR–09/08
AT90PWM1
The next code examples show assembly and C functions for reading the EEPROM. The exam-
ples assume that interrupts are controlled so that no interrupts will occur during execution of
these functions.
6.3.5
Preventing EEPROM Corruption
During periods of low VCC, the EEPROM data can be corrupted because the supply voltage is
too low for the CPU and the EEPROM to operate properly. These issues are the same as for
board level systems using EEPROM, and the same design solutions should be applied.
An EEPROM data corruption can be caused by two situations when the voltage is too low. First,
a regular write sequence to the EEPROM requires a minimum voltage to operate correctly. Sec-
ondly, the CPU itself can execute instructions incorrectly, if the supply voltage is too low.
EEPROM data corruption can easily be avoided by following this design recommendation:
Keep the AVR RESET active (low) during periods of insufficient power supply voltage. This can
be done by enabling the internal Brown-out Detector (BOD). If the detection level of the internal
BOD does not match the needed detection level, an external low VCC reset Protection circuit can
be used. If a reset occurs while a write operation is in progress, the write operation will be com-
pleted provided that the power supply voltage is sufficient.
TABLE 2.
Assembly Code Example
EEPROM_read:
; Wait for completion of previous write
sbic
EECR,EEWE
rjmp
EEPROM_read
; Set up address (r18:r17) in address register
out
EEARH, r18
out
EEARL, r17
; Start eeprom read by writing EERE
sbi
EECR,EERE
; Read data from data register
in
r16,EEDR
ret
C Code Example
unsigned char
EEPROM_read(unsigned int uiAddress)
{
/* Wait for completion of previous write */
while(EECR & (1<<EEWE))
;
/* Set up address register */
EEAR = uiAddress;
/* Start eeprom read by writing EERE */
EECR |= (1<<EERE);
/* Return data from data register */
return EEDR;
}
相关PDF资料
PDF描述
AT90S1200A-4SC MCU 1K FLASH 4MHZ LV 20-SOIC
AT90S2313-10PC IC MCU 2K FLSH 10MHZ UART 20DIP
AT90S4433-8AC IC MCU 4K FLSH 8MHZ A/D 32TQFP
AT90S8515A-8PC IC MCU 8K FLSH 8MHZ 40DIP
AT90S8535-8PI IC MCU 8K FLSH 8MHZ A/D IT 40DIP
相关代理商/技术参数
参数描述
AT90PWM1-16SE 制造商:Atmel Corporation 功能描述:
AT90PWM1-16SU 功能描述:8位微控制器 -MCU AVR 8Kflash 2PSC No DALI 16MHz RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
AT90PWM161-16MN 功能描述:8位微控制器 -MCU 16 MHz, QFN, 105oC, Green, RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
AT90PWM161-16MNR 功能描述:8位微控制器 -MCU 16 MHz, QFN, 105oC, Green, T&R RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
AT90PWM161-16SN 功能描述:8位微控制器 -MCU 16 MHz, SOIC, 105oC, Green RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT