Figure 15.14 Transmit Mode Operation Timing; Receive Operation - Renesas H8/36912 Series User Manual

16-bit single-chip microcomputer
Hide thumbs Also See for H8/36912 Series:
Table of Contents

Advertisement

SCL
SDA
(Output)
TRS
TDRE
ICDRT
ICDRS
User
[3] Write data
processing
[2] Set TRS

Receive Operation:

In receive mode, data is latched at the rise of the transfer clock. The transfer clock is output when
MST in ICCR1 is 1, and is input when MST is 0. For receive mode operation timing, refer to
figure 15.15. The reception procedure and operations in receive mode are described below.
1. Set the ICE bit in ICCR1 to 1. Set the MST and CKS3 to CKS0 bits in ICCR1 to 1. (Initial
setting)
2. When the transfer clock is output, set MST to 1 to start outputting the receive clock.
3. When the receive operation is completed, data is transferred from ICDRS to ICDRR and
RDRF in ICSR is set. When MST = 1, the next byte can be received, so the clock is
continually output. The continuous reception is performed by reading ICDRR every time
RDRF is set. When the 8th clock is risen while RDRF is 1, the overrun is detected and
AL/OVE in ICSR is set. At this time, the previous reception data is retained in ICDRR.
4. To stop receiving when MST = 1, set RCVD in ICCR1 to 1, then read ICDRR. Then, SCL is
fixed high after receiving the next byte data.
Downloaded from
Elcodis.com
electronic components distributor
1
2
Bit 0
Bit 1
Data 1
Data 1
[3] Write data
to ICDRT
to ICDRT

Figure 15.14 Transmit Mode Operation Timing

7
8
1
Bit 6
Bit 7
Bit 0
Data 2
Data 2
Rev. 1.00, 11/03, page 247 of 376
7
8
1
Bit 6
Bit 7
Bit 0
Data 3
Data 3
[3] Write data
[3] Write data
to ICDRT
to ICDRT

Advertisement

Table of Contents
loading

Table of Contents