User manual

MCP3423 Evaluation Board User’s Guide
DS51778A-page 18 © 2008 Microchip Technology Inc.
1.3.4 Reading the Conversion Data using the PICkit Serial Analyzer
You can read back the conversion data with the following steps.
1.3.4.1 CREATING SCRIPT FILE TO READ CONVERSION DATA
1. Click on ReadAddrA8 in “Example I2C Scripts” column.
This will result in filling in the spaces under “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 right-click the mouse in
the parameter box. You can delete the parameter box or add a new one.
2. Make sure you have the “Script Detail” parameters listed in order as follows:
I2CSTART
I2CWRTBYT
01
DD
I2CRDBYTNLB
I2CSTOP
Script Detail
This means there is one byte for address
Address byte with W
/R bit = 1101-1101
5 bytes to read
5
*
*
*
*
Note: All seven parameters above must be listed in order. The parameters above
marked with * character are not modifiable.
Address bits (A2, A1, A0) = (1,1,0) if both JP2 and JP3 are tied to V
DD
. You
can use different address bits by rearranging the JP1 and JP2 connectors.
See MCP3423 Data Sheet for more information on address bit selections.