r5f21346mnfp Renesas Electronics Corporation., r5f21346mnfp Datasheet - Page 588

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.15
26.5.3
Program processing
In receive mode, data is latched at the rising 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.15 shows the Operating Timing in Receive Mode (Clock Synchronous Serial Mode).
The receive procedure and operation in receive 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 MST bit to 1 while the transfer clock is being output. This will start the output of the receive clock.
(3) When the receive operation is completed, data is transferred from registers ICDRS to ICDRR and the
(4) When the MST bit is set to 1, set the RCVD bit in the ICCR1 register to 1 (next receive operation disabled)
ICDRR register
ICDRS register
ICCR1 register
ICCR1 register
ICSR register
RDRF bit in
ICCR1 register and the MST bit (initial setting).
RDRF bit in the ICSR register is set to 1. When the MST bit is set to 1, the clock is output continuously
since the next byte of data is enabled for reception. Continuous reception is enabled by reading the ICDRR
register every time the RDRF bit is set to 1. If the 8th clock cycle falls while the RDRF bit is set to 1, an
overrun is detected and the AL bit in the ICSR register is set to 1. At this time, the last receive data is
retained in the ICDRR register.
and read the ICDRR register. The SCL signal is fixed “H” after the following byte of data reception is
completed.
MST bit in
TRS bit in
Receive Operation
(input)
SDA
SCL
Operating Timing in Receive Mode (Clock Synchronous Serial Mode)
0
(2) Set MST bit to 1
(when transfer clock is output).
b0
1
b1
Data 1
2
(3) Read ICDRR register.
b6
7
b7
8
b0
Data 1
1
Data 2
b6
7
(3) Read ICDRR register.
b7
8
26. I
Data 2
1
Page 556 of 740
2
C bus Interface
b0
Data 3
2

Related parts for r5f21346mnfp