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

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.3 shows the FMR0 register. Figure 17.4 shows the FMR1 and FMR4 registers.
• FMR00 Bit
• FMR01 Bit
• FMSTP Bit
• FMR06 Bit
• FMR07 Bit
• FMR11 Bit
• FMR15 Bit
• FMR16 Bit
• FMR02 Bit
Jan 27, 2006
This bit indicates the operating status of the flash memory. The bit is “0” during programming, eras-
ing, or erase-suspend mode; otherwise, the bit is “1”.
The microcomputer is made ready to accept commands by setting the FMR01 bit to “1” (CPU rewrite
mode).
The Block1 and Block0 do not accept the Program and Block Erase commands if the FMR02 bit is
set to “0” (rewrite disabled).
The Block0 and Block1 are controlled rewriting in the FMR15 and FMR16 bits if the FMR02 bit is set
to “1” (rewrite enabled).
This bit is provided for initializing the flash memory control circuits, as well as for reducing the amount
of current consumed in the flash memory. The flash memory is disabled against access by setting
the FMSTP bit to “1”. Therefore, the FMSTP bit must be written to by a program in other than the
flash memory.
In the following cases, set the FMSTP bit to “1”:
Figure 17.7 shows a flow chart to be followed before and after entering on-chip oscillator mode (main
clock stop).
Note that when going to stop or wait mode while the CPU rewrite mode is disabled, the FMR0
register does not need to be set because the power for the flash memory is automatically turned off
and is turned back on again after returning from stop or wait mode.
This is a read-only bit indicating the status of auto program operation. The bit is set to “1” when a
program error occurs; otherwise, it is cleared to “0”. For details, refer to the description of “17.4.5 Full
Status Check”.
This is a read-only bit indicating the status of auto erase operation. The bit is set to “1” when an erase
error occurs; otherwise, it is set to “0”. For details, refer to the description of "17.4.5 Full status
check".
Setting this bit to “1” (EW1 mode) places the microcomputer in EW1 mode.
When the FMR02 bit is set to “1” (rewrite enabled) and the FMR16 bit is set to “0” (rewrite enabled),
the Block1 accepts the program command and block erase command.
When the FMR02 bit is set to “1” (rewrite enabled) and the FMR15 bit is set to “0” (rewrite enabled),
the Block0 accepts the program command and block erase command.
• When flash memory access resulted in an error while erasing or programming in EW0 mode
• When entering on-chip oscillator mode (main clock stop).
(FMR00 bit not reset to “1” (ready))
page 146 of 181
17.4 CPU Rewrite Mode

Related parts for R5F21122FP#U0