R5F211B1SP#U0 Renesas Electronics America, R5F211B1SP#U0 Datasheet - Page 271

IC R8C MCU FLASH 4K 20SSOP

R5F211B1SP#U0

Manufacturer Part Number
R5F211B1SP#U0
Description
IC R8C MCU FLASH 4K 20SSOP
Manufacturer
Renesas Electronics America
Series
M16C™ M16C/R8C/Tiny/1Br
Datasheets

Specifications of R5F211B1SP#U0

Core Processor
R8C
Core Size
16-Bit
Speed
20MHz
Connectivity
I²C, SIO, SSU, UART/USART
Peripherals
LED, POR, Voltage Detect, WDT
Number Of I /o
13
Program Memory Size
4KB (4K x 8)
Program Memory Type
FLASH
Ram Size
384 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 4x10b
Oscillator Type
Internal
Operating Temperature
-20°C ~ 85°C
Package / Case
20-SSOP
For Use With
R0K5211B4S001BE - KIT STARTER FOR R8C/18191A1BR0K5211B4S000BE - KIT DEV EVALUATION R8C/1BR0E521174CPE10 - EMULATOR COMPACT R8C/18/19/1
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
R5F211B1SP#U0R5F211B1SP#V0
Manufacturer:
MICREL
Quantity:
2 860
R8C/1A Group, R8C/1B Group
Rev.1.30
REJ09B0252-0130
18.4.2.1
18.4.2.2
18.4.2.3
18.4.2.4
18.4.2.5
18.4.2.6
18.4.2.7
18.4.2.8
18.4.2.9
Figure 18.5 shows the FMR0 Register. Figure 18.7 shows the FMR4 Register.
This bit indicates the operating status of the flash memory. The bits value is 0 during programming, or erasure
(suspend term included); otherwise, it is 1.
The MCU is made ready to accept commands by setting the FMR01 bit to 1 (CPU rewrite mode).
Rewriting of blocks 1 and 0 does not accept the program or block erase commands if the FMR02 bit is set to 0
(rewrite disabled).
Rewriting of blocks 0 and 1 is controlled by bits FMR15 and FMR16 if the FMR02 bit is set to 1 (rewrite
enabled).
This bit is used to initialize the flash memory control circuits, and also to reduce the amount of current
consumed by the flash memory. Access to the flash memory is disabled by setting the FMSTP bit to 1.
Therefore, the FMSTP bit must be written to by a program located outside of the flash memory.
In the following cases, set the FMSTP bit to 1:
Figure 18.11 shows a flowchart of the steps 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 an auto-program operation. The bit is set to 1 when a program
error occurs; otherwise, it is set to 0. For details, refer to the description in 18.4.5 Full Status Check.
This is a read-only bit indicating the status of an auto-erase operation. The bit is set to 1 when an erase error
occurs; otherwise, it is set to 0. Refer to 18.4.5 Full Status Check for details.
Setting this bit to 1 (EW1 mode) places the MCU in EW1 mode.
When the FMR02 bit is set to 1 (rewrite enabled) and the FMR15 bit is set to 0 (rewrite enabled),
block 0 accepts program and block erase commands.
When the FMR02 bit is set to 1 (rewrite enabled) and the FMR16 bit is set to 0 (rewrite enabled),
block 1 accepts program and block erase commands.
Dec 08, 2006
When flash memory access resulted in an error while erasing or programming in EW0 mode (FMR00 bit
not reset to 1 (ready)).
When entering on-chip oscillator mode (main clock stops).
FMR00 Bit
FMR01 Bit
FMR02 Bit
FMSTP Bit
FMR06 Bit
FMR07 Bit
FMR11 Bit
FMR15 Bit
FMR16 Bit
Page 253 of 315
18. Flash Memory

Related parts for R5F211B1SP#U0