参数资料
型号: AT32AP7002-CTUR
厂商: Atmel
文件页数: 56/83页
文件大小: 0K
描述: IC MCU AVR32 196-CBGA
产品培训模块: MCU Product Line Introduction
标准包装: 1
系列: AVR®32 AP7
核心处理器: AVR
芯体尺寸: 32-位
速度: 150MHz
连通性: EBI/EMI,I²C,MMC,PS2,SPI,SSC,UART/USART,USB
外围设备: AC'97,DMA,I²S,LCD,POR,PWM,WDT
输入/输出数: 85
程序存储器类型: ROMless
RAM 容量: 32K x 8
电压 - 电源 (Vcc/Vdd): 1.65 V ~ 1.95 V
数据转换器: D/A 2x16b
振荡器型: 内部
工作温度: -40°C ~ 85°C
封装/外壳: 196-TFBGA,CSBGA
包装: 标准包装
其它名称: AT32AP7002-CTURDKR
2011 Microchip Technology Inc.
DS70118J-page 51
dsPIC30F2010
7.3
Writing to the Data EEPROM
To write an EEPROM data location, the following
sequence must be followed:
1.
Erase data EEPROM word.
a)
Select word, data EEPROM, erase and set
WREN bit in NVMCON register.
b)
Write address of word to be erased into
NVMADRU/NVMADR.
c)
Enable NVM interrupt (optional).
d)
Write 0x55 to NVMKEY.
e)
Write 0xAA to NVMKEY.
f)
Set the WR bit. This will begin erase cycle.
g)
Either poll NVMIF bit or wait for NVMIF
interrupt.
h)
The WR bit is cleared when the erase cycle
ends.
2.
Write data word into data EEPROM write
latches.
3.
Program 1 data word into data EEPROM.
a)
Select word, data EEPROM, program and
set WREN bit in NVMCON register.
b)
Enable NVM write done interrupt (optional).
c)
Write 0x55 to NVMKEY.
d)
Write 0xAA to NVMKEY.
e)
Set The WR bit. This will begin program
cycle.
f)
Either poll NVMIF bit or wait for NVM
interrupt.
g)
The WR bit is cleared when the write cycle
ends.
The write will not initiate if the above sequence is not
exactly followed (write 0x55 to NVMKEY, write 0xAA to
NVMCON, then set WR bit) for each word. It is strongly
recommended that interrupts be disabled during this
code segment.
Additionally, the WREN bit in NVMCON must be set to
enable writes. This mechanism prevents accidental
writes to data EEPROM, due to unexpected code exe-
cution. The WREN bit should be kept clear at all times,
except when updating the EEPROM. The WREN bit is
not cleared by hardware.
After a write sequence has been initiated, clearing the
WREN bit will not affect the current write cycle. The WR
bit will be inhibited from being set unless the WREN bit
is set. The WREN bit must be set on a previous
instruction. Both WR and WREN cannot be set with the
same instruction.
At the completion of the write cycle, the WR bit is
cleared in hardware and the Nonvolatile Memory Write
Complete Interrupt Flag bit (NVMIF) is set. The user
may either enable this interrupt, or poll this bit. NVMIF
must be cleared by software.
7.3.1
WRITING A WORD OF DATA
EEPROM
Once the user has erased the word to be programmed,
then a table write instruction is used to write one write
latch, as shown in Example 7-4.
EXAMPLE 7-4:
DATA EEPROM WORD WRITE
; Point to data memory
MOV
#LOW_ADDR_WORD,W0
; Init pointer
MOV
#HIGH_ADDR_WORD,W1
MOV
W1,TBLPAG
MOV
#LOW(WORD),W2
; Get data
TBLWTL
W2,[ W0]
; Write data
; The NVMADR captures last table access address
; Select data EEPROM for 1 word op
MOV
#0x4004,W0
MOV
W0,NVMCON
; Operate key to allow write operation
DISI
#5
; Block all interrupts with priority <7
; for next 5 instructions
MOV
#0x55,W0
MOV
W0,NVMKEY
; Write the 0x55 key
MOV
#0xAA,W1
MOV
W1,NVMKEY
; Write the 0xAA key
BSET
NVMCON,#WR
; Initiate program sequence
NOP
; Write cycle will complete in 2mS. CPU is not stalled for the Data Write Cycle
; User can poll WR bit, use NVMIF or Timer IRQ to determine write complete
相关PDF资料
PDF描述
AT32UC3A0512-ALUT IC MCU AVR32 512KB FLASH 144LQFP
AT32UC3A3128-ALUT IC MCU 128KB FLASH 144LQFP
AT32UC3B0512AU-Z2UR IC MCU 512KB FLASH 64VQFN
AT32UC3C2512C-A2UT IC MCU AVR32 512K FLASH 64TQFP
AT32UC3C2512C-A2ZT IC MCU 32BIT 512KB FLASH 64TQFP
相关代理商/技术参数
参数描述
AT32AP7002-CTUT 功能描述:32位微控制器 - MCU 32 KB SRAM 16 KB instruct/data caches RoHS:否 制造商:Texas Instruments 核心:C28x 处理器系列:TMS320F28x 数据总线宽度:32 bit 最大时钟频率:90 MHz 程序存储器大小:64 KB 数据 RAM 大小:26 KB 片上 ADC:Yes 工作电源电压:2.97 V to 3.63 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:LQFP-80 安装风格:SMD/SMT
AT32AP7200-CFUR 功能描述:MCU AVR32 200MHZ 324-TFBGA RoHS:是 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:AVR®32 AP7 标准包装:1,500 系列:AVR® ATtiny 核心处理器:AVR 芯体尺寸:8-位 速度:16MHz 连通性:I²C,LIN,SPI,UART/USART,USI 外围设备:欠压检测/复位,POR,PWM,温度传感器,WDT 输入/输出数:16 程序存储器容量:8KB(4K x 16) 程序存储器类型:闪存 EEPROM 大小:512 x 8 RAM 容量:512 x 8 电压 - 电源 (Vcc/Vdd):2.7 V ~ 5.5 V 数据转换器:A/D 11x10b 振荡器型:内部 工作温度:-40°C ~ 125°C 封装/外壳:20-SOIC(0.295",7.50mm 宽) 包装:带卷 (TR)
AT32AP7200-CFUT 功能描述:IC MCU AVR32 AP 200MHZ 324TFBGA RoHS:是 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:AVR®32 AP7 产品培训模块:The Ultra-Low Power MSP430 MSP430 Overview MSP430 Design Tools MSP430 Peripherals MSP430x2xx/4xx and Wireless Overview Portable Medical Solutions with MSP430 MSP430 for Utility Metering Solutions MSP430: How to JTAG MSP430, How To Use the Clock System Grace Software Graphical User Interface MCU Overview Driver Library MSP430Ware Overview 标准包装:1 系列:MSP430x4xx 核心处理器:RISC 芯体尺寸:16-位 速度:8MHz 连通性:SPI,UART/USART 外围设备:欠压检测/复位,LCD,POR,PWM,WDT 输入/输出数:48 程序存储器容量:32KB(32K x 8 + 256B) 程序存储器类型:闪存 EEPROM 大小:- RAM 容量:1K x 8 电压 - 电源 (Vcc/Vdd):1.8 V ~ 3.6 V 数据转换器:A/D 8x12b 振荡器型:内部 工作温度:-40°C ~ 85°C 封装/外壳:100-LQFP 包装:Digi-Reel® 其它名称:296-26232-6
AT32AP7200-CTUR 功能描述:IC MCU AVR32 AP 200MHZ 324TFBGA RoHS:是 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:AVR®32 AP7 产品培训模块:The Ultra-Low Power MSP430 MSP430 Overview MSP430 Design Tools MSP430 Peripherals MSP430x2xx/4xx and Wireless Overview Portable Medical Solutions with MSP430 MSP430 for Utility Metering Solutions MSP430: How to JTAG MSP430, How To Use the Clock System Grace Software Graphical User Interface MCU Overview Driver Library MSP430Ware Overview 标准包装:1 系列:MSP430x4xx 核心处理器:RISC 芯体尺寸:16-位 速度:8MHz 连通性:SPI,UART/USART 外围设备:欠压检测/复位,LCD,POR,PWM,WDT 输入/输出数:48 程序存储器容量:32KB(32K x 8 + 256B) 程序存储器类型:闪存 EEPROM 大小:- RAM 容量:1K x 8 电压 - 电源 (Vcc/Vdd):1.8 V ~ 3.6 V 数据转换器:A/D 8x12b 振荡器型:内部 工作温度:-40°C ~ 85°C 封装/外壳:100-LQFP 包装:Digi-Reel® 其它名称:296-26232-6
AT32AP7200-CTUT 功能描述:IC MCU AVR32 AP 200MHZ 324TFBGA RoHS:是 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:AVR®32 AP7 产品培训模块:The Ultra-Low Power MSP430 MSP430 Overview MSP430 Design Tools MSP430 Peripherals MSP430x2xx/4xx and Wireless Overview Portable Medical Solutions with MSP430 MSP430 for Utility Metering Solutions MSP430: How to JTAG MSP430, How To Use the Clock System Grace Software Graphical User Interface MCU Overview Driver Library MSP430Ware Overview 标准包装:1 系列:MSP430x4xx 核心处理器:RISC 芯体尺寸:16-位 速度:8MHz 连通性:SPI,UART/USART 外围设备:欠压检测/复位,LCD,POR,PWM,WDT 输入/输出数:48 程序存储器容量:32KB(32K x 8 + 256B) 程序存储器类型:闪存 EEPROM 大小:- RAM 容量:1K x 8 电压 - 电源 (Vcc/Vdd):1.8 V ~ 3.6 V 数据转换器:A/D 8x12b 振荡器型:内部 工作温度:-40°C ~ 85°C 封装/外壳:100-LQFP 包装:Digi-Reel® 其它名称:296-26232-6