r5f21346mnfp Renesas Electronics Corporation., r5f21346mnfp Datasheet - Page 513

no-image

r5f21346mnfp

Manufacturer Part Number
r5f21346mnfp
Description
Single-chip Mcus Incorporates The R8c Cpu Core
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
r5f21346mnfp#V0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
R8C/34M Group
R01UH0131EJ0100 Rev.1.00
Jun 21, 2011
Table 23.12
Notes:
Source of UART2 bus
collision interrupt
Source of UART2
transmit/NACK2
Source of UART2
receive/ACK2
Timing for transferring data
from UART reception shift
register to U2RB register
UART2 transmission output
delay
TXD2/SDA2 functions
RXD2/SCL2 functions
CLK2 functions
Noise filter width
Read of RXD2 and SCL2
pin levels
Initial value of TXD2 and
SDA2 outputs
Initial and end values of
SCL2
DTC source number 14
DTC source number 15
Storage of receive data
Read of receive data
1.
2.
3.
4.
5.
6.
If the source of any interrupt is changed, the IR bit in the interrupt control register for the changed interrupt may inadvertently be set to 1
(interrupt requested). (Refer to 11.8 Notes on Interrupts .)
If one of the bits listed below is changed, the interrupt source, the interrupt timing, and others change. Therefore, always be sure to set the IR
bit to 0 (interrupt not requested) after changing these bits.
Bits SMD2 to SMD0 in the U2MR register, the IICM bit in the U2SMR register, the IICM2 bit in the U2SMR2 register, and the CKPH bit in the
U2SMR3 register.
Set the initial value of SDA2 output while bits SMD2 to SMD0 in the U2MR register are 000b (serial interface disabled).
Second data transfer to the U2RB register (rising edge of SCL2 9th bit)
First data transfer to the U2RB register (falling edge of SCL2 9th bit)
Refer to Figure 23.16 STSPSEL Bit Functions .
Refer to Figure 23.14 Transfer to U2RB Register and Interrupt Timing .
Function
(1, 6)
(1, 6)
(1, 5)
I
2
C Mode Functions
(6)
(6)
-
UART2 transmission
Transmission started or
completed (selectable by
U2IRS bit)
UART2 reception
When 8th bit received
CKPOL = 0 (rising edge)
CKPOL = 1 (falling edge)
CKPOL = 0 (rising edge)
CKPOL = 1 (falling edge)
No delay
TXD2 output
RXD2 input
CLK2 input or output port
selected
15 ns
Possible when the
corresponding port
direction bit = 0
CKPOL = 0 (“H”)
CKPOL = 1 (“L”)
-
UART2 reception
When 8th bit received
CKPOL = 0 (rising edge)
CKPOL = 1 (falling edge)
UART2 transmission
Transmission started or
completed (selectable by
U2IRS bit)
1st to 8th bits of the
received data are stored
in bits b0 to b7 in the
U2RB register.
The U2RB register status is read.
(SMD2 to SMD0 = 001b,
Clock Synchronous
Serial I/O Mode
IICM = 0)
Start condition detection or stop condition detection
(Refer to Table 23.13 STSPSEL Bit Functions )
No acknowledgment
detection (NACK)
Rising edge of SCL2 9th bit
Acknowledgment detection (ACK)
Rising edge of SCL2 9th bit
Rising edge of SCL2 9th bit
With delay
SDA2 I/O
SCL2 I/O
− (Cannot be used in I
200 ns
Possible regardless of the content of the corresponding port direction bit.
The value set in the port register before setting I
“H”
Acknowledgment detection (ACK)
UART2 transmission
Rising edge of SCL2
9th bit
1st to 8th bits of the received data are
stored in bits b7 to b0 in the U2RB register.
(No Clock Delay)
CKPH = 0
IICM2 = 0 (NACK/ACK interrupt)
2
“L”
UART2 transmission
Falling edge of SCL2
next to 9th bit
C mode.)
I
2
(With Clock Delay)
C Mode (SMD2 to SMD0 = 010b, IICM = 1)
CKPH = 1
UART2
transmission
Rising edge of
SCL2 9th bit
UART2 reception
Falling edge of SCL2 9th bit
Falling edge of
SCL2 9th bit
“H”
UART2 reception
Falling edge of SCL2 9th bit
UART2
transmission
Rising edge of
SCL2 9th bit
1st to 7th bits of the received data are stored
in bits b6 to b0 in the U2RB register. 8th bit is
stored in bit b8 in the U2RB register.
IICM2 = 1 (UART transmit/receive interrupt)
(No Clock Delay)
2
C mode.
CKPH = 0
23. Serial Interface (UART2)
(2)
UART2 transmission
Falling edge of SCL2
next to 9th bit
Falling and rising edges
of SCL2 9th bit
“L”
UART2 transmission
Falling edge of SCL2
next to 9th bit
1st to 8th bits are
stored in bits b7 to b0 in
the U2RB register.
Bits b6 to b0 in the
U2RB register are read
as bits b7 to b1. Bit b8
in the U2RB register is
read as bit b0.
(With Clock Delay)
Page 481 of 740
CKPH = 1
(4)
(3)

Related parts for r5f21346mnfp