參數(shù)資料
型號(hào): ADUC834BS
廠商: ANALOG DEVICES INC
元件分類: 微控制器/微處理器
英文描述: MicroConverter, Dual 16-/24- Bit ADCs with Embedded 62KB FLASH MCU
中文描述: 8-BIT, FLASH, 12.58 MHz, MICROCONTROLLER, PQFP52
封裝: 14 X 14 MM, MO-022-AC-1, MQFP-52
文件頁(yè)數(shù): 40/72頁(yè)
文件大小: 1451K
代理商: ADUC834BS
(12 March 2002) REV.
P
rC
ADuC834
40
PRELIMINARY TECHNICAL DATA
E xample: Programming the flash/E E data memory
A user wishes to write F3H into the second byte on Page 03H of
the Flash/EE Data Memory space while preserving the other three
bytes already in this page.
A typical access to the Flash/EE Data array will involve setting
up the page address of the page to be accessed in the EADRH/
L SFRs, configuring the EDAT A1
4 SFRs with data to be pro-
grammed to the array (the EDAT A SFRs will not be written for
read accesses) and finally, writing the ECON command word
which initiates one of the nine modes shown in T able X IV.
Step 1: Set up the page address:
T he two address registers EADRH and EADRL hold the high
byte address and the low byte address of the page to be ad-
dressed.
T o set the address up in assembly language would appear as
follows.
MOV EADRH,#0
; Set Page Address Pointer
MOV EADRL,#03H
Step 2: Set up the E DAT A registers:
We must now write the 4 values to be written into the page
into the 4 SFRs EDAT A1-4. Unfortunately we do not know 3
of them. Hence we must read the current page and overwrite
the second byte.
MOV ECON,#1
MOV EDATA2,#0F3H ; Overwrite byte 2
Step 3:Program Page:
A byte in the Flash/EE array can only be programmed if it has
previously been erased. T o be more specific, a byte can only be
programmed if it already holds the value FFH. Because of the
Flash/EE architecture, this erasure must happen at a page level;
therefore, a minimum of four bytes (1 page) will be erased
when an erase command is initiated. Once the page is erased
we can program the 4 bytes in page and then perform a verifi-
cation of the data.
; Read Page into EDATA1-4
MOV ECON,#5
MOV ECON,#2
MOV ECON,#4
MOV A, ECON
JNZ ERROR
; ERASE Page
; WRITE Page
; VERIFY Page
; Check if ECON=0 (OK!)
Note:
As with all Flash/EE memory architectures, the array can be
programmed in-system at a byte level, although it must be
erased first; the erasure being performed in page blocks (4-
byte pages in this case).
Although the 4kBytes of Flash/EE data memory is shipped
from the factory pre-erased, i.e., Byte locations set to FFH, it is
nonetheless good programming practice to include an erase-all
routine as part of any configuration/setup code running on the
ADuC834. An
ERASE-ALL
command consists of writing
06H
to the ECON SFR, which initiates an erase of the
4kByte Flash/EE array. T his command coded in 8051 assembly
would appear as:
MOV ECON,#06H
; Erase all Command
; 2 ms Duration
Flash/E E Memory T iming
T ypical program and erase times for the ADuC834 are as fol-
lows:
NORMAL MODE (operating on flash/EE data memory)
READPAGE (4 bytes)
instruction time +
3 machine cycles
380
μ
s
instruction time +
3 machine cycles
2ms
2ms
instruction time +
1 machine cycle
200
μ
s
WRIT EPAGE (4 bytes)
VERIFYPAGE (4 bytes)
ERASEPAGE (4 bytes)
ERASEALL (4kBytes)
READBYT E (1 byte)
WRIT EBYT E (1 byte)
ULOAD MODE (operating on flash/EE program memory)
WRIT EPAGE (256 bytes)
ERASEPAGE (64 bytes)
ERASEALL (56kBytes)
READBYT E (1 byte)
15ms
2 ms
2 ms
instruction time +
1 machine cycle
200
μ
s
WRIT EBYT E (1 byte)
It should be noted that a given mode of operation is initiated as
soon as the command word is written to the ECON SFR. T he
core microcontroller operation on the ADuC834 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 will not be executed until the Flash/EE
operation is complete. T his means that the core will not respond
to Interrupt requests until the Flash/EE operation is com-
plete, although the core peripheral functions like Counter/
T imers will continue to count and time as configured through-
out this period.
相關(guān)PDF資料
PDF描述
ADUM1310BRWZ Triple-Channel Digital Isolator with Programmable Default Output
ADUM1310BRWZ-RL Triple-Channel Digital Isolator with Programmable Default Output
ADUM3300 Triple-Channel, Digital Isolators, Enhanced System-Level ESD Reliability
ADUM3300ARWZ Triple-Channel, Digital Isolators, Enhanced System-Level ESD Reliability
ADUM3300BRWZ Triple-Channel, Digital Isolators, Enhanced System-Level ESD Reliability
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ADUC834BSZ 功能描述:IC ADC DUAL16/24BIT W/MCU 52MQFP RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:MicroConverter® ADuC8xx 標(biāo)準(zhǔn)包裝:250 系列:56F8xxx 核心處理器:56800E 芯體尺寸:16-位 速度:60MHz 連通性:CAN,SCI,SPI 外圍設(shè)備:POR,PWM,溫度傳感器,WDT 輸入/輸出數(shù):21 程序存儲(chǔ)器容量:40KB(20K x 16) 程序存儲(chǔ)器類型:閃存 EEPROM 大小:- RAM 容量:6K x 16 電壓 - 電源 (Vcc/Vdd):2.25 V ~ 3.6 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 6x12b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 125°C 封裝/外殼:48-LQFP 包裝:托盤 配用:MC56F8323EVME-ND - BOARD EVALUATION MC56F8323
ADUC836 制造商:AD 制造商全稱:Analog Devices 功能描述:MicroConverter, Dual 16-Bit-ADCs with Embedded 62 kB Flash MCU
ADUC836_02 制造商:AD 制造商全稱:Analog Devices 功能描述:MicroConverter, Dual 16-Bit ADCs with Embedded 62 kB Flash MCU
ADUC836BCP 制造商:Rochester Electronics LLC 功能描述: 制造商:Analog Devices 功能描述:
ADUC836BCPZ 功能描述:IC MCU 62K FLASH ADC/DAC 56LFCSP RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:MicroConverter® ADuC8xx 標(biāo)準(zhǔn)包裝:38 系列:Encore!® XP® 核心處理器:eZ8 芯體尺寸:8-位 速度:5MHz 連通性:IrDA,UART/USART 外圍設(shè)備:欠壓檢測(cè)/復(fù)位,LED,POR,PWM,WDT 輸入/輸出數(shù):16 程序存儲(chǔ)器容量:4KB(4K x 8) 程序存儲(chǔ)器類型:閃存 EEPROM 大小:- RAM 容量:1K x 8 電壓 - 電源 (Vcc/Vdd):2.7 V ~ 3.6 V 數(shù)據(jù)轉(zhuǎn)換器:- 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 105°C 封裝/外殼:20-SOIC(0.295",7.50mm 寬) 包裝:管件 其它名稱:269-4116Z8F0413SH005EG-ND