欧美成人免费电影,国产欧美一区二区三区精品酒店,精品国产a毛片,色网在线免费观看

參數資料
型號: ADUC848BS32-3
廠商: ANALOG DEVICES INC
元件分類: 微控制器/微處理器
英文描述: MicroConverter Multichannel 24-/16-Bit ADCs with Embedded 62 kB Flash and Single-Cycle MCU
中文描述: 8-BIT, FLASH, 12.58 MHz, MICROCONTROLLER, PQFP52
封裝: 14 X 14 MM, PLASTIC, MO-112-AC-1, MQFP-52
文件頁數: 52/108頁
文件大小: 1109K
代理商: ADUC848BS32-3
ADuC845/ADuC847/ADuC848
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
Rev. A | Page 52 of 108
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 overwrite
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. Specifically, a byte can be programmed
only 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 4 bytes (1 page) are erased when an erase
command is initiated. Once the page is erased, the user can
program the 4 bytes in-page and then perform a verification of
the data.
MOV ECON, #5
MOV ECON, #2
MOV ECON, #4
MOV A, ECON
;ERASE Page
;WRITE Page
;VERIFY Page
;Check if ECON = 0 (OK!)
Although the 4 kbytes of Flash/EE data memory are factory pre-
erased, that is, byte locations set to FFH, it is good programming
practice to include an ERASEALL routine as part of any
configuration/set-up 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 language would appear as
MOV ECON, #06H
;ERASE all Command
;2ms duration
FLASH/EE MEMORY TIMING
Typical program and erase times for the parts are as follows:
Normal Mode (Operating on Flash/EE Data Memory)
Command
Bytes Affected
READPAGE
4 bytes
WRITEPAGE
4 bytes
VERIFYPAGE
4 bytes
ERASEPAGE
4 bytes
ERASEALL
4 kbytes
READBYTE
1 byte
WRITEBYTE
1 byte
ULOAD Mode (Operating on Flash/EE Program Memory)
WRITEPAGE
256 bytes
ERASEPAGE
64 bytes
ERASEALL
56 kbytes
WRITEBYTE
1 byte
25 machine cycles
380 μs
25 machine cycles
2 ms
2 ms
10 machine cycles
200 μs
15 ms
2 ms
2 ms
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 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 such as counter/
timers continue to count as configured throughout this period.
相關PDF資料
PDF描述
ADUC848BS32-5 MicroConverter Multichannel 24-/16-Bit ADCs with Embedded 62 kB Flash and Single-Cycle MCU
ADUC848BS62-3 10-825944-010
ADUC848BS62-5 MicroConverter Multichannel 24-/16-Bit ADCs with Embedded 62 kB Flash and Single-Cycle MCU
ADUC848BS8-3 MicroConverter Multichannel 24-/16-Bit ADCs with Embedded 62 kB Flash and Single-Cycle MCU
ADUC848BS8-5 MicroConverter Multichannel 24-/16-Bit ADCs with Embedded 62 kB Flash and Single-Cycle MCU
相關代理商/技術參數
參數描述
ADUC848BS32-5 制造商:Analog Devices 功能描述:IC MICROCONTROLLER
ADUC848BS62-3 制造商:Rochester Electronics LLC 功能描述:8BIT CISC 62KB FLASH 12.85MHZ 3.3V 52MQFP - Bulk 制造商:Analog Devices 功能描述:
ADUC848BS62-5 制造商:Rochester Electronics LLC 功能描述:8BIT CISC 62KB FLASH 12.85MHZ 5V 52MQFP - Bulk 制造商:Analog Devices 功能描述:IC MICROCONTROLLER
ADUC848BS8-3 制造商:Analog Devices 功能描述:
ADUC848BS8-5 制造商:Analog Devices 功能描述:MCU 8-bit ADuC8xx 8052 CISC 62KB Flash 3.3V/5V 52-Pin MQFP 制造商:Analog Devices 功能描述:IC MICROCONTROLLER
主站蜘蛛池模板: 兴业县| 宁夏| 清原| 嵊州市| 佛教| 深水埗区| 耿马| 吴忠市| 祥云县| 恩平市| 新宁县| 论坛| 邵东县| 扎鲁特旗| 蕉岭县| 山阴县| 临海市| 阳西县| 南丹县| 定边县| 昂仁县| 宝清县| 栾城县| 东阳市| 准格尔旗| 九江县| 建阳市| 保定市| 香港 | 墨脱县| 县级市| 琼海市| 常熟市| 泽库县| 永胜县| 金湖县| 天气| 淄博市| 同德县| 长汀县| 深圳市|