MCP4142 Microchip Technology Inc., MCP4142 Datasheet - Page 42
![no-image](/images/manufacturer_photos/0/4/440/microchip_technology_inc__sml.jpg)
MCP4142
Manufacturer Part Number
MCP4142
Description
7/8-bit Single/dual Spi Digital Pot With Volatile Memory
Manufacturer
Microchip Technology Inc.
Datasheet
1.MCP4142.pdf
(84 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
MCP4142-103E/P
Manufacturer:
Microchip
Quantity:
1 284
Company:
Part Number:
MCP4142-103E/SN
Manufacturer:
Microchip
Quantity:
267
Company:
Part Number:
MCP4142-104E/P
Manufacturer:
Microchip
Quantity:
149
Company:
Part Number:
MCP4142-104E/SN
Manufacturer:
Microchip
Quantity:
227
Company:
Part Number:
MCP4142-502E/P
Manufacturer:
Microchip
Quantity:
235
MCP414X/416X/424X/426X
6.2
The SPI module supports two (of the four) standard SPI
modes. These are Mode 0,0 and 1,1. The mode is
determined by the state of the SDI pin on the rising
edge of the 1st clock bit (of the 8-bit byte).
6.2.1
In Mode 0,0: SCK idle state = low (V
in on the SDI pin on the rising edge of SCK and clocked
out on the SDO pin on the falling edge of SCK.
6.2.2
In Mode 1,1: SCK idle state = high (V
clocked in on the SDI pin on the rising edge of SCK and
clocked out on the SDO pin on the falling edge of SCK.
FIGURE 6-3:
FIGURE 6-4:
DS22059A-page 42
SCK
Write to
SSPBUF
SDI
Input
Sample
SCK
Write to
SSPBUF
SDI
Input
Sample
CS
SDO
CS
SDO
V
V
The SPI Modes
IH
IH
MODE 0,0
MODE 1,1
bit15
AD3
bit15 bit14 bit13 bit12
V
V
V
V
IL
IHH
IHH
IL
bit14 bit13 bit12 bit11
AD2
bit15 bit14 bit13 bit12
bit15 bit14 bit13 bit12 bit11
AD3
16-Bit Commands (Write, Read) - SPI Waveform (Mode 1,1).
16-Bit Commands (Write, Read) - SPI Waveform (Mode 0,0).
AD1
AD2
AD1
AD0
IL
), data is clocked
AD0
C1
IH
bit10 bit9
C1
C0
), data is
bit9
bit10 bit9
CMDERR bit
C0
X
bit9
bit8
bit8
CMDERR bit
D8
X
bit7
bit7
bit8
bit8
D7
D8
6.3
Figure 6-3
command waveforms.
read and write commands.
are read commands when the SDI and SDO pins are
multiplexed on the same pin (SDI/SDO).
and
commands. The high voltage increment and decrement
commands are used to enable and disable WiperLock
Technology and Write Protect.
bit6
bit6
bit7
bit7
D7
D6
Figure 6-8
bit5
bit5
bit6
bit6
D6
D5
SPI Waveforms
through
bit5
bit4
bit5
bit4
D5
D4
bit3
bit3
bit4
bit4
D3
D4
are
Figure 6-8
bit2
bit2
bit3
bit3
Figure 6-3
D2
D3
© 2007 Microchip Technology Inc.
increment
bit1
bit1
bit2
bit2
Figure 6-5
D1
D2
show the different SPI
bit1
bit1
bit0
bit0
D1
D0
and
and
bit0
and
bit0
Figure 6-4
D0
decrement
Figure 6-6
Figure 6-7
are