MCP401XEV Evaluation Board User’s Guide
DS51888A-page 26
©
2010 Microchip Technology Inc.
To create the read script for the MCP40D18, double click on the ReadAddrA8 script in
the “Example I2CM Scripts” column. This loads the script (see Figure 2-10) into the
“Script Detail” column. Modify the script details so that it looks like Figure 2-12. Then,
in the “Script Name” write the name that you would like to call the script. We chose
“MCP40D18_Read” (see Figure 2-12).
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-12:
MCP40D18 Read 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)
Device I
2
C Address
+ Read/Write bit (= ‘1’)
# of Data bytes to read
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...