User manual

MCP3425 SOT23-6 Evaluation Board User’s Guide
DS51787A-page 18 © 2009 Microchip Technology Inc.
1.3.3 Reading the Conversion Data using the PICkit Serial Analyzer
You can read back the conversion data with the following steps.
1.3.3.1 CREATING A SCRIPT FILE TO READ CONVERSION DATA
1. Click on ReadAddrA8 in “Example I2C Scripts” column.
This will result in filling in the spaces under the Script Detail column.
Now you can modify the parameter boxes (delete or insert) in the Script Detail
column with options. The list of options will appear if you click the right mouse but-
ton at the parameter box. You can delete the parameter box or add a new one.
Make sure the “Script Detail” parameters are listed in order, as following:
I2CSTART
I2CWRTBYT
01
D1
I2CRDBYTNLB
I2CSTOP
Script Detail
------> This means there is one byte to send for address
------> Address byte with W
/R bit = 1101-0001
------> 4 bytes to read
4
*
*
*
*
Note: All 7 parameters above must be listed in the same order as shown here.
The parameters above with * are not modifiable. Address bits (A2, A1, A0)
= (0,0,0) for the MCP3425 SOT23-6 Evaluation Board. See the MCP3425
Data Sheet for more information on address bit selections.