UPD78F9212CS-CAB-A Renesas Electronics America, UPD78F9212CS-CAB-A Datasheet - Page 246

no-image

UPD78F9212CS-CAB-A

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

Specifications of UPD78F9212CS-CAB-A

Core Processor
78K0S
Core Size
8-Bit
Speed
10MHz
Peripherals
LVD, POR, PWM, WDT
Number Of I /o
13
Program Memory Size
4KB (4K x 8)
Program Memory Type
FLASH
Ram Size
128 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
-
Connectivity
-
244
An example of the program that shifts the mode to self programming mode is shown below.
;----------------------------
;START
;----------------------------
ModeOnLoop:
;----------------------------
;END
;----------------------------
MOV
MOV
DI
MOV
MOV
MOV
MOV
MOV
NOP
HALT
BT
MK0,#11111111B
FLCMD,#00H
PFS,#00H
PFCMD,#0A5H
FLPMC,#01H
FLPMC,#0FEH
FLPMC,#01H
PFS.0,$ModeOLoop
CHAPTER 16 FLASH MEMORY
; Masks all interrupts
; Clear FLCMD register
; Configure settings so that the CPU clock
; Clears flash status register
; PFCMD register control
; FLPMC register control (sets value)
; FLPMC register control (inverts set value)
; Sets self programming mode with FLPMC register
; control (sets value)
; Checks completion of write to specific registers
; Repeats the same processing when an error occurs
User’s Manual U16994EJ6V0UD
1 MHz

Related parts for UPD78F9212CS-CAB-A