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
Содержание MCP401XEV
Страница 1: ...2010 Microchip Technology Inc DS51888A MCP401XEV Evaluation Board User s Guide...
Страница 4: ...MCP401XEV Evaluation Board User s Guide DS51888A page 4 2010 Microchip Technology Inc NOTES...
Страница 32: ...MCP401XEV Evaluation Board User s Guide DS51888A page 32 2010 Microchip Technology Inc A 3 BOARD SCHEMATIC M...
Страница 33: ...Schematic and Layouts 2010 Microchip Technology Inc DS51888A page 33 A 4 BOARD TOP TRACE SILK AND PADS...
Страница 35: ...Schematic and Layouts 2010 Microchip Technology Inc DS51888A page 35 A 6 BOARD LAYER 2 GROUND PLANE...
Страница 37: ...Schematic and Layouts 2010 Microchip Technology Inc DS51888A page 37 A 8 BOARD BOTTOM SILK TRACE AND PADS...
Страница 38: ...MCP401XEV Evaluation Board User s Guide DS51888A page 38 2010 Microchip Technology Inc NOTES...