UPD78F9502MA-CAC-A NEC, UPD78F9502MA-CAC-A Datasheet - Page 226

8BIT MCU, 4K FLASH, 128B RAM, SMD

UPD78F9502MA-CAC-A

Manufacturer Part Number
UPD78F9502MA-CAC-A
Description
8BIT MCU, 4K FLASH, 128B RAM, SMD
Manufacturer
NEC
Datasheet

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
226
Option
byte
Flash
memory
Function
Low-speed
internal
oscillates
Caution When
the RESET Pin
Is Used as an
Import-Only
Port Pin (P34)
Security
settings
Self
programming
function
Details of
Function
If it is selected that low-speed internal oscillator cannot be stopped, the count
clock to the watchdog timer (WDT) is fixed to low-speed internal oscillation clock.
If it is selected that low-speed internal oscillator can be stopped by software,
supply of the count clock to WDT is stopped in the HALT/STOP mode, regardless
of the setting of bit 0 (LSRSTOP) of the low-speed internal oscillation mode
register (LSRCM). Similarly, clock supply is also stopped when a clock other than
the low-speed internal oscillation clock is selected as a count clock to WDT.
While the low-speed internal oscillator is operating (LSRSTOP = 0), the clock can
be supplied to the 8-bit timer H1 even in the STOP mode.
Be aware of the following when erasing/writing by on-board programming using a
dedicated flash memory programmer once again on the already-written device
which has been set as "The RESET pin is used as an input-only port pin (P34)" by
the option byte function. Before supplying power to the target system, connect a
dedicated flash memory programmer and turn its power on. If the power is
supplied to the target system beforehand, it cannot be switched to the flash
memory programming mode.
After the security setting of the batch erase is set, erasure cannot be performed
for the device. In addition, even if a write command is executed, data different
from that which has already been written to the flash memory cannot be written
because the erase command is disabled.
Self programming processing must be included in the program before performing
self writing.
No instructions can be executed while a self programming command is being
executed. Therefore, clear and restart the watchdog timer counter in advance so
that the watchdog timer does not overflow during self programming. Refer to
Table 14-8 for the time taken for the execution of self programming.
Interrupts that occur during self programming can be acknowledged after self
programming mode ends. To avoid this operation, disable interrupt servicing (by
setting MK0 to FFH, and executing the DI instruction) before a mode is shifted
from the normal mode to the self programming mode with a specific sequence.
RAM is not used while a self programming command is being executed.
If the supply voltage drops or the reset signal is input while the flash memory is
being written or erased, writing/erasing is not guaranteed.
The value of the blank data set during block erasure is FFH.
Set the CPU clock so that it is 1 MHz or more during self programming.
Execute the NOP and HALT instructions immediately after executing a specific
sequence to set self-programming mode, then execute self programming. At this
time, the HALT instruction is automatically released after 10 s (MAX.) + 2 CPU
clocks (f
If the clock of the oscillator or an external clock is selected as the system clock,
execute the NOP and HALT instructions immediately after executing a specific
sequence to set self-programming mode, wait for 8 s after releasing the HALT
status, and then execute self programming.
Check FPRERR using a 1-bit memory manipulation instruction.
The state of the pins in self programming mode is the same as that in HALT
mode.
CPU
Preliminary User’s Manual U18681EJ1V0UD
APPENDIX C LIST OF CAUTIONS
).
Cautions
p. 135
p. 135
p. 135
p. 143
p. 144
p. 147
p. 147
p. 147
p. 147
p. 147
p. 147
p. 147
p. 147
p. 147
p. 147
Page
(5/7)

Related parts for UPD78F9502MA-CAC-A