UPD78F9502MA-CAC-A NEC, UPD78F9502MA-CAC-A Datasheet - Page 181
UPD78F9502MA-CAC-A
Manufacturer Part Number
UPD78F9502MA-CAC-A
Description
8BIT MCU, 4K FLASH, 128B RAM, SMD
Manufacturer
NEC
Datasheet
1.UPD78F9502MA-CAC-A.pdf
(229 pages)
Specifications of UPD78F9502MA-CAC-A
Controller Family/series
UPD78F
No. Of I/o's
8
Ram Memory Size
128Byte
Cpu Speed
10MHz
No. Of Timers
2
No. Of Pwm
RoHS Compliant
Core Size
8bit
Program Memory Size
4KB
Oscillator Type
External, Internal
- Current page: 181 of 229
- Download datasheet (2Mb)
An example of a program when the interrupt-disabled time (from erasure to blank check) should be minimized in
self programming mode is shown below.
;---------------------------------------------------------------------
;START
;---------------------------------------------------------------------
FlashBlockErase:
; Sets erase command
MOV
MOV
MOV
MOV
MOV
CALL
; Execution of erase command
MOV
MOV
HALT
MOV
CMP
BNZ
CALL
; Sets blank check command
MOV
MOV
MOV
MOV
MOV
CALL
; Execution of blank check command
MOV
MOV
HALT
MOV
CMP
BNZ
FLCMD,#03H
FLAPH,#07H
FLAPL,#00H
FLAPHC,#07H
FLAPLC,#00H
!ModeOn
PFS,#00H
WDTE,#0ACH
A,PFS
A,#00H
$StatusError
!ModeOff
FLCMD,#04H
FLAPH,#07H
FLAPL,#00H
FLAPHC,#07H
FLAPLC,#0FFH
!ModeOn
PFS,#00H
WDTE,#0ACH
A,PFS
A,#00H
$StatusError
; Sets flash control command (block erase)
; Sets number of block to be erased (block 7 is specified here)
; Fixes FLAPL to “00H”
; Sets erase block compare number (same value as that of FLAPH)
; Fixes FLAPLC to “00H”
; Shift to self programming mode
; Clears flash status register
; Clears & restarts WDT
; Self programming is started
; Checks erase error
; Performs abnormal termination processing when an error
; occurs.
; Shift to normal mode
; Sets flash control command (block blank check)
; Sets block number for blank check (block 7 is specified here)
; Fixes FLAPL to “00H”
; Sets blank check block compare number (same value as that of
; FLAPH)
; Fixes FLAPLC to “FFH”
; Shift to self programming mode
; Clears flash status register
; Clears & restarts WDT
; Self programming is started
; Checks blank check error
; Performs abnormal termination processing when an error occurs
Preliminary User’s Manual U18681EJ1V0UD
CHAPTER 14 FLASH MEMORY
181
Related parts for UPD78F9502MA-CAC-A
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
16/8 bit single-chip microcomputer
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
Dual audio power amp circuit
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
Dual comparator
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
MOS type composite field effect transistor
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
50 V/100 mA FET array incorporating 2 N-ch MOSFETs
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
6-pin small MM high-frequency double transistor
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
6-pin small MM high-frequency double transistor
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
6-pin small MM high-frequency double transistor
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
6-pin small MM high-frequency double transistor
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
Twin transistors equipped with different model chips(6P small MM)
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
Bipolar analog integrated circuit
Manufacturer:
NEC
Datasheet: