User manual

MCP3422 Evaluation Board for PICkit™ Serial User’s Guide
DS51781A-page 16 © 2008 Microchip Technology Inc.
1.3.3 Reading the Conversion Data using the PICkit Serial Analyzer
You can read back the conversion data by following the next steps.
1.3.3.1 CREATING A SCRIPT FILE TO READ THE 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 with the right mouse button
on the parameter box. You can delete the parameter box or add a new one.
2. Make sure the Script Detail parameters are listed in order as follows:
FIGURE 1-13: Script File Sample to Read Conversion Data.
I2CSTART
I2CWRTBYT
01
D1
I2CRDBYTNLB
I2CSTOP
Script Detail
------> This means there is one byte for address
------> Address byte with W/R bit = 1101-0001
------> 5 bytes to read
5
*
*
*
*
Note: All 7 parameters above must be listed in order. The parameters above with
* are not modifiable.
Requesting
Address Byte
5 Bytes