UPD78F9222MC(T)-5A4-A NEC, UPD78F9222MC(T)-5A4-A Datasheet - Page 305

8BIT MCU, 4K FLASH, 256B RAM, 78F9222

UPD78F9222MC(T)-5A4-A

Manufacturer Part Number
UPD78F9222MC(T)-5A4-A
Description
8BIT MCU, 4K FLASH, 256B RAM, 78F9222
Manufacturer
NEC
Datasheet

Specifications of UPD78F9222MC(T)-5A4-A

Controller Family/series
UPD78
No. Of I/o's
17
Ram Memory Size
256Byte
Cpu Speed
10MHz
No. Of Timers
4
No. Of
RoHS Compliant
Core Size
8bit
Program Memory Size
4KB
Oscillator Type
External, Internal

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
UPD78F9222MC(T)-5A4-A
Manufacturer:
NEC
Quantity:
1 000
Part Number:
UPD78F9222MC(T)-5A4-A
Manufacturer:
NEC/PBF
Quantity:
6 640
Part Number:
UPD78F9222MC(T)-5A4-A
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Company:
Part Number:
UPD78F9222MC(T)-5A4-A
Quantity:
458
Example programs that perform internal verify 1 and 2 in self programming mode are shown below.
;----------------------------
;START
;----------------------------
FlashVerify:
;----------------------------
;END
;----------------------------
;----------------------------
;START
;----------------------------
FlashVerify:
;----------------------------
;END
;----------------------------
• Internal verify 1
• Internal verify 2
MOV
MOV
MOV
MOV
MOV
MOV
MOV
HALT
MOV
MOV
MOV
MOV
MOV
MOV
MOV
MOV
MOV
HALT
MOV
MOV
FLCMD,#01H
FLAPH,#07H
FLAPL,#00H
FLAPHC,#07H
FLAPLC,#FFH
PFS,#00H
WDTE,#0ACH
A,PFS
CmdStatus,A
FLCMD,#02H
FLAPH,#07H
FLAPL,#00H
FLAPHC,#07H
FLAPLC,#20H
PFS,#00H
WDTE,#0ACH
A,PFS
CmdStatus,A
; Sets flash control command (internal verify 1)
; Sets block number for which internal verify is performed,
; to FLAPH (Example: Block 7 is specified here)
; Sets 00H
; Sets FFH
; Clears flash status register
; Clears & restarts WDT
; Self programming is started
; Execution result is stored in variable
; (CmdStatus = 0: normal termination, other than 0: abnormal
; termination)
; Sets flash control command (internal verify 2)
; Sets block number for which internal verify is
; performed, to FLAPH (Example: Block 7 is specified here)
; Sets FLAPL to the start address for verify (Example: Address
; 00H is specified here)
; Sets FLAPLC to the end address for verify (Example: Address
; 20H is specified here)
; Clears flash status register
; Clears & restarts WDT
; Self programming is started
; Execution result is stored in variable
; (CmdStatus = 0: normal termination, other than 0: abnormal
; termination)
CHAPTER 18 FLASH MEMORY
User’s Manual U16898EJ5V0UD
305

Related parts for UPD78F9222MC(T)-5A4-A