Start Condition; Address; Transfer Direction Specification - NEC PD78052 User Manual

Pd78054 series; pd78054y series 8-bit single-chip microcontrollers
Table of Contents

Advertisement

CHAPTER 17 SERIAL INTERFACE CHANNEL 0 ( PD78054Y Subseries)
(a) Start condition
When the SDA0 (SDA1) pin level is changed from high to low while the SCL pin is high, this transition is
recognized as the start condition signal. This start condition signal, which is created using the SCL and SDA0
(or SDA1) pins, is output from the master device to slave devices to initiate a serial transfer. See section
17.4.5, "Cautions on Use of I
The start condition signal is detected by hardware incorporated in slave devices.
SDA0(SDA1)
(b) Address
The 7 bits following the start condition signal are defined as an address.
The 7-bit address data is output by the master device to specify a specific slave from among those connected
to the bus line. Each slave device on the bus line must therefore have a different address.
Therefore, after a slave device detects the start condition, it compares the 7-bit address data received and the
data of the slave address register (SVA). After the comparison, only the slave device in which the data are a
match becomes the communication partner, and subsequently performs communication with the master device
until the master device sends a start condition or stop condition signal.
SCL
SDA0(SDA1)
(c) Transfer direction specification
The 1 bit that follows the 7-bit address data will be sent from the master device, and it is defined as the transfer
direction specification bit. If this bit is 0, it is the master device which will send data to the slave. If it is 1, it
is the slave device which will send data to the master.
Figure 17-17. Transfer Direction Specification
SCL
SDA0(SDA1)
2
C Bus Mode," for details of the start condition output.
Figure 17-15. Start Condition
H
SCL
Figure 17-16. Address
1
2
A6
A5
1
2
A6
A5
3
4
5
6
A4
A3
A2
A1

Address

3
4
5
6
A4
A3
A2
A1
7
A0
R/W
7
8
A0
R/W
Transfer direction
specification
369

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents