MCP413X/415X/423X/425X
7.4
Continuous Commands
Note 1: It is recommended that while the CS pin is
active, only one type of command should
be issued. When changing commands, it
is recommended to take the CS pin
inactive then force it back to the active
state.
The device supports the ability to execute commands
continuously. While the CS pin is in the active state
(VIL or VIHH). Any sequence of valid commands may be
received.
The following example is a valid sequence of events:
2: It is also recommended that long
command strings should be broken down
into shorter command strings. This
reduces the probability of noise on the
SCK pin corrupting the desired SPI
command string.
1. CS pin driven active (VIL or VIHH).
2. Read Command.
3. Increment Command (Wiper 0).
4. Increment Command (Wiper 0).
5. Decrement Command (Wiper 1).
6. Write Command.
7. Write Command.
8. CS pin driven inactive (VIH).
TABLE 7-3:
COMMANDS
Command Name
High Voltage
# of Bits
(VIHH) on CS
pin?
Write Data
16-Bits
16-Bits
8-Bits
—
—
Read Data
Increment Wiper
—
Decrement Wiper
8-Bits
—
High Voltage Write Data
High Voltage Read Data
High Voltage Increment Wiper
16-Bits
16-Bits
8-Bits
Yes
Yes
Yes
Yes
High Voltage Decrement Wiper
8-Bits
DS22060B-page 50
© 2008 Microchip Technology Inc.