UPD78F9222CS-CAC-A Renesas Electronics America, UPD78F9222CS-CAC-A Datasheet - Page 296

no-image

UPD78F9222CS-CAC-A

Manufacturer Part Number
UPD78F9222CS-CAC-A
Description
MCU 8BIT 4KB FLASH 20PIN
Manufacturer
Renesas Electronics America
Series
78K0S/Kx1+r
Datasheet

Specifications of UPD78F9222CS-CAC-A

Core Processor
78K0S
Core Size
8-Bit
Speed
10MHz
Connectivity
LIN, UART/USART
Peripherals
LVD, POR, PWM, WDT
Number Of I /o
15
Program Memory Size
4KB (4K x 8)
Program Memory Type
FLASH
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 4x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
18.8.5 Example of shifting self programming mode to normal mode
programming.
294
The operating mode must be returned from self programming mode to normal mode after performing self
An example of shifting to normal mode is explained below.
<1> Clear FLCMD (FLCMD = 00H).
<2> Clear the flash status register (PFS).
<3> Set normal mode using a specific sequence.
<4> Check the execution result of the specific sequence using bit 0 (FPRERR) of PFS
<5> Enable interrupt servicing (by executing the EI instruction and changing MK0 and MK1) to restore the original
<6> Mode shift is completed
Note Restore the CPU clock to its setting before self programming, after normal execution of the specific
Caution Be sure to perform the series of operations described above using the user program at an
Abnormal
state.
sequence.
Write the specific value (A5H) to PFCMD.
Write 00H to FLPMC (writing in this step is invalid)
Write 0FFH (inverted value of 00H) to FLPMC (writing in this step is invalid)
Write 00H to FLPMC (writing in this step is valid)
address where data is not erased or written.
<2>, normal
<5>
CHAPTER 18 FLASH MEMORY
User’s Manual U16898EJ6V0UD
Note
.

Related parts for UPD78F9222CS-CAC-A