参数资料
型号: MB95F262KPF-G-SNE2
厂商: Fujitsu Semiconductor America Inc
文件页数: 42/87页
文件大小: 0K
描述: IC MCU 8BIT 8KB FLASH 20SOP
标准包装: 1,400
系列: 8FX MB95260H
核心处理器: F²MC-8FX
芯体尺寸: 8-位
速度: 16MHz
连通性: LIN,SIO,UART/USART
外围设备: LVD,POR,PWM,WDT
输入/输出数: 16
程序存储器容量: 8KB(8K x 8)
程序存储器类型: 闪存
RAM 容量: 240 x 8
电压 - 电源 (Vcc/Vdd): 2.4 V ~ 5.5 V
数据转换器: A/D 6x8/10b
振荡器型: 外部
工作温度: -40°C ~ 85°C
封装/外壳: 20-SOIC(0.295",7.50mm 宽)
包装: 托盘
其它名称: 865-1209
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描述
VE-B5T-IX-F3 CONVERTER MOD DC/DC 6.5V 75W
MB95F284KPF-G-SNE1 IC MCU 8BIT 20KB FLASH 16SOP
ATTINY44A-SSN IC MCU AVR 4KB FLASH 20MHZ 14SOI
VE-B5R-IX-F3 CONVERTER MOD DC/DC 7.5V 75W
MB95F282KPF-G-SNE1 IC MCU 8BIT 8KB FLASH 16SOP
相关代理商/技术参数
参数描述
MB95F263KPF-G-SNE2 功能描述:IC MCU 8BIT 12KB FLASH 20SOP RoHS:是 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:8FX MB95260H 标准包装:250 系列:LPC11Uxx 核心处理器:ARM? Cortex?-M0 芯体尺寸:32-位 速度:50MHz 连通性:I²C,Microwire,SPI,SSI,SSP,UART/USART,USB 外围设备:欠压检测/复位,POR,WDT 输入/输出数:40 程序存储器容量:96KB(96K x 8) 程序存储器类型:闪存 EEPROM 大小:4K x 8 RAM 容量:10K x 8 电压 - 电源 (Vcc/Vdd):1.8 V ~ 3.6 V 数据转换器:A/D 8x10b 振荡器型:内部 工作温度:-40°C ~ 85°C 封装/外壳:48-LQFP 包装:托盘 其它名称:568-9587
MB95F264KPF-ES-SNE2 制造商:FUJITSU 功能描述:
MB95F264KPF-G-SNE2 功能描述:IC MCU 8BIT 20KB FLASH 20SOP RoHS:是 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:8FX MB95260H 标准包装:250 系列:LPC11Uxx 核心处理器:ARM? Cortex?-M0 芯体尺寸:32-位 速度:50MHz 连通性:I²C,Microwire,SPI,SSI,SSP,UART/USART,USB 外围设备:欠压检测/复位,POR,WDT 输入/输出数:40 程序存储器容量:96KB(96K x 8) 程序存储器类型:闪存 EEPROM 大小:4K x 8 RAM 容量:10K x 8 电压 - 电源 (Vcc/Vdd):1.8 V ~ 3.6 V 数据转换器:A/D 8x10b 振荡器型:内部 工作温度:-40°C ~ 85°C 封装/外壳:48-LQFP 包装:托盘 其它名称:568-9587
MB95F272KPF-G-SNE2 功能描述:IC MCU 8BIT 8KB FLASH 8SOP RoHS:是 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:8FX MB95270H 标准包装:250 系列:LPC11Uxx 核心处理器:ARM? Cortex?-M0 芯体尺寸:32-位 速度:50MHz 连通性:I²C,Microwire,SPI,SSI,SSP,UART/USART,USB 外围设备:欠压检测/复位,POR,WDT 输入/输出数:40 程序存储器容量:96KB(96K x 8) 程序存储器类型:闪存 EEPROM 大小:4K x 8 RAM 容量:10K x 8 电压 - 电源 (Vcc/Vdd):1.8 V ~ 3.6 V 数据转换器:A/D 8x10b 振荡器型:内部 工作温度:-40°C ~ 85°C 封装/外壳:48-LQFP 包装:托盘 其它名称:568-9587
MB95F273KPF-G-SNE2 功能描述:IC MCU 8BIT 12KB FLASH 8SOP RoHS:是 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:8FX MB95270H 标准包装:250 系列:LPC11Uxx 核心处理器:ARM? Cortex?-M0 芯体尺寸:32-位 速度:50MHz 连通性:I²C,Microwire,SPI,SSI,SSP,UART/USART,USB 外围设备:欠压检测/复位,POR,WDT 输入/输出数:40 程序存储器容量:96KB(96K x 8) 程序存储器类型:闪存 EEPROM 大小:4K x 8 RAM 容量:10K x 8 电压 - 电源 (Vcc/Vdd):1.8 V ~ 3.6 V 数据转换器:A/D 8x10b 振荡器型:内部 工作温度:-40°C ~ 85°C 封装/外壳:48-LQFP 包装:托盘 其它名称:568-9587