Datasheet
Quick Start Instructions
© 2008 Microchip Technology Inc. DS51737A-page 17
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 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 click the right mouse
button at the parameter box. You can delete the parameter box or add a new one.
2. Make sure you have the “Script Detail” parameters are 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 7 parameters above must be listed in order. The permeates above with
* 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 MCP3424 Data Sheet for more information on
address bit selections.