Electronic Components Datasheet Search
  English  ▼

X  

MCP40D18 Datasheet(PDF) 38 Page - Microchip Technology

Part # MCP40D18
Description  7-Bit Single I2C??(with Command Code) Digital POT with Volatile Memory in SC70
PDF  66 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

MCP40D18 Datasheet(HTML) 38 Page - Microchip Technology

Back Button MCP40D18 Datasheet HTML 34Page - Microchip Technology MCP40D18 Datasheet HTML 35Page - Microchip Technology MCP40D18 Datasheet HTML 36Page - Microchip Technology MCP40D18 Datasheet HTML 37Page - Microchip Technology MCP40D18 Datasheet HTML 38Page - Microchip Technology MCP40D18 Datasheet HTML 39Page - Microchip Technology MCP40D18 Datasheet HTML 40Page - Microchip Technology MCP40D18 Datasheet HTML 41Page - Microchip Technology MCP40D18 Datasheet HTML 42Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 38 / 66 page
background image
MCP40D17/18/19
DS22152B-page 38
© 2009 Microchip Technology Inc.
5.4.1
WRITE OPERATION
The write operation requires the START condition,
Control
Byte,
Acknowledge,
Command
Code,
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 MCP40D17/
18/19 is responsible for generating the Acknowledge
(A) bits.
Data is written to the MCP40D17/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 MCP40D17/18/
19.
Data bytes may be written after each Acknowledge.
The command is terminated once a Stop (P) condition
occurs. Refer to Figure 5-12 for the single byte write
sequence and Figure 5-13 for the generic (multi-byte)
write sequence. 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.
The command is terminated once a Stop (P) or Restart
(S) condition occurs.
Figure 5-14 shows the I2C write communication
behavior of the Master Device and the MCP40D17/18/
19 device and the resultant I2C bus values.
5.4.2
READ OPERATIONS
The read operation requires the START condition,
Control
Byte,
Acknowledge,
Command
Code,
Acknowledge,
Restart
Condition,
Control
Byte,
Acknowledge, Data Byte, the master generating the
A and STOP (or RESTART) condition. The first Control
Byte requires the R/W bit equal to a logic zero (R/W =
“0”
) to write the Command Code, while the second
Control Byte requires the R/W bit equal to a logic one
(R/W = “1”) to generate a read sequence. The
MCP40D17/18/19 will A the Slave Address Byte and A
all the Data Bytes. The I2C Master will A the Slave
Address Byte and the last Data Byte. If there are
multiple Data Bytes, the I2C Master will A all Data Bytes
except the last Data Byte (which it will A).
The MCP40D17/18/19 maintains control of the SDA
signal until all data bits have been clocked out.
The command is terminated once a Stop (P) or Restart
(S) condition occurs. Refer to Figure 5-15 for the read
command 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-16 shows the I2C read communication
behavior of the Master Device and the MCP40D17/18/
19 device and the resultant I2C bus values.
FIGURE 5-12:
I2C Single Byte Write Command Format (Slave Address = “0101110”).
Note:
A command code with a non-zero value
will cause the data not to be written to the
wiper register
Note:
A command code with a non-zero value
will cause the data not to be read from the
wiper register
STOP bit
Slave Address Byte
Command Code
Data Byte
1
010
S
11
0
0
0
A0
0
0
A
D3
X D6 D5D4
D2D1 D0 A
Fixed
Address
P
Read/Write bit (“0” = Write)
00
0
0
S = Start Condition
P = Stop Condition
A = Acknowledge
X = Don’t Care
R/W = Read/Write bit
D6:D0 = Data bits
Legend



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com