R5F21346CNFP#U0 Renesas Electronics America, R5F21346CNFP#U0 Datasheet - Page 89

MCU 1KB FLASH 32K ROM 48-LQFP

R5F21346CNFP#U0

Manufacturer Part Number
R5F21346CNFP#U0
Description
MCU 1KB FLASH 32K ROM 48-LQFP
Manufacturer
Renesas Electronics America
Series
R8C/3x/34Cr
Datasheet

Specifications of R5F21346CNFP#U0

Core Processor
R8C
Core Size
16/32-Bit
Speed
20MHz
Connectivity
I²C, LIN, SIO, SSU, UART/USART
Peripherals
POR, PWM, Voltage Detect, WDT
Number Of I /o
43
Program Memory Size
32KB (32K x 8)
Program Memory Type
FLASH
Ram Size
2.5K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 12x10b; D/A 2x8b
Oscillator Type
Internal
Operating Temperature
-20°C ~ 85°C
Package / Case
48-LQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
R5F21346CNFP#U0
Manufacturer:
Renesas Electronics America
Quantity:
135
Company:
Part Number:
R5F21346CNFP#U0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
R8C/34C Group
REJ09B0586-0100 Rev.1.00 Jan 13, 2010
Page 56 of 723
7.
There are 43 I/O ports P0 to P2, P3_0 and P3_1, P3_3 to P3_5, P3_7, P4_3 to P4_7, P6, and P6 (P4_3 and P4_4 can be
used as I/O ports if the XCIN clock oscillation circuit is not used. P4_6 and P4_7 can be used as I/O ports if the XIN
clock oscillation circuit is not used.).
If the A/D converter and the D/A converter are not used, P4_2 can be used as an input-only port.
Table 7.1 lists an Overview of I/O Ports.
7.1
Table 7.1
Notes:
Table 7.2
i = 0 to 4 or 6, j = 0 to 7
Note:
P0, P6
P1, P2
P3_0 and
P3_1, P3_3 to
P3_5, P3_7
P4_3
P4_4
P4_6
P4_7
P4_2
Read
Write
Operation When
The PDi_j (j = 0 to 7) bit in the PDi (i = 0 to 4 or 6) register controls I/O of the ports P0 to P2, P3_0 and P3_1, P3_3
to P3_5, P3_7, P4_3 to P4_7, and P6. The Pi register consists of a port latch to hold output data and a circuit to read
pin states.
Figures 7.1 to 7.15 show the Configurations of I/O Ports. Table 7.2 lists the Functions of I/O Ports.
I/O Ports
1. In input mode, whether an internal pull-up resistor is connected or not can be selected by registers PUR0 and
2. Whether the drive capacity of the output transistor is set to low or high can be selected using registers P1DRR
3. Whether the drive capacity of the output transistor is set to low or high can be selected using registers DRR0
4. The input threshold value can be selected among three voltage levels (0.35 VCC, 0.50 VCC, and 0.70 VCC)
5. When the XCIN clock oscillation circuit is not used, these ports can be used as an I/O ports.
6. When the XIN clock oscillation circuit is not used, these ports can be used as I/O ports.
7. When the A/D converter and the D/A converter are not used, this port can be used as an input-only ports.
1. Nothing is assigned to bits PD4_0 to PD4_2. Also, bits PD3_2 and PD3_6 are reserved bits.
Pi Register
Accessing
Ports
(5)
(5)
(7)
(6)
(6)
PUR1.
and P2DRR.
and DRR1.
using registers VLT0 and VLT1.
Functions of I/O Ports
, P4_5,
,
Overview of I/O Ports
Functions of I/O Ports
I/O Type of Output
I/O CMOS3 state
I/O CMOS3 state
I/O CMOS3 state
I/O CMOS3 state
I/O CMOS3 state
I
Read the pin input level.
Write to the port latch.
When PDi_j Bit is Set to 0 (Input Mode)
(No output
function)
Set in 1-bit units Set in 4-bit units
Set in 1-bit units Set in 4-bit units
Set in 1-bit units Set in 3-bit units
Set in 1-bit units Set in 1-bit units
Set in 1-bit units Set in 4-bit units
None
I/O Setting
Value of PDi_j Bit in PDi Register
None
Internal Pull-Up
Resister
Read the port latch.
Write to the port latch. The value written to
the port latch is output from the pin.
When PDi_j Bit is Set to 1 (Output Mode)
(1)
(1)
(1)
(1)
(1)
Set in 4-bit units
Set in 1-bit units
Set in 3-bit units
Set in 1-bit units
Set in 4-bit units
None
Drive Capacity
Switch
(1)
(3)
(2)
(3)
(3)
(3)
Set in 8-bit units
Set in 8-bit units
Set in 6-bit units
Input Level Switch
7. I/O Ports
(4)
(4)
(4)

Related parts for R5F21346CNFP#U0