DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

PIC16C72-10SP View Datasheet(PDF) - Microchip Technology

Part Name
Description
Manufacturer
PIC16C72-10SP
Microchip
Microchip Technology 
PIC16C72-10SP Datasheet PDF : 288 Pages
First Prev 91 92 93 94 95 96 97 98 99 100 Next Last
Applicable Devices
72 73 73A 74 74A 76 77
PIC16C7X
Figure 11-19 and Figure 11-20 show Master-transmit-
ter and Master-receiver data transfer sequences.
When a master does not wish to relinquish the bus (by
generating a STOP condition), a repeated START con-
dition (Sr) must be generated. This condition is identi-
cal to the start condition (SDA goes high-to-low while
SCL is high), but occurs after a data transfer acknowl-
edge pulse (not the bus-free state). This allows a mas-
ter to send “commands” to the slave and then receive
the requested information or to address a different
slave device. This sequence is shown in Figure 11-21.
FIGURE 11-19: MASTER-TRANSMITTER SEQUENCE
For 7-bit address:
For 10-bit address:
S Slave Address R/W A Data A Data A/A P
'0' (write)
data transferred
(n bytes - acknowledge)
S Slave Address R/W A1 Slave Address A2
First 7 bits
Second byte
(write)
A master transmitter addresses a slave receiver with a
7-bit address. The transfer direction is not changed.
Data A Data A/A P
From master to slave
From slave to master
A = acknowledge (SDA low)
A = not acknowledge (SDA high)
S = Start Condition
P = Stop Condition
A master transmitter addresses a slave receiver
with a 10-bit address.
FIGURE 11-20: MASTER-RECEIVER SEQUENCE
For 7-bit address:
For 10-bit address:
S Slave Address R/W A Data A Data A P
'1' (read)
data transferred
(n bytes - acknowledge)
S Slave Address R/W A1 Slave Address A2
First 7 bits
Second byte
(write)
A master reads a slave immediately after the first byte.
From master to slave
From slave to master
A = acknowledge (SDA low)
A = not acknowledge (SDA high)
S = Start Condition
P = Stop Condition
Sr Slave Address R/W A3 Data A Data A P
First 7 bits
(read)
A master transmitter addresses a slave receiver
with a 10-bit address.
FIGURE 11-21: COMBINED FORMAT
(read or write)
(n bytes + acknowledge)
S Slave Address R/W A Data A/A Sr Slave Address R/W A Data A/A P
(read)
Sr = repeated (write)
Start Condition
Direction of transfer
may change at this point
Transfer direction of data and acknowledgment bits depends on R/W bits.
Combined format:
Sr Slave Address R/W A Slave Address A Data A
First 7 bits
Second byte
(write)
Data A/A Sr Slave Address R/W A Data A
First 7 bits
(read)
Data A P
Combined format - A master addresses a slave with a 10-bit address, then transmits
data to this slave and reads data from this slave.
From master to slave
From slave to master
A = acknowledge (SDA low)
A = not acknowledge (SDA high)
S = Start Condition
P = Stop Condition
© 1997 Microchip Technology Inc.
DS30390E-page 91

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]