參數(shù)資料
型號: ADUC812BS
廠商: ANALOG DEVICES INC
元件分類: 微控制器/微處理器
英文描述: Circular Connector; No. of Contacts:37; Series:LJT07R; Body Material:Aluminum; Connecting Termination:Crimp; Connector Shell Size:25; Circular Contact Gender:Socket; Circular Shell Style:Jam Nut Receptacle; Insert Arrangement:25-37
中文描述: 8-BIT, FLASH, 11.0592 MHz, MICROCONTROLLER, PQFP52
封裝: MQFP-52
文件頁數(shù): 14/31頁
文件大小: 543K
代理商: ADUC812BS
REV. 0
ADuC812
14
A block diagram of the SFR registered interface to the User
Flash/EE Memory array is shown in Figure 12.
9FH
BYTE 1 BYTE 2 BYTE 3 BYTE 4
00H
EDATA1 (BYTE 1)
EDATA2 (BYTE 2)
EDATA3 (BYTE 3)
EDATA4 (BYTE 4)
EADRL
ECON COMMAND
INTERPRETER LOGIC
ECON
BYTE 1 BYTE 2 BYTE 3 BYTE 4
FUNCTION:
HOLDS COMMAND WORD
FUNCTION:
HOLDS THE 8-BIT PAGE
ADDRESS POINTER
FUNCTION:
HOLDS THE 4-BYTE
PAGE WORD
FUNCTION:
INTERPRETS THE FLASH
COMMAND WORD
Figure 12. User Flash/EE Memory Control and
Configuration
ECON—Flash/EE Memory Control SFR
This SFR acts as a command interpreter and may be written
with one of five command modes to enable various read, pro-
gram and erase cycles as detailed in Table VI:
Table VI. ECON–Flash/EE Memory Control Register
Command Modes
Command Byte
Command Mode
01H
READ COMMAND
Results in four bytes being read into
EDATA 1–4 from memory page location
contained in EADRL .
WRITE COMMAND
Results in four bytes (EDATA 1–4) being
written to memory page location in EADRL.
This write command assumes the de-
signated “write” page has been pre-erased.
RESERVED COMMAND
“DO NOT USE”
VERIFY COMMAND
Allows the user to verify if data in EDATA
1–4 is contained in page location designated
by EADRL. A subsequent read of the
ECON SFR will result in a “zero” being
read if the verification is valid, a nonzero
value will be read to indicate an invalid
verification.
ERASE COMMAND
Results in an erase of the 4-byte page
designated in EADRL.
ERASE-ALL COMMAND
Results in erase of the full user memory
160-page (640 bytes) array.
RESERVED COMMANDS
Commands reserved for future use.
02H
03H
04H
05H
06H
07H to FFH
Flash/EE Memory Write and Erase Times
The typical program/erase times for the User Flash/EE Memory
are:
Erase Full Array (640 Bytes) – 20 ms
Erase Single Page (4 Bytes)
– 20 ms
Program Page (4 Bytes)
– 250
μ
s
Read Page (4 Bytes)
– Within Single Instruction Cycle
Using the Flash/EE Memory Interface
As with all Flash/EE memory architectures, the array can be pro-
grammed 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).
A typical access to the Flash/EE array will involve setting up the
page address to be accessed in the EADRL SFR, configuring the
EDATA1-4 with data to be programmed to the array (the
EDATA SFRs will not be written for read accesses) and finally
writing the ECON command word which initiates one of the
five modes shown in Table VI.
It should be noted that a given mode of operation is initiated as
soon as the command word is written to the ECON SFR. At
this time the core microcontroller operation on the ADuC812
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 2 machine cycle
MOV instruction (to write to the ECON SFR), the next
instruction will not be executed until the Flash/EE operation
is complete (250
μ
s or 20 ms later). This means that the core
will not respond to Interrupt requests until the Flash/EE
operation is complete, although the core peripheral functions
like Counter/Timers will continue to count and time as configured
throughout this pseudo-idle period.
ERASE-ALL
Although the 640-byte User Flash/EE array is shipped from the
factory pre-erased, i.e., Byte locations set to FFH, it is nonethe-
less good programming practice to include an erase-all routine
as part of any configuration/setup code running on the ADuC812.
An “ERASE-ALL” command consists of writing “06H” to the
ECON SFR, which initiates an erase of all 640 byte locations in
the Flash/EE array. This command coded in 8051 assembly
would appear as:
MOV ECON, #06H
;
Erase all Command
;
20 ms Duration
PROGRAM A BYTE
In general terms, a byte in the Flash/EE array can only be
programmed if it has previously been erased. To be more spe-
cific, 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.
A more specific example of the Program-Byte process is shown
graphically in Figure 13. In this example the user will write F3H
into the second byte on Page 03H of the User Flash/EE Memory
space.
However, Page 03H already contains four bytes of valid data,
and as the user is only required to modify one of these bytes, the
full page must be first read so that this page can then be erased
without the existing data being lost.
相關(guān)PDF資料
PDF描述
ADUC832 MicroConverter, 12-Bit ADCs and DACs with Embedded 62 kBytes Flash MCU
ADUC832BCP MicroConverter, 12-Bit ADCs and DACs with Embedded 62 kBytes Flash MCU
ADUC832BS MicroConverter, 12-Bit ADCs and DACs with Embedded 62 kBytes Flash MCU
ADUC834 MicroConverter, Dual 16-/24- Bit ADCs with Embedded 62KB FLASH MCU
ADUC834BS MicroConverter, Dual 16-/24- Bit ADCs with Embedded 62KB FLASH MCU
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ADUC812BS 制造商:Analog Devices 功能描述:12-BIT ADC WITH EMBEDDED
aduc812bs-01 制造商:Analog Devices 功能描述:
ADUC812BS-REEL 制造商:Analog Devices 功能描述:MCU 8-bit ADuC8xx 8052 CISC 8KB Flash 3.3V/5V 52-Pin MQFP T/R
ADUC812BSZ 功能描述:IC ADC 12BIT MULTICH MCU 52-MQFP RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:MicroConverter® ADuC8xx 標(biāo)準(zhǔn)包裝:250 系列:56F8xxx 核心處理器:56800E 芯體尺寸:16-位 速度:60MHz 連通性:CAN,SCI,SPI 外圍設(shè)備:POR,PWM,溫度傳感器,WDT 輸入/輸出數(shù):21 程序存儲器容量:40KB(20K x 16) 程序存儲器類型:閃存 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
ADUC812BSZ-01 制造商:Analog Devices 功能描述:12-BIT ADC WITH EMBEDDED MCU I.C.