h8s-2138 Renesas Electronics Corporation., h8s-2138 Datasheet - Page 543

no-image

h8s-2138

Manufacturer Part Number
h8s-2138
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
16.3.3
In master receive mode, the master device outputs the receive clock, receives data, and returns an
acknowledge signal. The slave device transrnits data.
The receive procedure and operations by which data is sequentially received in synchronization
with ICDR read operations, are described below.
[1] Clear the TRS bit of ICCR to 0 and switch from transmit mode to receive mode. Set the
[2] When ICDR is read (dummy data read), reception is started and the receive clock is output,
Note: Data write
User processing
timing in ICDR
(slave output)
(master output)
(master output)
WAIT bit to 1 and clear the ACKB bit of ICSR to 0 (acknowledge data setting).
and data is received, in synchronization with the internal clock. To indicate the wait, clear the
IRIC flag to 0.
Reading from ICDR and clearing of the IRIC f1ag must be executed continuously so that no
interrupt is inserted.
If a period of time that is equal to transfer one byte has elapsed by the time the IRIC flag is
cleared, the end of transfer cannot be identified.
SDA
IRTR
ICDR
IRIC
SDA
SCL
ICDR Writing
prohibited
Master Receive Operation
Figure 16.7 Example of Master Transmit Mode Operation Timing
[4] Write BBSY = 1
Start condition
generation
and SCP = 0
(start condition
issuance)
[5]
ICDR Writing
enable
[6] ICDR write
address + R/W
bit 7
1
bit 6
(MLS = WAIT = 0)
2
bit 5
Section 16 I
3
Slave address
bit 4
4
[6] IRIC clear
bit 3
5
Rev. 4.00 Jun 06, 2006 page 489 of 1004
2
C Bus Interface [H8S/2138 Group Option]
bit 2
6
bit 1
7
R/W
bit 0
8
[7]
A
9
[9] ICDR write
REJ09B0301-0400
Data 1
bit 7
1
Data 1
[9] IRIC clear
bit 6
2

Related parts for h8s-2138