r5f21346mnfp Renesas Electronics Corporation., r5f21346mnfp Datasheet - Page 587

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
Figure 26.14
26.5.2
In transmit mode, transmit data is output from the SDA pin in synchronization with the falling edge of the
transfer clock. The transfer clock is output when the MST bit in the ICCR1 register is set to 1 and input when
the MST bit is set to 0.
Figure 26.14 shows the Operating Timing in Transmit Mode (Clock Synchronous Serial Mode).
The transmit procedure and operation in transmit mode are as follows.
(1) Set the ICE bit in the ICCR1 register to 1 (transfer operation enabled). Then set bits CKS0 to CKS3 in the
(2) Set the TRS bit in the ICCR1 register to 1 to select transmit mode. This will set the TDRE bit in the ICSR
(3) After confirming that the TDRE bit is set to 1, write transmit data to the ICDRT register. Data is transferred
Program processing
ICCR1 register and the MST bit (initial setting).
register to 1.
from registers ICDRT to ICDRS and the TDRE bit is automatically set to 1. Continuous transmission is
enabled by writing data to the ICDRT register every time the TDRE bit is set to 1. To switch from transmit
to receive mode, set the TRS bit to 0 while the TDRE bit is set to 1.
ICDRS register
ICDRT register
ICCR1 register
Transmit Operation
ICSR register
TDRE bit in
TRS bit in
(output)
Operating Timing in Transmit Mode (Clock Synchronous Serial Mode)
SDA
SCL
(2) Set TRS bit to 1.
(3) Write data to
ICDRT register.
Data 1
b0
Data 1
1
b1
(3) Write data to
2
ICDRT register.
b6
Data 2
7
b7
8
b0
Data 2
1
(3) Write data to
b6
ICDRT register.
7
b7
8
(3) Write data to
Data 3
26. I
Data 3
ICDRT register.
b0
Page 555 of 740
2
1
C bus Interface

Related parts for r5f21346mnfp