background image

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.

Summary of Contents for MCP3423

Page 1: ...2008 Microchip Technology Inc DS51778A MCP3423 Evaluation Board User s Guide...

Page 2: ...hnology Incorporated in the U S A All other trademarks mentioned herein are property of their respective companies 2008 Microchip Technology Incorporated Printed in the U S A All Rights Reserved Print...

Page 3: ...ent Revision History 3 Chapter 1 Quick Start Instructions 1 1 Introduction 5 1 2 Description of the MCP3423 Evaluation Board 5 1 3 Getting Started with PICkit Serial Analyzer 6 1 4 Experiment for CH2...

Page 4: ...MCP3423 Evaluation Board User s Guide DS51778A page iv 2008 Microchip Technology Inc NOTES...

Page 5: ...ppendix A Schematic and Layouts shows the schematic and layout diagrams for the MCP3423 Evaluation Board Appendix B Bill of Materials BOM lists the parts used to build the MCP3423 Evaluation Board NOT...

Page 6: ...characters A dialog button Click OK A tab Click the Power tab N Rnnnn A number in verilog format where N is the total number of digits R is the radix and n is a digit 4 b0010 2 hF1 Text in angle brac...

Page 7: ...t Support Data sheets and errata application notes and sample programs design resources user s guides and hardware support documents latest software releases and archived software General Technical Su...

Page 8: ...MCP3423 Evaluation Board User s Guide DS51778A page 4 2008 Microchip Technology Inc NOTES...

Page 9: ...he conversion results using the PICkit Serial Analyzer and its PC graphic user interface GUI The MCP3423 Evaluation Board has the following interfaces PICkit Serial Analyzer P N DV164122 for writing c...

Page 10: ...e JP1 connector selects the VDD path a Connect JP1 if using VDD from PICkit Serial Analyzer b Disconnect JP1 and apply VDD at VDD1 pin if you are using an external VDD 4 Address bit selection using JP...

Page 11: ...n has an ESD diode Certain input conditions can damage the device Please use the following conditions a Do not apply an input greater than the input range specified by the MCP3423 Data Sheet b Apply t...

Page 12: ...ow to set up and use the PICkit Serial Analyzer PC Graphic User Interface GUI 1 Install the PICkit Serial Analyzer software onto your personal computer PC 2 Connect the USB cable between the PICkit Se...

Page 13: ...S51778A page 9 FIGURE 1 3 PICkit Serial Analyzer Configuration Window welcome window Click the Next button and follow the instructions 4 Select the Communication Mode type I2C Master and click the Nex...

Page 14: ...dow select 100 kHz or 400 kHz Either one will be fine Click the Next button FIGURE 1 5 Step 2 I2 C Communication Speed window Note The MCP3423 device supports the I2 C bus data rate up to 3 4 MHz but...

Page 15: ...kit Serial Analyzer If you choose PICkit Serial will power your device and 5 Volts as shown in Figure 1 7 the MCP3423 Evaluation Board is powered by the 5V DC from the PICkit Serial Analyzer through t...

Page 16: ...nc FIGURE 1 7 Step 4 Voltage Source selection window 8 Click the OK button You have made all of the PICkit Serial Analyzer Configuration Setups You are now ready to program the MCP3423 Evaluation Boar...

Page 17: ...1 CREATING SCRIPT FILE FOR CONFIGURATION BYTE WRITING 1 Click on WriteBlockAddrA8 in Example I2C Scripts column This will result in filling in the spaces under the Script Detail column You can now mod...

Page 18: ...sted parameters in script Detail are in the exact order as shown here I2CSTART I2CWRTBYT 02 DC 9C I2CSTOP Script Detail This means there are two bytes to send 1st Write Byte Address byte with W R bit...

Page 19: ...elow the Script Name menu 3 Click Save Script button 4 Click Execute Script button Address Byte Configuration Byte 9C Note The 9C in the configuration byte selects the following options Conversion Mod...

Page 20: ...nu the Busy LED on the PICkit Serial Analyzer will momentarily turn on and then turn off If the LED remains ON a communications problem has occurred Remove the PICkit Serial Analyzer from your compute...

Page 21: ...d In this case send a General Call Latch Command after the VDD is stabilized after about 20 seconds the PICKit Serial is powered See the example in Figure 1 13 Another method is power up the PICKit Se...

Page 22: ...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 fo...

Page 23: ...ial transmits the I2C Read Command to the MCP3423 device The saved file name will appear in Users I2C Scripts column and can be re used any time by selecting the file name Note When you click on the E...

Page 24: ...it is 0 3rd byte Data Byte 2nd byte Data Byte 1st byte Data Byte Requesting 5 Bytes Results Output code F907 in hex 63751 in decimal Output Voltage 63751 15 625 V LSB PGA 0 996 Volts with PGA 1 Readin...

Page 25: ...e RDY bit becomes 1 in the 5th byte repeated byte This means the device is now in the process of new conversion and the new result is not ready yet Zoom in Data Bytes 00F907 hex Zoom in Configuration...

Page 26: ...DS51778A page 22 2008 Microchip Technology Inc 1 4 EXPERIMENT FOR CH2 Repeat the instructions from Section 1 3 2 Creating Script Files to Section 1 3 4 Reading the Conversion Data using the PICkit Se...

Page 27: ...Inc DS51778A page 23 Appendix A Schematic and Layouts A 1 INTRODUCTION This appendix contains the following schematics and layouts for the MCP3424 Evalu ation Board Board Schematic Board Top Layer Bo...

Page 28: ...MCP3423 Evaluation Board User s Guide DS51778A page 24 2008 Microchip Technology Inc A 2 BOARD SCHEMATIC...

Page 29: ...Schematic and Layouts 2008 Microchip Technology Inc DS51778A page 25 A 3 BOARD TOP LAYER...

Page 30: ...MCP3423 Evaluation Board User s Guide DS51778A page 26 2008 Microchip Technology Inc A 4 BOARD TOP METAL LAYER...

Page 31: ...Schematic and Layouts 2008 Microchip Technology Inc DS51778A page 27 A 5 BOARD BOTTOM LAYER...

Page 32: ...MCP3423 Evaluation Board User s Guide DS51778A page 28 2008 Microchip Technology Inc A 6 BOARD BOTTOM METAL LAYER...

Page 33: ...A TIN Molex Waldom Electronics 22 05 2061 1 JP1 CONN HEADER 2POS 100 VERT TIN Molex Waldom Electronics 22 03 2021 2 JP2 JP3 CONN HEADER 3POS 100 STR TIN Molex Waldom Electronics 90120 0123 1 PCB RoHS...

Page 34: ...24 2334 2393 China Shenzhen Tel 86 755 8203 2660 Fax 86 755 8203 1760 China Wuhan Tel 86 27 5980 5300 Fax 86 27 5980 5118 China Xiamen Tel 86 592 2388138 Fax 86 592 2388130 China Xian Tel 86 29 8833 7...

Reviews: