Installation and Operation
©
2010 Microchip Technology Inc.
DS51888A-page 25
To create the write script for the MCP40D18, double click on the WriteAddrA8 script in
the “Example I2CM Scripts” column. This loads the script (see Figure 2-9) into the
“Script Detail” column. Modify the script details so that it looks like Figure 2-11. Then,
in the “Script Name” write the name that you would like to call the script. We chose
“MCP40D18_Write” (see Figure 2-11).
Then click on the “Save Script” button. This will save the script, which can then be
accessed under the “User I2CM Script” column (see Figure 2-11). This script will be
available when the GUI is opened in the future (unless the script has been cleared or
deleted).
FIGURE 2-11:
MCP40D18 Write Script File.
Note:
The saved User Scripts are saved to a text file. The file is saved in the
PICkit Serial Analyzer directory. This User Scripts file is called:
CommScripts.txt
The default install location of the file is:
C:\Program Files\Microchip\PICkit Serial Analyzer
Device I
2
C Address
+ Read/Write bit (= ‘0’)
Command Code = “00”
(in Hex)
Data value to write
to Wiper = 7F (in hex)
Summary of Contents for MCP401XEV
Page 1: ...2010 Microchip Technology Inc DS51888A MCP401XEV Evaluation Board User s Guide...
Page 4: ...MCP401XEV Evaluation Board User s Guide DS51888A page 4 2010 Microchip Technology Inc NOTES...
Page 38: ...MCP401XEV Evaluation Board User s Guide DS51888A page 38 2010 Microchip Technology Inc NOTES...