R5F21122FP#U0 Renesas Electronics America, R5F21122FP#U0 Datasheet - Page 161

IC R8C MCU FLASH 8K 32LQFP

R5F21122FP#U0

Manufacturer Part Number
R5F21122FP#U0
Description
IC R8C MCU FLASH 8K 32LQFP
Manufacturer
Renesas Electronics America
Series
M16C™ M16C/R8C/Tiny/12r
Datasheets

Specifications of R5F21122FP#U0

Core Processor
R8C
Core Size
16-Bit
Speed
16MHz
Connectivity
SIO, UART/USART
Peripherals
LED, WDT
Number Of I /o
22
Program Memory Size
8KB (8K x 8)
Program Memory Type
FLASH
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-20°C ~ 85°C
Package / Case
32-LQFP
For Use With
R0K521134S000BE - KIT EVAL STARTER FOR R8C/13R0E521134EPB00 - KIT EMULATOR PROBE FOR PC7501R0E521134CPE00 - EMULATOR COMPACT R8C/13
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
R5F21122FP#U0R5F21122FP#V0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
R8C/12 Group
Rev.1.20
REJ09B0110-0120
Figure 17.7 Setting and Resetting of EW1 Mode
Figure 17.5 Timing on Suspend Operation
Figure 17.6 Setting and Resetting of EW0 Mode
N O T E S :
1 . S e l e c t 5 M H z o r l e s s f o r C P U c l o c k u s i n g t h e C M 0 6 b i t i n t h e C M 0 r e g i s t e r a n d t h e C M 1 7 t o C M 1 6 b i t s i n t h e C M 1 r e g i s t e r .
2 . T o s e t t h e F M R 0 1 b i t t o “ 1 ” , w r i t e “ 0 ” a n d t h e n “ 1 ” i n s u c c e s s i o n . M a k e s u r e n o i n t e r r u p t s w i l l o c c u r b e f o r e w r i t i n g “ 1 ” a f t e r w r i t i n g “ 0 ” .
3 . D i s a b l e s t h e C P U r e w r i t e m o d e a f t e r e x e c u t i n g t h e R e a d A r r a y c o m m a n d .
Figures 17.6 and 17.7 show the setting and resetting of EW0 mode and EW1 mode, respectively.
E W 0 m o d e o p e r a t i o n p r o c e d u r e
Jump to the rewrite control program which has been
transferred to any area other than the flash memory
(The subsequent processing is executed by the
rewrite control program in any area other than the
flash memory)
E W 1 m o d e o p e r a t i o n p r o c e d u r e
Figures 17.5 shows the timing on suspend operation.
Transfer a CPU rewrite mode based rewrite control
program to any area other than the flash memory
W r i t e t o t h e F M R 0 1 b i t f r o m a p r o g r a m i n o t h e r t h a n t h e f l a s h m e m o r y .
Jan 27, 2006
Set CM0 and CM1 registers
S e t t h e F M R 0 1 b i t b y w r i t i n g “ 0 ” a n d t h e n “ 1 ” ( C P U r e w r i t e
m o d e e n a b l e d )
S e t t h e F M R 1 1 b i t b y w r i t i n g “ 0 ” a n d t h e n “ 1 ” ( E W 1 m o d e )
FMR00
FMR46
page 149 of 181
Erase
Starts
During Erase
(1 )
E x e c u t e s o f t w a r e c o m m a n d s
( C P U r e w r i t e m o d e d i s a b l e d )
W r i t e “ 0 ” t o t h e F M R 0 1 b i t
Program in ROM
Erase
Suspends
Check that the FMR00 bit is
set to “0”, and that the erase
operation has not ended.
(1)
R e w r i t e c o n t r o l p r o g r a m
Jump to a specified address in the flash memory
S e t t h e F M R 0 1 b i t b y w r i t i n g “ 0 ” a n d t h e n “ 1 ”
( C P U r e w r i t e m o d e e n a b l e d )
Execute the Read Array command
Execute software commands
(CPU rewrite mode disabled)
Write “0” to the FMR01 bit
N O T E S :
1 . T o s e t t h e F M R 0 1 b i t t o “ 1 ” ,
w r i t e “ 0 ” a n d t h e n “ 1 ” i n
s u c c e s s i o n . M a k e s u r e n o
i n t e r r u p t s w i l l o c c u r b e f o r e
w r i t i n g “ 1 ” a f t e r w r i t i n g “ 0 ” .
Erase
Starts
During Erase
(2 )
Erase
Ends
Check the status,
and that the program
ends normally.
(3)
17.4 CPU Rewrite Mode

Related parts for R5F21122FP#U0