R5F21257SNFP#U0 Renesas Electronics America, R5F21257SNFP#U0 Datasheet - Page 65
![IC R8C/25 MCU FLASH 52LQFP](/photos/12/37/123739/r5f21257snfp_u0_sml.jpg)
R5F21257SNFP#U0
Manufacturer Part Number
R5F21257SNFP#U0
Description
IC R8C/25 MCU FLASH 52LQFP
Manufacturer
Renesas Electronics America
Series
R8C/2x/25r
Specifications of R5F21257SNFP#U0
Core Processor
R8C
Core Size
16/32-Bit
Speed
20MHz
Connectivity
I²C, LIN, SIO, SSU, UART/USART
Peripherals
POR, Voltage Detect, WDT
Number Of I /o
41
Program Memory Size
48KB (48K x 8)
Program Memory Type
FLASH
Ram Size
2.5K x 8
Voltage - Supply (vcc/vdd)
2.2 V ~ 5.5 V
Data Converters
A/D 12x10b
Oscillator Type
Internal
Operating Temperature
-20°C ~ 85°C
Package / Case
52-LQFP
For Use With
R0K521256S000BE - KIT EVAL STARTER FOR R8C/25
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
- Current page: 65 of 527
- Download datasheet (6Mb)
R8C/24 Group, R8C/25 Group
Rev.3.00
REJ09B0244-0300
7.
There are 41 programmable Input/Output ports (I/O ports) P0 to P2, P3_0, P3_1, P3_3 to P3_5, P3_7, P4_3 to P4_5,
and P6. Also, P4_6 and P4_7 can be used as input-only ports if the XIN clock oscillation circuit is not used, and the
P4_2 can be used as an input-only port if the A/D converter is not used.
Table 7.1 lists an Overview of Programmable I/O Ports.
7.1
Table 7.1
NOTES:
Table 7.2
i = 0 to 4, 6 j = 0 to 7
NOTE:
P0 to P2, P6
P3_0, P3_1, P3_3 to
P3_4, P3_5, P3_7
P4_3
P4_4, P4_5
P4_2
P4_6, P4_7
Reading
Writing
Operation When
The PDi_j (j = 0 to 7) bit in the PDi (i = 0 to 4, 6) register controls I/O of the ports P0 to P2, P3_0, P3_1, P3_3 to
P3_5, P3_7, P4_3 to P4_5, 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.7 show the Configurations of Programmable I/O Ports. Table 7.2 lists the Functions of
Programmable I/O Ports. Also, Figure 7.9 shows the PDi (i = 0 to 4 and 6) Registers. Figure 7.10 shows the Pi (i =
0 to 4 and 6) Registers, Figure 7.11 shows Registers PUR0 and PUR1, Figure 7.12 shows the PMR Register, Figure
7.13 shows the P2DRR Register.
Programmable I/O Ports
1. In input mode, whether an internal pull-up resistor is connected or not can be selected by registers
2. When the A/D converter is not used, this port can be used as the input-only port.
3. When the XIN clock oscillation circuit is not used, these ports can be used as the input-only ports.
1. Nothing is assigned to bits PD3_2, PD3_6, PD4_0 to PD4_2, PD4_6, and PD4_7.
Pi Register
Accessing
(2)
PUR0 and PUR1.
Functions of Programmable I/O Ports
Feb 29, 2008
Ports
(3)
Overview of Programmable I/O Ports
Functions of Programmable I/O Ports
Read pin input level
Write to the port latch
When PDi_j Bit is Set to 0 (Input Mode)
I/O
I/O CMOS3 State
I/O CMOS3 State
I/O CMOS3 State
I/O CMOS3 State
Page 46 of 485
I
(No output function)
Type of Output
Value of PDi_j Bit in PDi Register
Set per bit
Set per bit
Set per bit
Set per bit
None
Read the port latch
Write to the port latch. The value written to
the port latch is output from the pin.
I/O Setting
When PDi_j Bit is Set to 1 (Output Mode)
(1)
Internal Pull-Up Resister
Set every 4 bits
Set every 3 bits
Set every bit
Set every 2 bits
None
7. Programmable I/O Ports
(1)
(1)
(1)
(1)
Related parts for R5F21257SNFP#U0
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![R0K330290S001BE](/photos/28/41/284146/r0k330290s001be_tmb.jpg)
Part Number:
Description:
KIT STARTER FOR M16C/29
Manufacturer:
Renesas Electronics America
Datasheet:
![R0K5212D8S001BE](/photos/24/13/241324/4607177_tmb.jpg)
Part Number:
Description:
KIT STARTER FOR R8C/2D
Manufacturer:
Renesas Electronics America
Datasheet:
![R0K33062PS001BE](/photos/24/13/241320/4607173_tmb.jpg)
Part Number:
Description:
R0K33062P STARTER KIT
Manufacturer:
Renesas Electronics America
Datasheet:
![R0K521237S001BE](/photos/28/41/284170/r0k521237s001be_tmb.jpg)
Part Number:
Description:
KIT STARTER FOR R8C/23 E8A
Manufacturer:
Renesas Electronics America
Datasheet:
![R0K521256S001BE](/photos/24/13/241323/4607176_tmb.jpg)
Part Number:
Description:
KIT STARTER FOR R8C/25
Manufacturer:
Renesas Electronics America
Datasheet:
![YLCDRSK2456S](/images/manufacturer_photos/0/5/560/renesas_electronics_america_tmb.jpg)
Part Number:
Description:
KIT STARTER H8S2456 SHARPE DSPLY
Manufacturer:
Renesas Electronics America
Datasheet:
![R0K521380S000BE](/photos/28/41/284144/r0k521380s000be_tmb.jpg)
Part Number:
Description:
KIT STARTER FOR R8C38C
Manufacturer:
Renesas Electronics America
Datasheet:
![R0K521350S000BE](/photos/28/41/284145/r0k521350s000be_tmb.jpg)
Part Number:
Description:
KIT STARTER FOR R8C35C
Manufacturer:
Renesas Electronics America
Datasheet:
![R0K52L3A0S000BE](/photos/28/41/284149/r0k52l3a0s000be_tmb.jpg)
Part Number:
Description:
KIT STARTER FOR R8CL3AC+LCD APPS
Manufacturer:
Renesas Electronics America
Datasheet:
![R0K556100S000BE](/images/manufacturer_photos/0/5/560/renesas_electronics_america_tmb.jpg)
Part Number:
Description:
KIT STARTER FOR RX610
Manufacturer:
Renesas Electronics America
Datasheet:
![R0K564189S000BE](/photos/28/41/284173/r0k564189s000be_tmb.jpg)
Part Number:
Description:
KIT STARTER FOR R32C/118
Manufacturer:
Renesas Electronics America
Datasheet:
![R0K521276S000BE](/photos/9/26/92647/r0k521276s000be_tmb.jpg)
Part Number:
Description:
KIT DEV RSK-R8C/26-29
Manufacturer:
Renesas Electronics America
Datasheet:
![R0K571242S001BE](/photos/9/23/92397/r0k571242s001be_tmb.jpg)
Part Number:
Description:
KIT STARTER FOR SH7124
Manufacturer:
Renesas Electronics America
Datasheet:
![R0K561622S000BE](/photos/9/23/92398/r0k561622s000be_tmb.jpg)
Part Number:
Description:
KIT STARTER FOR H8SX/1622
Manufacturer:
Renesas Electronics America
Datasheet:
![R0K572030S000BE](/photos/9/24/92406/r0k572030s000be_tmb.jpg)
Part Number:
Description:
KIT DEV FOR SH7203
Manufacturer:
Renesas Electronics America
Datasheet: