R5F21238DFP#U0 Renesas Electronics America, R5F21238DFP#U0 Datasheet - Page 445

IC R8C/23 MCU FLASH 48-LQFP

R5F21238DFP#U0

Manufacturer Part Number
R5F21238DFP#U0
Description
IC R8C/23 MCU FLASH 48-LQFP
Manufacturer
Renesas Electronics America
Series
R8C/2x/23r
Datasheets

Specifications of R5F21238DFP#U0

Core Size
16/32-Bit
Program Memory Size
64KB (64K x 8)
Peripherals
POR, Voltage Detect, WDT
Core Processor
R8C
Speed
20MHz
Connectivity
CAN, I²C, LIN, SIO, SSU, UART/USART
Number Of I /o
41
Program Memory Type
FLASH
Ram Size
3K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 12x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
48-LQFP
No. Of I/o's
41
Ram Memory Size
3KB
Cpu Speed
20MHz
No. Of Timers
4
Digital Ic Case Style
LQFP
Embedded Interface Type
CAN, I2C, UART
Rohs Compliant
Yes
Cpu Family
R8C
Device Core Size
16b
Frequency (max)
20MHz
Interface Type
I2C/UART
Total Internal Ram Size
3KB
# I/os (max)
41
Number Of Timers - General Purpose
5
Operating Supply Voltage (typ)
3.3/5V
Operating Supply Voltage (max)
5.5V
Operating Supply Voltage (min)
3V
On-chip Adc
12-chx10-bit
Instruction Set Architecture
CISC
Operating Temp Range
-40C to 85C
Operating Temperature Classification
Industrial
Mounting
Surface Mount
Pin Count
48
Package Type
LQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
RCDK8C - KIT DEV EVAL FOR CAN R8C/23R0K521237S000BE - KIT DEV RSK R8C/23R0E521237CPE00 - EMULATOR COMPACT R8C/20/21/22/23
Eeprom Size
-
Lead Free Status / Rohs Status
Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
R5F21238DFP#U0R5F21238DFP
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Company:
Part Number:
R5F21238DFP#U0R5F21238DFP
Quantity:
48
Company:
Part Number:
R5F21238DFP#U0
Manufacturer:
REA
Quantity:
50
Company:
Part Number:
R5F21238DFP#U0
Manufacturer:
MOLEX
Quantity:
101
Company:
Part Number:
R5F21238DFP#U0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
R8C/22 Group, R8C/23 Group
Rev.2.00 Aug 20, 2008
REJ09B0251-0200
20.4.2.1
20.4.2.2
20.4.2.3
20.4.2.4
20.4.2.5
20.4.2.6
20.4.2.7
20.4.2.8
20.4.2.9
20.4.2.10 FMR40 Bit
Figure 20.5 shows the FMR0 Register, Figure 20.6 shows the FMR1 Register and Figure 20.7 shows the FMR4
Register.
This bit indicates the operating status of the flash memory. The bit is 0 during programming, erasing (including
suspend periods), or erase-suspend mode; otherwise, the bit is 1.
The MCU is made ready to accept commands by setting the FMR01 bit to 1 (CPU rewrite mode).
The block0, block1, block2 and block3 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 transferred to the RAM.
In the following cases, set the FMSTP bit to 1:
Figure 20.11 shows a Process to Reduce Power Consumption in High-Speed On-Chip Oscillator Mode, Low-
Speed On-Chip Oscillator Mode (XIN Clock Stops) and Low-Speed Clock Mode (XIN Clock Stops). 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 the 20.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. Refer to 20.4.5 Full Status Check for the 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), the block0
accepts the program command and block erase command.
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.
The suspend function is enabled by setting the FMR40 bit to 1 (enable).
When flash memory access resulted in an error while erasing or programming in EW0 mode (FMR00 bit
not reset to 1 (ready))
When entering high-speed on-chip oscillator mode, low-speed on-chip oscillator mode (XIN clock stop)
FMR00 Bit
FMR01 Bit
FMR02 Bit
FMSTP Bit
FMR06 Bit
FMR07 Bit
FMR11 Bit
FMR15 Bit
FMR16 Bit
Page 423 of 501
20. Flash Memory

Related parts for R5F21238DFP#U0