English
Language : 

MCP413X Datasheet, PDF (51/88 Pages) Microchip Technology – 7/8-Bit Single/Dual SPI Digital POT with Volatile Memory
MCP413X/415X/423X/425X
7.5 Write Data
Normal and High Voltage
Note:
The High Voltage Write Data command is
supported for compatability with system
that also support MCP414X/416X/424X/
426X devices.
The Write command is a 16-bit command. The format
of the command is shown in Figure 7-2.
A Write command to a Volatile memory location
changes that location after a properly formatted Write
Command (16-clock) have been received.
7.5.1 SINGLE WRITE
The write operation requires that the CS pin be in the
active state (VILor VIHH). Typically, the CS pin will be in
the inactive state (VIH) and is driven to the active state
(VIL). The 16-bit Write Command (Command Byte and
Data Byte) is then clocked in on the SCK and SDI pins.
Once all 16 bits have been received, the specified
volatile address is updated. A write will not occur if the
write command isn’t exactly 16 clocks pulses. This
protects against system issues from corrupting the
memory locations.
Figure 6-3 and Figure 6-4 show possible waveforms
for a single write.
COMMAND BYTE
DATA BYTE
AAAA 0 0DDDDDDDDDD
SDI D D D D
9876543210
3210
SDO 1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1 Valid Address/Command combination
0 Invalid Address/Command combination (1)
Note 1: If an Error Condition occurs (CMDERR = L), all following SDO bits will be low until the CMDERR
condition is cleared (the CS pin is forced to the inactive state).
FIGURE 7-2:
Write Command - SDI and SDO States.
© 2008 Microchip Technology Inc.
DS22060B-page 51