MCP43XXEV Evaluation Board User’s Guide
DS51892A-page 26
©
2010 Microchip Technology Inc.
Double clicking on the WriteWiper0 User SPI Script will load the Script Details.
Figure 2-10 shows what the values mean in the Script Details. These values are hex
numbers.
The first value (02h), is the number of bytes that will be written. The second byte is a
data byte and contains the Device Register Address, the Device Command, and the
two Most Significant bits (MSb) of the write data. The third byte is the second data byte
and contains the remaining 8 bits of the write data.
FIGURE 2-10:
Example Write Script.
Number of Bytes that will
be written
Data Byte #1
Data Byte #2
(Device Register A
(Write Data “D7:D0”)
C Data bit “D8”)