R5F21324CNSP#U0 Renesas Electronics America, R5F21324CNSP#U0 Datasheet - Page 84

MCU 1KB FLASH 16K ROM 20-LSSOP

R5F21324CNSP#U0

Manufacturer Part Number
R5F21324CNSP#U0
Description
MCU 1KB FLASH 16K ROM 20-LSSOP
Manufacturer
Renesas Electronics America
Series
R8C/3x/32Cr
Datasheet

Specifications of R5F21324CNSP#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
15
Program Memory Size
16KB (16K x 8)
Program Memory Type
FLASH
Ram Size
1.5K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 4x10b
Oscillator Type
Internal
Operating Temperature
-20°C ~ 85°C
Package / Case
20-LSSOP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
R8C/32C Group
REJ09B0573-0100 Rev.1.00 Dec. 18, 2009
Page 55 of 573
7.
There are 15 I/O ports P1, P3_3 to P3_5, P3_7, and P4_5 to P4_7 (P4_6 and P4_7 can be used as I/O ports if the XIN
clock oscillation circuit and the XCIN clock oscillation circuit are not used.).
If the A/D converter is 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 = 1, 3, 4, j = 0 to 7
Note:
P1
P3_3
P3_4, P3_5,
P3_7
P4_5, P4_6
P4_7
P4_2
Read
Write
Operation When
The PDi_j (j = 0 to 7) bit in the PDi (i = 1, 3, 4) register controls I/O of the ports P1, P3_3 to P3_5, P3_7, and P4_5
to P4_7. 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 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 the 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 XIN clock oscillation circuit and the XCIN clock oscillation circuit are not used, these ports can be
6. When the A/D converter is not used, this port can be used as an input-only ports.
1. Nothing is assigned to bits PD4_0 to PD4_2.
Pi Register
Accessing
Ports
(6)
(5)
PUR1.
register.
and DRR1.
using registers VLT0 and VLT1.
used as I/O ports.
Also, bits PD3_0 to PD3_2, PD3_6, PD4_3, and PD4_4 are reserved bits.
Functions of I/O Ports
(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
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 1-bit units
Set in 1-bit units Set in 3-bit units
Set in 1-bit units Set in 3-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)
Set in 1-bit units
Set in 1-bit units
Set in 3-bit units
Set in 3-bit units
None
Drive Capacity
Switch
(1)
(2)
(3)
(3)
(3)
Set in 8-bit units
Set in 4-bit units
Set in 4-bit units
Input Level Switch
7. I/O Ports
(4)
(4)
(4)

Related parts for R5F21324CNSP#U0