參數(shù)資料
型號: ADUC843BCPZ8-5
廠商: Analog Devices Inc
文件頁數(shù): 29/88頁
文件大?。?/td> 0K
描述: IC MCU FLASH 12BIT ADC 56LFCSP
標準包裝: 1
系列: MicroConverter® ADuC8xx
核心處理器: 8052
芯體尺寸: 8-位
速度: 16.78MHz
連通性: I²C,SPI,UART/USART
外圍設備: DMA,PSM,PWM,溫度傳感器,WDT
輸入/輸出數(shù): 32
程序存儲器容量: 8KB(8K x 8)
程序存儲器類型: 閃存
RAM 容量: 2.25K x 8
電壓 - 電源 (Vcc/Vdd): 4.75 V ~ 5.25 V
數(shù)據(jù)轉換器: A/D 8x12b
振蕩器型: 內(nèi)部
工作溫度: -40°C ~ 85°C
封裝/外殼: 56-VFQFN 裸露焊盤,CSP
包裝: 托盤
ADuC841/ADuC842/ADuC843
Rev. 0 | Page 35 of 88
Example: Programming the Flash/EE Data Memory
A user wants to program F3H into the second byte on Page 03H
of the Flash/EE data memory space while preserving the other
3 bytes already in this page. A typical program of the Flash/EE
data array involves
1.
Setting EADRH/L with the page address.
2.
Writing the data to be programmed to the EDATA1–4.
3.
Writing the ECON SFR with the appropriate command.
Step 1: Set Up the Page Address
Address registers EADRH and EADRL hold the high byte
address and the low byte address of the page to be addressed.
The assembly language to set up the address may appear as
MOV EADRH,#0
; Set Page Address Pointer
MOV EADRL,#03H
Step 2: Set Up the EDATA Registers
Write the four values to be written into the page into the four
SFRs, EDATA1–4. Unfortunately, the user does not know three
of them. Thus, the user must read the current page and over-
write the second byte.
MOV ECON,#1
; Read Page into EDATA1-4
MOV EDATA2,#0F3H
; Overwrite byte 2
Step 3: Program Page
A byte in the Flash/EE array can be programmed only if it has
previously been erased. To be more specific, a byte can be
programmed only if it already holds the value FFH. Because of
the Flash/EE architecture, this erase must happen at a page level;
therefore, a minimum of 4 bytes (1 page) are erased when an
erase command is initiated. Once the page is erase, the user can
program the 4 bytes in-page and then perform a verification of
the data.
MOV ECON,#5
; ERASE Page
MOV ECON,#2
; WRITE Page
MOV ECON,#4
; VERIFY Page
MOV A,ECON
; Check if ECON=0 (OK!)
JNZ ERROR
Although the 4 kBytes of Flash/EE data memory are shipped
from the factory pre-erased, i.e., byte locations set to FFH, it is
nonetheless good programming practice to include an
ERASEALL routine as part of any configuration/setup code
running on the parts. An ERASEALL command consists of
writing 06H to the ECON SFR, which initiates an erase of the
4-kByte Flash/EE array. This command coded in 8051 assembly
would appear as
MOV ECON,#06H
; Erase all Command
; 2 ms Duration
Flash/EE Memory Timing
Typical program and erase times for the parts are as follows:
Normal Mode (operating on Flash/EE data memory)
READPAGE (4 bytes)
22 machine cycles
WRITEPAGE (4 bytes)
380 s
VERIFYPAGE (4 bytes)
22 machine cycles
ERASEPAGE (4 bytes)
2 ms
ERASEALL (4 kBytes)
2 ms
READBYTE (1 byte)
9 machine cycles
WRITEBYTE (1 byte)
200 s
ULOAD Mode (operating on Flash/EE program memory)
WRITEPAGE (256 bytes)
16.5 ms
ERASEPAGE (64 bytes)
2 ms
ERASEALL (56 kBytes)
2 ms
WRITEBYTE (1 byte)
200 s
Note that a given mode of operation is initiated as soon as the
command word is written to the ECON SFR. The core micro-
controller operation on the parts is idled until the requested
program/read or erase mode is completed. In practice, this
means that even though the Flash/EE memory mode of operation
is typically initiated with a two machine cycle MOV instruction
(to write to the ECON SFR), the next instruction is not executed
until the Flash/EE operation is complete. This means that the
core cannot respond to interrupt requests until the Flash/EE
operation is complete, although the core peripheral functions
like counter/timers continue to count and time as configured
throughout this period.
相關PDF資料
PDF描述
VI-BTF-IW CONVERTER MOD DC/DC 72V 100W
VI-BT4-IX CONVERTER MOD DC/DC 48V 75W
ADUC7020BCPZ62-RL7 IC MCU 12BIT 1MSPS UART 40-LFCSP
ADUC7020BCPZ62IRL7 IC MCU 12BIT 1MSPS I2C 40-LFCSP
ADUC7032BSTZ-88-RL IC MCU 96K FLASH DUAL 48LQFP
相關代理商/技術參數(shù)
參數(shù)描述
ADUC843BS62-3 制造商:Analog Devices 功能描述:MCU 8-Bit ADuC8xx 8052 CISC 62KB Flash 3V 52-Pin MQFP
ADUC843BS62-5 制造商:Analog Devices 功能描述:IC MICROCONTROLLER
ADUC843BSZ62-3 功能描述:IC ADC 12BIT W/FLASH MCU 52-MQFP RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:MicroConverter® ADuC8xx 標準包裝:250 系列:LPC11Uxx 核心處理器:ARM? Cortex?-M0 芯體尺寸:32-位 速度:50MHz 連通性:I²C,Microwire,SPI,SSI,SSP,UART/USART,USB 外圍設備:欠壓檢測/復位,POR,WDT 輸入/輸出數(shù):40 程序存儲器容量:96KB(96K x 8) 程序存儲器類型:閃存 EEPROM 大小:4K x 8 RAM 容量:10K x 8 電壓 - 電源 (Vcc/Vdd):1.8 V ~ 3.6 V 數(shù)據(jù)轉換器:A/D 8x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:48-LQFP 包裝:托盤 其它名稱:568-9587
ADUC843BSZ62-5 功能描述:IC ADC 12BIT W/FLASH MCU 52-MQFP RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:MicroConverter® ADuC8xx 標準包裝:60 系列:PSOC® 3 CY8C38xx 核心處理器:8051 芯體尺寸:8-位 速度:67MHz 連通性:EBI/EMI,I²C,LIN,SPI,UART/USART 外圍設備:電容感應,DMA,LCD,POR,PWM,WDT 輸入/輸出數(shù):25 程序存儲器容量:64KB(64K x 8) 程序存儲器類型:閃存 EEPROM 大小:2K x 8 RAM 容量:8K x 8 電壓 - 電源 (Vcc/Vdd):1.71 V ~ 5.5 V 數(shù)據(jù)轉換器:A/D 2x20b,D/A 4x8b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:48-VFQFN 裸露焊盤 包裝:托盤
ADUC844 制造商:AD 制造商全稱:Analog Devices 功能描述:MicroConverter, Dual 16-Bit/24-Bit ADCs with Embedded 62kB FLASH MCU