Renesas Hitachi H8S/2194 Series Hardware Manual page 578

16-bit single-chip microcomputer
Table of Contents

Advertisement

[10] Set the ACKB bit in ICSR to 1 so as to return "No acknowledge" data. Also set the TRS bit
to 1 to switch from receive mode to transmit mode.
[11] Clear IRIC flag to 0 to release from the Wait State.
[12] When one frame of data has been received, the IRIC flag is set to 1 at the rise of the 9th
receive clock pulse.
[13] Clear the WAIT bit to 0 to switch from wait mode to no wait mode. Read ICDR and the
IRIC flag to 0. Clearing of the IRIC flag should be after the WAIT = 0.
[14] Clear the BBSY bit and SCP bit to 0. This changes SDA from low to high when SCL is
high, and generates the stop condition.
Master transmit mode
SCL
9
(master output)
SDA
A
(slave output)
SDA
(master output)
IRIC
IRTR
ICDR
User processing
[1] TRS cleared to 0
WAIT set to 1
ACKB cleared to 0
Figure 25.7 Example of Master Receive Mode Operation Timing
Master receive mode
1
2
3
4
5
Bit7
Bit6
Bit5
Bit4
Bit3
Data 1
[2] ICDR read
[2] IRIC clearance
(dummy read)
These processes are executed continuously.
(MLS = ACKB = 0, WAIT = 1)
6
7
8
Bit2
Bit1
Bit0
[3]
A
[4] IRC clearance
These processes are executed continuously.
Rev. 2.0, 11/00, page 551 of 1037
9
1
2
3
4
Bit7
Bit6
Bit5
Bit4
Bit3
Data 2
[5]
Data 1
[6] ICDR read
[7] IRIC clearance
(Data 1)
5

Advertisement

Table of Contents
loading

Table of Contents