Fig. 2.8.12 Address Data Communication Format - Renesas 7200 Series User Manual

Mitsubishi 8-bit single-chip microcomputer
Table of Contents

Advertisement

FUNCTIONAL DESCRIPTION
2.8 Multi-master I
(4) Address Data Communication
There are two address data communication formats, namely, 7-bit addressing format and 10-bit
addressing format. The respective address communication formats is described below.
7-bit addressing format
To meet the 7-bit addressing format, set the 10BIT SAD bit of the I
00DA
) to "0." The first 7-bit address data transmitted from the master is compared with the high-
16
order 7-bit slave address stored in the I
comparison, address comparison of the RBW bit of the I
made. For the data transmission format when the 7-bit addressing format is selected, refer to
"Figure 2.8.12, (1) and (2)."
10-bit addressing format
To meet the 10-bit addressing format, set the 10BIT SAD bit of the I
00DA
) to "1." An address comparison is made between the first-byte address data transmitted
16
from the master and the 7-bit slave address stored in the I
At the time of this comparison, an address comparison between the RBW bit of the I
register (address 00D8
the master is made. In the 10-bit addressing mode, the R/W bit which is the last bit of the address
data not only specifies the direction of communication for control data but also is processed as an
address data bit.
When the first-byte address data matches the slave address, the AAS bit of the I
(address 00D9
register (address 00D7
slave address by software. When the address data of the 2nd byte matches the slave address, set
the RBW bit of the I
match the 7-bit slave address and R/W data, which are received after a RESTART condition is
detected, with the value of the I
format when the 10-bit addressing format is selected, refer to "Figure 2.8.12, (3) and (4)."
S
Slave address
7 bits
(1) A master-transmitter transmits data to a slave-receiver
S
Slave address
7 bits
(2) A master-receiver receives data from a slave-transmitter
Slave address
S
1st 7 bits
7 bits
(3) A master-transmitter transmits data to a slave-receiver with a 10-bit address
Slave address
S
1st 7 bits
7 bits
(4) A master-receiver receives data from a slave-transmitter with a 10-bit address
S
: START condition
A
: ACK bit
Sr
: Restart condition

Fig. 2.8.12 Address data communication format

2-60
2
C-BUS interface
) and the R/W bit which is the last bit of the address data transmitted from
16
) is set to "1." After the second-byte address data is stored into the I
16
), make an address comparison between the second-byte data and the
16
2
C address register (address 00D8
2
C address register (address 00D8
R/W
A
Data
A
"0"
1 to 8 bits
R/W
A
Data
A
"1"
1 to 8 bits
Slave address
R/W
A
2nd byte
"0"
8 bits
Slave address
R/W
A
2nd byte
"0"
8 bits
P : STOP condition
R/W : Read/Write bit
7220 Group User's Manual
2
C address register (address 00D8
2
C address register (address 00D8
__
__
) to "1" by software. This processing can
16
__
Data
A/A
P
1 to 8 bits
Data
A
P
1 to 8 bits
A
Data
A
Data
1 to 8 bits
1 to 8 bits
Slave address
A
Sr
1st 7 bits
7 bits
From master to slave
From slave to master
2
C control register (address
). At the time of this
16
2
C control register (address
2
C address register (address 00D8
2
C status register
). For the data transmission
16
A/A
P
R/W
Data
A
Data
"1"
1 to 8 bits
1 to 8 bits
) is not
16
).
16
2
C address
2
C data shift
A
P

Advertisement

Table of Contents
loading

This manual is also suitable for:

7220

Table of Contents