R5F21162SP#U0 Renesas Electronics America, R5F21162SP#U0 Datasheet - Page 151

IC R8C MCU FLASH 8K 20SSOP

R5F21162SP#U0

Manufacturer Part Number
R5F21162SP#U0
Description
IC R8C MCU FLASH 8K 20SSOP
Manufacturer
Renesas Electronics America
Series
M16C™ M16C/R8C/Tiny/16r
Datasheets

Specifications of R5F21162SP#U0

Core Processor
R8C
Core Size
16-Bit
Speed
20MHz
Connectivity
I²C, SIO, UART/USART
Peripherals
LED, POR, Voltage Detect, WDT
Number Of I /o
13
Program Memory Size
8KB (8K x 8)
Program Memory Type
FLASH
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 4x10b
Oscillator Type
Internal
Operating Temperature
-20°C ~ 85°C
Package / Case
20-SSOP
For Use With
R0K521134S000BE - KIT EVAL STARTER FOR R8C/13
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
R8C/16 Group, R8C/17 Group
Rev.2.10
REJ09B0169-0210
Table 14.5
NOTES:
Table 14.6
U0TB
U0RB
U0BRG
U0MR
U0C0
U0C1
UCON
TXD0(P1_4)
RXD0(P1_5)
CLK0(P1_6)
Table 14.6 lists the I/O Pin Functions in Clock Asynchronous Serial I/O Mode. After the UART0 operating
mode is selected, the TXD0 pin outputs “H” level (If the NCH bit is set to “1” (N-channel open-drain
outputs), this pin is in a high-impedance state) until transfer starts.
1. The bits used for transmit/receive data are as follows: Bits 0 to 6 when transfer data is 7-bit long; bits
Pin name
Register
0 to 7 when transfer data is 8-bit long; bits 0 to 8 when transfer data is 9-bit long.
Jan 19, 2006
Registers to Be Used and Settings in UART Mode
I/O Pin Functions in Clock Asynchronous Serial I/O Mode
0 to 8
0 to 8
OER,FER,PER,SUM
0 to 7
SMD2 to SMD0
CKDIR
STPS
PRY, PRYE
CLK0, CLK1
TXEPT
NCH
CKPOL
UFORM
TE
TI
RE
RI
U0IRS, U1IRS
U0RRM
CNTRSEL
Output serial data
Input serial data
Programmable I/O Port
Input transfer clock
Page 136 of 254
Function
Bit
Set transmit data
Receive data can be read
Error flag
Set a bit rate
Set to “100b” when transfer data is 7-bit long
Set to “101b” when transfer data is 8-bit long
Set to “110b” when transfer data is 9-bit long
Select the internal clock or external clock
Select the stop bit
Select whether parity is included and odd or even
Select the count source for the U0BRG register
Transmit register empty flag
Select TXD0 pin output mode
Set to “0”
LSB first or MSB first can be selected when transfer data is 8-bit
long. Set to “0” when transfer data is 7- or 9-bit long.
Set to “1” to enable transmit
Transmit buffer empty flag
Set to “1” to enable receive
Receive complete flag
Select the factor of UART0 transmit interrupt
Set to “0”
Set to “1” to select P1_5/RXD0/CNTR01/INT11
(Cannot be used as a port when performing receive only)
PD1_5 bit in the PD1 register=0
(P1_5 can be used as an input port when performing transmit
only)
CKDIR bit in the U0MR register=0
CKDIR bit in the U0MR register=1
PD1_6 bit in the PD1 register=0
(1)
Selection Method
(1)
Function
14. Serial Interface

Related parts for R5F21162SP#U0