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

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
14.1
Figure 14.1
Timer RA is an 8-bit timer with an 8-bit prescaler.
The prescaler and timer consist of the reload register and counter. The reload register and counter are allocated at
the same address. When accessing the TRAPRE and TRA registers, the reload register and counter can be accessed
(refer to Table 14.2 to 14.6 the Specification of Each Modes).
The count source for timer RA is the operating clock that regulates the timing of timer operations such as counting
and reloading.
Figure 14.1 shows the Block Diagram of Timer RA. Figures 14.2 to 14.4 show the registers associated with Timer
RA.
Timer RA contains five operation modes listed as follows:
INT1/TRAIO (P1-7) pin
INT1/TRAIO (P1-5) pin
Timer mode:
Pulse output mode:
Event counter mode:
Pulse width measurement mode: The timer measures the pulse width of an external pulse.
Pulse period measurement mode: The timer measures the pulse period of an external pulse.
Timer RA
TCK2 to TCK0 bit
fOCO
TRAO pin
f1
f8
f2
Block Diagram of Timer RA
= 000b
= 001b
= 010b
= 011b
TIOSEL = 0
TIOSEL = 1
TIPF1 to TIPF0 bit
f32
f1
f8
= 00b
= 10b
= 11b
TOENA bit
Page 130 of 501
TIPF1 to
TIPF0 bit
= Except 00b
= 00b
TMOD2 to TMOD0
Digital
filter
= Except 010b
TMOD2 to TMOD0
invert the polarity by underflow of the timer.
The timer counts an internal count source.
The timer counts an internal count source and outputs the pulses which
The timer counts external pulses.
switching
Polarity
= 010b
TMOD2 to TMOD0 = 001b
TOPCR bit
TCKCUT
TMOD2 to TMOD0
bit
= 011b or 100b
TCSTF, TSTOP: TRACR register
TEDGSEL, TOPCR, TOENA, TIOSEL, TIPF1, TIPF0: TRAIOC register
TMOD2 to TMOD0, TCK2 to TCK0, TCKCUT: TRAMR register
TCSTF
bit
TEDGSEL = 1
TEDGSEL = 0
Count control
TRAPRE register
register
circle
Reload
(Prescaler)
Counter
Peripheral data bus
Q
Q
Measurement completion signal
Toggle flip-flop
CLR
register
Reload
TRA register
CK
Counter
(Timer)
Write to TRAMR register
Write to TSTOP bit 1
Underflow signal
Timer RA interrupt
14. Timers

Related parts for R5F21238DFP#U0