MCP4018 MICROCHIP [Microchip Technology], MCP4018 Datasheet - Page 38

no-image

MCP4018

Manufacturer Part Number
MCP4018
Description
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MCP4018T-103E/LT
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
MCP4018T-103E/LT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
MCP4018T-104E/LT
Manufacturer:
Microchip
Quantity:
7 953
Part Number:
MCP4018T-104E/LT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
MCP4018T-104E/LT
0
Company:
Part Number:
MCP4018T-502E
Quantity:
70
Part Number:
MCP4018T-502E/LT
Manufacturer:
Freescale
Quantity:
176
Part Number:
MCP4018T-502E/LT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
MCP4018T-502E/LT
0
Part Number:
MCP4018T-503E/LT
Manufacturer:
Microchip
Quantity:
2 691
Part Number:
MCP4018T-503E/LT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
MCP4017/18/19
5.4.1
The write operation requires the START condition,
Control Byte, Acknowledge, Data Byte, Acknowledge
and STOP (or RESTART) condition. The Control (Slave
Address) Byte requires the R/W bit equal to a logic zero
(R/W = “0”) to generate a write sequence. The
MCP4017/18/19 is responsible for generating the
Acknowledge (A) bits.
Data is written to the MCP4017/18/19 after every byte
transfer (during the A bit). If a STOP or RESTART
condition is generated during a data transfer (before
the A bit), the data will not be written to MCP4017/18/
19.
Data bytes may be written after each Acknowledge.
The command is terminated once a Stop (P) condition
occurs. Refer to
For a single byte write, the master sends a STOP or
RESTART condition after the 1st data byte is sent.
The MSb of each Data Byte is a don’t care, since the
wiper register is only 7-bits wide.
Figure 5-14
the Master Device and the MCP4017/18/19 device and
the resultant I
FIGURE 5-12:
DS22147A-page 38
Legend
S = Start Condition
P = Stop Condition
A = Acknowledge
X = Don’t Care
R/W = Read/Write bit
D6, D5, D4, D3, D2, D1, D0 = Data bits
S
WRITE OPERATION
shows the I
2
C bus values.
0 1 0
Figure 5-12
Slave Address Byte
Fixed
Address
I
x D6 D5 D4
2
2
C Write Command Format.
C communication behavior of
1
Data Byte
1
for the write sequence.
1 1
D3 D2 D1 D0
0
A
Read/Write bit (“0” = Write)
x D6 D5 D4
A
Data Byte
x D6 D5 D4
Data Byte
D3
5.4.2
The read operation requires the START condition,
Control Byte, Acknowledge, Data Byte, the master
generating the A and STOP condition. The Control
Byte requires the R/W bit equal to a logic one (R/W =
1) to generate a read sequence. The MCP4017/18/19
will A the Slave Address Byte and A all the Data Bytes.
The I
last Data Byte. If there are multiple Data Bytes, the I
Master will A all Data Bytes except the last Data Byte
(which it will A).
The MCP4017/18/19 maintains control of the SDA
signal until all data bits have been clocked out.
The command is terminated once a Stop (P) condition
occurs. Refer to
sequence. For a single read, the master sends a STOP
or RESTART condition after the 1st data byte (and A
bit) is sent from the slave.
Figure 5-14
the Master Device and the MCP4017/18/19 device and
the resultant I
D2 D1 D0 A
2
D3
C Master will A the Slave Address Byte and the
D2 D1 D0 A P
READ OPERATIONS
shows the I
2
C bus values.
x D6 D5 D4
Figure 5-13
Data Byte
STOP bit
2
© 2009 Microchip Technology Inc.
C communication behavior of
D3
for the read command
D2 D1 D0 A
2
C

Related parts for MCP4018