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

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 326 of 573
22.3
Table 22.2
Notes:
Transfer data format
Transfer clock
Transmit/receive control
Transmit start conditions
Receive start conditions
Interrupt request generation
timing
Error detection
Selectable functions
In clock synchronous serial I/O mode, data is transmitted and received using a transfer clock.
Table 22.2 lists the Clock Synchronous Serial I/O Mode Specifications. Table 22.3 lists the Registers Used and
Settings in Clock Synchronous Serial I/O Mode.
1. When an external clock is selected, the requirements must be met in either of the following states:
2. If an overrun error occurs, the receive data in the U2RB register will be undefined. The IR bit in the S2RIC
- The external clock is held high when the CKPOL bit in the U2C0 register is set to 0 (transmit data output
- The external clock is held low when the CKPOL bit in the U2C0 register is set to 1 (transmit data output
register does not change to 1 (interrupt requested).
Clock Synchronous Serial I/O Mode
at the falling edge and receive data input at the rising edge of the transfer clock)
at the rising edge and receive data input at the falling edge of the transfer clock)
Item
Clock Synchronous Serial I/O Mode Specifications
Transfer data length: 8 bits
• The CKDIR bit in the U2MR register is set to 0 (internal clock): fj/(2(n+1))
• The CKDIR bit is set to 1 (external clock): Input from the CLK2 pin
Selectable from the CTS function, RTS function, or CTS/RTS function disabled.
To start transmission, the following requirements must be met:
• The TE bit in the U2C1 register is set to 1 (transmission enabled)
• The TI bit in the U2C1 register is set to 0 (data present in the U2TB register)
• If the CTS function is selected, input to the CTS2 pin = “L”.
To start reception, the following requirements must be met:
• The RE bit in the U2C1 register is set to 1 (reception enabled).
• The TE bit in the U2C1 register is set to 1 (transmission enabled).
• The TI bit in the U2C1 register is set to 0 (data present in the U2TB register).
For transmission, one of the following conditions can be selected.
• The U2IRS bit in the U2C1 register is set to 0 (transmit buffer empty):
• The U2IRS bit is set to 1 (transmission completed):
For reception
• When data is transferred from the UART2 receive register to the U2RB register
Overrun error
• CLK polarity selection
• LSB first, MSB first selection
• Continuous receive mode selection
• Serial data logic switching
fj = f1, f8, f32, fC n = setting value in the U2BRG register: 00h to FFh
When data is transferred from the U2TB register to the UART2 transmit register
(at start of transmission).
When data transmission from the UART2 transmit register is completed.
(at completion of reception).
Transfer data I/O can be selected to occur synchronously with the rising or falling
edge of the transfer clock.
Whether transmitting or receiving data begins with bit 0 or begins with bit 7 can be
selected.
Reception is enabled immediately by reading the U2RB register.
This function inverts the logic value of the transmit/receive data.
This error occurs if the serial interface starts receiving the next unit of data before
reading the U2RB register and receives the 7th bit of the next unit of data.
(2)
Specification
22. Serial Interface (UART2)
(1)
(1)

Related parts for R5F21324CNSP#U0