Home

MCP3425 SOT23-6 Evaluation Board User's Guide

image

Contents

1. g L 40 19945 HOS LH L6LOB BI uupu lli DI9 D9 P Aq UMDIJ 80 8 1 9XLYGH Lf STATE x IF gt m A 1 MOd orr Sy bt AR Ane dNGS JASS dNG HG Lo vy cy ae I dNG I 9 7 vas TOS G aday ssAV z 9 NIA NIA I GCYCdON LA ayog god G34 5 b b ONO vas AA u UlA TOS ddA vdi dl dl dl Ldl Gdl 9dl 80 87 1 ubisag DHIUI 810G Sd ON UOISIASY 9 8 V 2009 Microchip Technology lnc DS51787A page 24 Schematic and Layouts A 3 BOARD TOP LAYER 2009 Microchip Technology Inc DS51787A page 25 MCP3425 SOT23 6 Evaluation Board Users Guide A 4 BOARD TOP METAL LAYER Power 00000 0 1 MCP3425 BABS SOT23 6 Eval board 192 09191 DS51787A page 26 2009 Microchip Technology Inc Schematic and Layouts A 5 BOARD BOTTOM LAYER Is 1094 09191 R1 2009 Microchip Technology Inc DS51787A page 27 MCP3425 SOT23 6 Evaluation Board Users Guide NOTES DS51787A page 28 2009 Microchip Technology Inc MCP3425 EVALUATION BOARD USER S GUIDE MICROCHIP Appendix B Bill Of Materials BOM TABLE B 1 BILL OF MATERIALS Qty Reference Description Manufacturer Part Numbe
2. Note If you are using external Vpp connect the external Vpp at Vpp pad 4 Connect Vpp if external Vpp is used Note Do not connect Vpp if you are using the Vpp from the PICkit Serial Analyzer The PICkit Serial Analyzer provides the Vpp automatically if it is connected to the PC 5 LED D1 is turned on when Vpp is applied Note Ifthe Vpp is provided from the PICkit Serial Analyzer then the LED may not be turned on until you execute a command See Section 1 3 2 1 Creating a Script File for Configuration Byte Writing for executing the 12C command 6 Connecting analog inputs If you need to measure single ended input connect the unused pin for example Vin to Vss 7 Use the PICkit Serial Analyzer PC GUI to send I C write and read commands See Section 1 3 2 1 Creating a Script File for Configuration Byte Writing 8 Execute the PICkit Serial Analyzer Script file and obtain the ADC conversion results The conversion results appear on the PICkit Serial Analyzer PC GUI You can also observe the conversion results using the oscilloscope CAUTION The analog input pin has ESD diodes Certain input conditions can damage the device Please pay attention to the following conditions a Do not apply input greater than the input range specified by the MCP3425 data sheet b Apply input signal after the Vpp is powered up 2009 Microchip Technology Inc DS51787A page 7
3. 2009 Microchip Technology Inc MICROCHIP M CP3425 SOT 23 6 Evaluation Board User s Guide DS51787A Note the following details of the code protection feature on Microchip devices Microchip products meet the specification contained in their particular Microchip Data Sheet Microchip believes that its family of products is one of the most secure families of its kind on the market today when used in the intended manner and under normal conditions There are dishonest and possibly illegal methods used to breach the code protection feature All of these methods to our knowledge require using the Microchip products in a manner outside the operating specifications contained in Microchip s Data Sheets Most likely the person doing so is engaged in theft of intellectual property Microchip is willing to work with the customer who is concerned about the integrity of their code Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code Code protection does not mean that we are guaranteeing the product as unbreakable Code protection is constantly evolving We at Microchip are committed to continuously improving the code protection features of our products Attempts to break Microchip s code protection feature may be a violation of the Digital Millennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work you may have a r
4. 1 3 2 1 CREATING A SCRIPT FILE FOR CONFIGURATION BYTE WRITING 1 Click on WriteBlockAddrA8 in Example I C Scripts column e This will result in filling in the spaces under Script Detail column Now you can modify the Script Detail column parameters by clicking with the right mouse button Modifying the Script Details parameters 1 Under the Script Detail box select the item in the parameter box 2 Right click the mouse button and an option box appears to the right of your selection This gives you the options that are available for the parameter selected 3 Select the desired options delete or insert the parameter box 4 Keep the parameters in the same order as shown in the image below 1 PICkit Serial 2C Master Mode Communications PICkit Serial Analyzer Demo Boards Leker Defned Templates View Window Heb View Basic Communications Basic Operations Reset Script Builder BEE Example 2C Scripls Scrpt Detail User 12 Scripts Script Name Read ddr i2csTaRT MC23425 fr 16bt ER MCP3425 Read M00 MCP3425 Wi 16bi Wrre ddr 8 MCP3425 V IBD ISA 2DWRTBYT ReadBbck dd 8 200x Save Script 02 T po x 98 x 1 To change value c ei e Click this box and i205TOP type a new value 2 To delete or insert box Del Uj e Choose the box and right click the mouse button for options available 5hd 3 Make sure the listed parameters in Script Detail are in the exact order as shown
5. MCP3425 SOT23 6 Evaluation Board User s Guide Personal Computer USB Cable Connected between the PICkit Serial analyzer and Personal Computer PICkit Serial Analyzer Sensor Input Connectors MCP3425 Evaluation Board FIGURE 1 2 MCP3425 SOT23 6 Evaluation Board with the PICkit Serial Analyzer 1 3 1 PICkitTM Serial Analyzer PC Software Set Up for the MCP3425 Evaluation Board The following steps describe how to set up and use the PICkit Serial Analyzer PC Graphic User Interface GUI to write the configuration bits of the MCP3425 on the MCP3425 SOT23 6 Evaluation Board and read the ADC conversion results 1 Installthe PICkit Serial Analyzer software onto your personal computer PC 2 Connect the USB cable between the PICkit Serial Analyzer and your PC 3 Run the PICkit Serial PC Software the following graphic user interface GUI will appear Click the Next button and follow the instructions DS51787A page 8 2009 Microchip Technology Inc Guick Start Instructions Configuration Wizard x f Welcome To The PICkit Serial Analyzer id X Configuration Wizard s a es qu ru 1 waa R lt He The following steps will guide you through the G setup of the PICkit Serial Analyzer De ce FIGURE 1 3 PICkit Serial Analyzer Configuration Wizard Welcome Window 4 Select the Communication Mode type I C Master and click the Next button Con
6. Table of Contents Pr face EE AUA 1 VA Od CHOM sei e a te na mais 1 Doc MENE La Ua si s O a 1 Conventions Used in this Guide nement rn ona 2 Recommended Reading nl 3 The Microchip Web Site a 3 CUSTOMISE SUPPOM gt SP L 3 Document Revision History n aku tail nas 4 Chapter 1 Guick Start Instructions 1 1 IAtOdUCtION AR RE mpwa wawa ushay sss payaa payaka sayan 5 1 2 Description of the MCP3425 SOT23 6 Evaluation Board 5 1 3 Getting Started with PICKit Serial Analyzer 7 Appendix A Schematic and Layouts Al IMtroductiON EA RS asya sawka waya kasa kanya 23 AZ Board Schematics AHA 24 A 3 Board Top Layer tk ne tee nues 25 AA Board Top Metal Layer sisal ln AT Ae Nan 26 AS Board Bottom Layer i ER St tasse dares 27 Appendix B Bill Of Materials BOM Worldwide Sales and Service U 30 2009 Microchip Technology Inc DS51787A page iii MCP3425 SOT23 6 Evaluation Board User s Guide NOTES DS51787A page iv 2009 Microchip Technology Inc MCP3425 SOT23 6 EVALUATION MICROCHIP BOARD USERS GUIDE Preface NOTICE TO CUSTOMERS All documentation becomes dated and this manual is no exception Microchip tools and documentation are constantly evolving to mee
7. any valid filename Square brackets Optional arguments mcc18 options file options Curly brackets and pipe Choice of mutually exclusive errorlevel 011 character arguments an OR selection Ellipses Replaces repeated text var_name var name Represents code supplied by void main void user DS51787A page 2 2009 Microchip Technology Inc Preface RECOMMENDED READING This users guide describes how to use the MCP 3425 SOT23 6 Evaluation Board with the PICkit Serial Analyzer The following Microchip documents are available and rec ommended as supplemental reference resources PICkit Serial Analyzer User s Guide DS51647 Consult this document for instructions on how to use the PICkit Serial Analyzer hardware and software MCP3425 Data Sheet 16 bit Analog to Digital Converter with C Interface and On Board Reference DS22072 This data sheet provides detailed information regarding the MCP3425 product THE MICROCHIP WEB SITE Microchip provides online support via our web site at www microchip com This web site is used as a means to make files and information easily available to customers Accessible by using your favorite Internet browser the web site contains the following information Product Support Data sheets and errata application notes and sample programs design resources user s guides and hardware support documents latest software releases and archi
8. Fax 91 20 2566 1513 Japan Yokohama Tel 81 45 471 6166 Fax 81 45 471 6122 Korea Daegu Tel 82 53 744 4301 Fax 82 53 744 4302 Korea Seoul Tel 82 2 554 7200 Fax 82 2 558 5932 or 82 2 558 5934 Malaysia Kuala Lumpur Tel 60 3 6201 9857 Fax 60 3 6201 9859 Malaysia Penang Tel 60 4 227 8870 Fax 60 4 227 4068 Philippines Manila Tel 63 2 634 9065 Fax 63 2 634 9069 Singapore Tel 65 6334 8870 Fax 65 6334 8850 Taiwan Hsin Chu Tel 886 3 572 9526 Fax 886 3 572 6459 Taiwan Kaohsiung Tel 886 7 536 4818 Fax 886 7 536 4803 Taiwan Taipei Tel 886 2 2500 6610 Fax 886 2 2508 0102 Thailand Bangkok Tel 66 2 694 1351 Fax 66 2 694 1350 EUROPE Austria Wels Tel 43 7242 2244 39 Fax 43 7242 2244 393 Denmark Copenhagen Tel 45 4450 2828 Fax 45 4485 2829 France Paris Tel 33 1 69 53 63 20 Fax 33 1 69 30 90 79 Germany Munich Tel 49 89 627 144 0 Fax 49 89 627 144 44 Italy Milan Tel 39 0331 742611 Fax 39 0331 466781 Netherlands Drunen Tel 31 416 690399 Fax 31 416 690340 Spain Madrid Tel 34 91 708 08 90 Fax 34 91 708 08 91 UK Wokingham Tel 44 118 921 5869 Fax 44 118 921 5820 01 02 08 DS51722A page 30 2009 Microchip Technology Inc
9. here Execute Script FIGURE 1 10 Modifying Parameters in the Script Builder Window EEE DS51787A page 14 2009 Microchip Technology Inc Guick Start Instructions 5 Change the parameter value Script Detail I2CSTART I2CWRTBYT 0 gt This means there are two bytes to send DO gt 1st Write Byte Address byte with W R bit 1101 0000 99 gt 2nd Write Byte Configuration byte 1001 1000 I2CSTOP Note All 6 parameters above must be listed in the same order as shown here The parameters above with are not modifiable Address bits A2 A1 AO 0 0 0 for this evaluation board See the MCP3425 Data Sheet for more information on address bit selection w sST lt rv oa r mm sa m rm 2009 Microchip Technology Inc DS51787A page 15 MCP3425 SOT23 6 Evaluation Board User s Guide 44 PICkit Serial 12C Master Mode Communications PICkit Serial Analyzer Demo Boards User Defined Templates View Window Help Views Basic Communications Basic Operations Reset Script Builder x Example 120 Scripts Script Detail 17 User 120 Scripts Script Name FRead ddi a MCP3425 wr 16bit WiiteAddrAG I2CSTART MCP3425 Read 000 Mcpa425 wi 15b WtiteBlock ddr 8 ZOWRTBYT a Readblock dd 8 Save Script Clear cript Address Byte Del User Scripts Del User Scripte Show Any Show Array Configuration Byt
10. 009 Microchip Technology Inc Guick Start Instructions 44 PICkit Serial 12C Master Mode Communications PICkit Serial Analyzer Demo Boards User Defined Templates View Window Help View Basic Communications Basic Operations Reset Script Builder BEE Example 12C Scripts Script Detail User 120 Scripts Script Name Readdddrds 2CSTART MCP3425 Wr_16bit MCP3425 Read 000 WiteAddAS Cathal MCP3425 Read O00 WriteBlockAddiA3 22YATBYT z ReadBlock ddr 8 0 Save Script x D x Execute Script PCEDEYTNLE Clear Script 4 x I2CSTOP Reguesting Del User Scripts Show Array FIGURE 1 13 Script File Sample to Read Conversion Data 2 Type in any script name i e MCP3425 Read in the space below the Script Name menu 3 Click Save Script button 4 Click Execute Script button Note At this point the PICkit Serial transmits the 1 C Read Command to the MCP3425 device The saved file name will appear in Users I2C Scripts column and can be re used any time by selecting the file name 5 You can also see the SCL and SDA waveforms using the oscilloscope Note When you click on the Execute Script menu 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 computer and recheck the parameter values in the order of parameters under the Sc
11. e 98 5 41 19 PM Sent script from Script Builder page 9 bytes 5 w_ 02 Do C98 PL js T p 1 Note the 98 in the configuration byte selects the following options Conversion Mode Continuous Conversion Bit Resolution 16 bits Gain Selection 1x FIGURE 1 11 Script File Example for the FC Write Command EE EE EE EE DS51787A page 16 2009 Microchip Technology Inc Guick Start Instructions 1 3 2 2 SAVING THE SCRIPT FILE AND PROGRAMMING THE CONFIGURATION REGISTER 1 Change the 2nd and 3rd data bytes you want in the Script Detail 2 Typein any script name i e MCP3425 Wr 16Bit in the space below the Script Name menu 3 Click Save Script button 4 Click Execute Script button Note Atthis point the PICkit Serial transmits the 12C Write command to the MCP3425 device The saved file name will appear in Users I2C Scripts column and can be re used any time by selecting the file name 5 You can also see the SCL and SDA waveforms using the oscilloscope Note When you click on the Execute Script menu 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 computer and recheck the parameter values in the order of parameters under the Script Detail column Try again until the Busy LED goes OFF immediately after executi
12. e reading indicates the measured value is 0 501V See Figure 1 15 for waveforms DS51787A page 20 2009 Microchip Technology Inc Guick Start Instructions Data Bytes 0101AD hex a Read command and outputs The 3 data bytes are zoomed in for better clarity 3rd Byte 3rd Byte 4th Byte En Configuration Byte and Repeated Configuration Byte b Read command and outputs The last two data bytes are zoomed in for better clarity FIGURE 1 15 Read Command and Data on FC bus Note the RDY bit in 3rd byte is 0 This means the conversion data just read is the latest conversion data After the RDY bit is read out at the 3rd byte the RDY bit becomes now 1 in the 4th byte repeated byte This means the device is now in the process of a new conversion and the latest conversion result is not ready yet 2009 Microchip Technology Inc DS51787A page 21 MCP3425 SOT23 6 Evaluation Board User s Guide NOTES DS51787A page 22 2009 Microchip Technology Inc AN MCP3425 SOT23 6 EVALUATION MICROCHIP BOARD USER S GUIDE Appendix A Schematic and Layouts A 1 INTRODUCTION This appendix contains the following schematics and layouts for the MCP3425 SOT23 6 Evaluation Board Board Schematic Board Top Layer Board Top Metal Layer Board Bottom Layer 2009 Microchip Technology Inc DS51787A page 23 MCP3425 SOT23 6 Evaluation Board Users Guide BOARD SCHEMATIC A 2
13. e following topics are covered e Description of the MCP3425 SOT23 6 Evaluation Board e Using MCP3425 SOT23 6 Evaluation Board with the PICkit Serial Analyzer to evaluate the MCP3425 device 1 2 DESCRIPTION OF THE MCP3425 SOT23 6 EVALUATION BOARD The MCP3425 SOT23 6 Evaluation Board P N MCP3425EV contains a MCP3425 16 bit Delta Sigma Analog to Digital Converter ADC The MCP3425 is an 16 bit single channel ADC device with various options The MCP3425 SOT23 6 Evaluation Board has analog input connection pads and Vpp SDA and SCL test pads The user can connect any sensor input signal to this evaluation board and test the ADC conversion results The PICkit Serial Analyzer s PC graphic user interface GUI provides the user s interface for configuration register bits of the MCP3425 and displays the ADC conversion values The PICkit Serial Analyzer links between the GUI and the MCP3425 SOT23 6 Evaluation Board and provides the I C communication to the MCP3425 SOT23 6 Evaluation Board The user also can use this MCP3425 SOT23 6 Evaluation Board without the PICkit Serial Analyzer by providing the 12C communication signal to the SDA and SCL test pads on the board This evaluation board has the following interfaces e PICkit Serial Analyzer P N DV164122 for writing configuration register bits and reading the conversion data Note The user can use this board without the PICkit Serial Analyzer as long as the Vpp SCL and SDA are prov
14. figuration Wizard x Communication Mode Page 1 of 4 Choose which mode of communication you wish to use 12C Master SPI Master USART Async USART Sync Master ee lt Back Next gt Cancel FIGURE 1 4 Step 1 Communication Mode Selection C 2009 Microchip Technology Inc DS51787A page 9 MCP3425 SOT23 6 Evaluation Board User s Guide 5 Select 100 kHz or 400 kHz Either one will be fine Click the Next button Configuration Wizard x Communication Speed Page 2 of 4 Select your 2C communication speed Communication speed may also be 100kHz adjusted by using the Configure s Mode page from the PICkit Serial 400 kHz Analyzer menu dropdown after completing the Configuration Wizard lt Back Next gt Cancel FIGURE 1 5 Step 2 FC Communication Speed Window Note The MCP3425 device supports the I C bus data rate up to 3 4 MHz butthe current version of the PICkit Serial Analyzer supports the 12C bus data rate up to 400 kHz only 6 Select No on Enable Pull ups and click the Next button Note The MCP3425 SOT23 6 Evaluation Board has its own pull up resistors Configuration Wizard Device Pullups Page 3 of 4 eke Do you need to enable pullups for your device 5 5 Enable Pullups C Yes No lt Back Next gt Cancel FIGURE 1 6 Step 3 Device Pullups Window DS51787A page 10 2009 Microchip Technol
15. he schematic and layout diagrams for the MCP3425 SOT23 6 Evaluation Board e Appendix B Bill Of Materials BOM lists the parts used to build the MCP3425 SOT23 6 Evaluation Board 2009 Microchip Technology Inc DS51787A page 1 MCP3425 SOT23 6 Evaluation Board User s Guide CONVENTIONS USED IN THIS GUIDE This manual uses the following documentation conventions DOCUMENTATION CONVENTIONS Description Represents Examples Arial font Italic characters Referenced books MPLAB IDE User s Guide Emphasized text is the only compiler Initial caps A window the Output window A dialog the Settings dialog A menu selection select Enable Programmer Quotes A field name in a window or __ Save project before build dialog Underlined italic text with A menu path File gt Save right angle bracket Bold characters A dialog button Click OK A tab Click the Power tab N Rnnnn A number in verilog format 460010 2hF1 where N is the total number of digits R is the radix and n is a digit Text in angle brackets lt gt A key on the keyboard Press lt Enter gt lt F1 gt Courier New font Plain Courier New Sample source code define START Filenames autoexec bat File paths c mcci8 h Keywords _asm _endasm static Command line options Opa Opa Bit values 0 1 Constants OxFF A Italic Courier New A variable argument file o where filecan be
16. ided to the board This evaluation board does not include MCU The user can monitor the I C communications by connecting an oscilloscope to the SDA and SCL test pads Refer to Appendix A Schematic and Layouts 2009 Microchip Technology Inc DS51787A page 5 MCP3425 SOT23 6 Evaluation Board User s Guide 1 2 1 I2C Address Bits The I2C device code and address bits of the MCP3425 device in this evaluation board are pre programmed at factory Code 1101000 Powe ya yt AAA MCP3425 222888 SOT25 6 Evol board JP1 102 00191 FIGURE 1 1 Front and Back Views of the MCP3425 SOT23 6 Evaluation Board DS51787A page 6 2009 Microchip Technology Inc Guick Start Instructions 1 3 GETTING STARTED WITH PICKIT SERIAL ANALYZER Figure 1 1 shows the MCP3425 SOT23 6 Evaluation Board while Figure 1 2 shows the evaluation board and the PICkit Serial Analyzer connection The following instructions show how to use them together 1 Connect the MCP3425 SOT23 6 Evaluation Board s J1 pin socket to the PICkit Serial Analyzer as shown in Figure 1 2 2 Connect oscilloscope probes to SCL and SDA test pins optional 3 Vpp selection You can use the Vpp from the PICkit Serial Analyzer or your own external Vpp You can select the Vpp path using the JP1 connector a Connect JP1 if using Vpp from PICkit Serial Analyzer b Disconnect JP1 and apply Vpp at the Vpp pad if you are using external Vpp
17. ight to sue for relief under that Act Information contained in this publication regarding device applications and the like is provided only for your convenience and may be superseded by updates It is your responsibility to ensure that your application meets with your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATION INCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY OR FITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchip devices in life support and or safety applications is entirely at the buyer s risk and the buyer agrees to defend indemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from such use No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights QUALITY MANAGEMENT SYSTEM CERTIFIED BY DNV ISO TS 16949 2002 Trademarks The Microchip name and logo the Microchip logo Accuron dsPIC KEELOQ KEELOQ logo MPLAB PIC PICmicro PICSTART rfPIC SmartShunt and UNI O are registered trademarks of Microchip Technology Incorporated in the U S A and other countries FilterLab Linear Active Thermistor MXDEV MXLAB SEEVAL SmartSensor and The Embedded Control Solutions Company are registered trademarks of Microchip Techno
18. ington Hills MI Tel 248 538 2250 Fax 248 538 2260 Kokomo Kokomo IN Tel 765 864 8360 Fax 765 864 8387 Los Angeles Mission Viejo CA Tel 949 462 9523 Fax 949 462 9608 Santa Clara Santa Clara CA Tel 408 961 6444 Fax 408 961 6445 Toronto Mississauga Ontario Canada Tel 905 673 0699 Fax 905 673 6509 ASIA PACIFIC Asia Pacific Office Suites 3707 14 37th Floor Tower 6 The Gateway Harbour City Kowloon Hong Kong Tel 852 2401 1200 Fax 852 2401 3431 Australia Sydney Tel 61 2 9868 6733 Fax 61 2 9868 6755 China Beijing Tel 86 10 8528 2100 Fax 86 10 8528 2104 China Chengdu Tel 86 28 8665 5511 Fax 86 28 8665 7889 China Hong Kong SAR Tel 852 2401 1200 Fax 852 2401 3431 China Nanjing Tel 86 25 8473 2460 Fax 86 25 8473 2470 China Qingdao Tel 86 532 8502 7355 Fax 86 532 8502 7205 China Shanghai Tel 86 21 5407 5533 Fax 86 21 5407 5066 China Shenyang Tel 86 24 2334 2829 Fax 86 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 7252 Fax 86 29 8833 7256 China Zhuhai Tel 86 756 3210040 Fax 86 756 3210049 ASIA PACIFIC India Bangalore Tel 91 80 4182 8400 Fax 91 80 4182 8422 India New Delhi Tel 91 11 4160 8631 Fax 91 11 4160 8632 India Pune Tel 91 20 2566 1512
19. logy Incorporated in the U S A Analog for the Digital Age Application Maestro CodeGuard dsPICDEM dsPICDEM net dsPICworks dsSPEAK ECAN ECONOMONITOR FanSense In Circuit Serial Programming ICSP ICEPIC Mindi MiWi MPASM MPLAB Certified logo MPLIB MPLINK mTouch PICkit PICDEM PICDEM net PICtail PIC32 logo PowerCal Powerlnfo PowerMate PowerTool REAL ICE rfLAB Select Mode Total Endurance WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the U S A and other countries SQTP is a service mark of Microchip Technology Incorporated in the U S A All other trademarks mentioned herein are property of their respective companies 2009 Microchip Technology Incorporated Printed in the U S A All Rights Reserved LA Printed on recycled paper Microchip received ISO TS 16949 2002 certification for its worldwide headquarters design and wafer fabrication facilities in Chandler and Tempe Arizona Gresham Oregon and design centers in California and India The Company s quality system processes and procedures are for its PIC MCUs and dsPIC DSCs KEELOG code hopping devices Serial EEPROMs microperipherals nonvolatile memory and analog products In addition Microchip s quality system for the design and manufacture of development systems is ISO 9001 2000 certified DS51787A page ii 2009 Microchip Technology Inc MCP3425 SOT23 6 EVALUATION MICROCHIP BOARD USERS GUIDE
20. ng the write command INA Wii IM Write Command with Address bits Configuration Bits FIGURE 1 12 C Write Command Waveforms for the MCP3425 2009 Microchip Technology Inc DS51787A page 17 MCP3425 SOT23 6 Evaluation Board User s Guide 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 12C 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 Script Detail I2CSTART I2CWRTBYT OT gt This means there is one byte to send for address D1 aua gt Address byte with W R bit 1101 0001 I2CRDBYTNLB A ka gt 4 bytes to read I2CSTOP x 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 AO 0 0 0 for the MCP3425 SOT23 6 Evaluation Board See the MCP3425 Data Sheet for more information on address bit selections RON DS51787A page 18 2
21. ogy Inc Guick Start Instructions 7 Select the Vpp voltage of the MCP3425 SOT23 6 Evaluation Board and click the Next button Case 1 When you use Vpp from the PICKit Serial Analyzer If you choose PICkit Serial will power my device and 5 Volt as shown below the MCP3425 SOT23 6 Evaluation Board is powered by the 5V DC from the PICkit Serial Analyzer through the JP1 jumper In this case make sure that the JP1 jumper on the MCP3425 SOT23 6 Evaluation Board is connected Case 2 When you use your own Vpp You can also provide your own Vpp voltage by applying a Vpp voltage at Vpp test point on the board In this case make sure that the JP1 jumper is disconnected Configuration Wizard x Voltage Source Page 4 of 4 xz Does PICkit Serial need to power your device k Voltage jy PICKit Serial will power my device ji RAS 5 If PICkit Serial will power your fe 5Wolt device select the checkbox to Other the left then determine your voltage 5 0 lt Back Next gt Cancel FIGURE 1 7 Step 4 Voltage Source Selection Window EEA _____ ___ ee 2009 Microchip Technology Inc DS51787A page 11 MCP3425 SOT23 6 Evaluation Board User s Guide 8 Click the OK button You have made all of the PICkit Serial Analyzer Configura tion Set ups You are now ready to program the MCP3425 SOT23 6 Evaluation Board using the PICkit Serial Analyzer Configuration Wizard x You re Done Press OK to c
22. omplete the Configuration Wizard Do not show this wizard on startup again Wizard may be accessed anytime from menu dropdown PICkit Serial Analyzer gt Run Configuration Wizard _ lt Bek Ne a FIGURE 1 8 Configuration Wizard Finishing Step DS51787A page 12 2009 Microchip Technology lnc Guick Start Instructions 1 3 2 Creating Script Files In order to make a communication between the PICkit Serial Analyzer and the MCP3425 SOT23 6 Evaluation Board a script file is needed The following procedure shows how to create script files and how to use them Select Communication gt Script gt Script Builder d PICkit Serial 12C Master Mode Communications PICKit Serial Analyzer Demo Boards User Defined Templates View Window Help Basic Operations sic Operations Reset La Es E Update Script Execute I Executive Error E Communication Error I 2 Error BitRate 100 0 kHz x 5 Source Voltage 43V File Edit v Clear Data Line Voltage 48V Clock Line Voltage 4 7V d Transactions 02 13 2007 4 59 14 PM Welcome to PICkit Serial version 2 0 1 0 Found PICkitS d11 Ver 1 3 0 0 Found PICkit Serial Analyzer FW Ver 0x0108 USB control block updated with preference data Basic View Set FIGURE 1 9 Creating a Script File with Script Builder 2009 Microchip Technology Inc DS51787A page 13 MCP3425 SOT23 6 Evaluation Board User s Guide
23. r 1 C1 CAP 1UF 25V CERAMIC X7R Panasonic ECG ECJ 2VB1E104K 0805 1 C2 CAP CERAMIC 10UF 6 3V X5R Panasonic ECG ECJ 2FBOJ106K 0805 1 D1 LED RED ORANGE CLEAR 0805 LITE ON INC LTST C170EKT SMD 1 Ji CONN HEADER 6POS 100 R A Molex Waldom Electronics 22 28 8062 GOLD Corp 1 PCB RoHS Compliant Bare PCB 104 00191 MCP3425 SOT23 6 Eval Board 2 R1 R3 RES 4 99K OHM 1 8W 1 0805 Panasonic ECG ERJ 6ENF4991V SMD R2 R4 DO NOT POPULATE 1 R5 RES 470 OHM 1 8W 5 0805 SMD Panasonic ECG ERJ 6GEYJ471V 1 U1 16 Bit Analog to Digital Converter Microchip Technology Inc MCP3425A0T E CH with 12C Interface and On Board Reference 7 VDD V V TEST POINT PC COMPACT SMT Keystone Electronics 5016 GND SCL SDA VDD Note The components listed in this Bill of Materials are representative of the PCB assembly The released BOM used in manufacturing uses all ROHS compliant components 2009 Microchip Technology Inc DS51787A page 29 MICROCHIP WORLDWIDE SALES AND SERVICE AMERICAS Corporate Office 2355 West Chandler Blvd Chandler AZ 85224 6199 Tel 480 792 7200 Fax 480 792 7277 Technical Support http support microchip com Web Address www microchip com Atlanta Duluth GA Tel 678 957 9614 Fax 678 957 1455 Boston Westborough MA Tel 774 760 0087 Fax 774 760 0088 Chicago Itasca IL Tel 630 285 0071 Fax 630 285 0075 Dallas Addison TX Tel 972 818 7423 Fax 972 818 2924 Detroit Farm
24. ript Detail column Try again until the Busy LED goes OFF immediately after executing the read command eS 2009 Microchip Technology Inc DS51787A page 19 MCP3425 SOT23 6 Evaluation Board Users Guide 4 PICkit Serial 12C Master Mode Communications PICkit Serial 4nalyzer Demo Boards User Defined Templates view Window Help view Basic Communications Basic Operations Reset Script Builder x Example 120 Scripts Script Detail User 12C Scripts Script Name Read ddr fizcstaRT 2 MCP3425 wr 16bit M CP3425 Read 000 WiriteAddrAS eater MCP3425 Read 000 WriteBlockAddiAg I2CWRTBYT ReadBlock ddrS Save Script Execute Script Clear Script Del User Scripts Show Array x 2CROBYTNLE 4 x I2CSTOF Reguesting 4 Bytes 5 16 13 PM bytes s F s0 18 98 P patia A Sent script from Script Builder page 10 t 4th Byte Repeated Byte for Configuration byte note that RDY bit returned to 1 after 4th byte 3rd byte Configuration Byte note that RD Ybit is 0 2nd byte Data Byte 1st byte Data Byte Results Output code 1F50 in hex 8016 in decimal Output Voltage 8016 x 62 5 UV LSB 0 501V Note 1 LSB for 16 bit 62 6 UV Input at CH1 0 501V FIGURE 1 14 Reading Conversion Results Note that the Input 0 501V is applied at Ch 1 Th
25. t customer needs so some actual dialogs and or tool descriptions may differ from those in this document Please refer to our web site www microchip com to obtain the latest documentation available Documents are identified with a DS number This number is located on the bottom of each page in front of the page number The numbering convention for the DS number is DSXXXXXA where XXXXX is the document number and A is the revision level of the document For the most up to date information on development tools see the MPLAB IDE on line help Select the Help menu and then Topics to open a list of available on line help files INTRODUCTION This chapter contains general information that will be useful to know before using the MCP3425 SOT23 6 Evaluation Board Items discussed in this chapter include e Document Layout e Conventions Used in this Guide Recommended Reading e The Microchip Web Site e Customer Support Document Revision History DOCUMENT LAYOUT This document describes how to use the MCP3425 SOT23 6 Evaluation Board as a development tool to emulate and debug firmware on a target board The manual layout is as follows e Chapter 1 Quick Start Instructions this chapter provides an overview of the MCP3425 SOT23 6 Evaluation Board and instructions on how to program the DAC register and EEPROM of the MCP4725 device e Appendix A Schematic and Layouts shows t
26. ved software General Technical Support Frequently Asked Questions FAQs technical support requests online discussion groups Microchip consultant program member listing Business of Microchip Product selector and ordering guides latest Microchip press releases listing of seminars and events listings of Microchip sales offices distributors and factory representatives CUSTOMER SUPPORT Users of Microchip products can receive assistance through several channels e Distributor or Representative e Local Sales Office e Field Application Engineer FAE e Technical Support Customers should contact their distributor representative or field application engineer FAE for support Local sales offices are also available to help customers A listing of sales offices and locations is included in the back of this document Technical support is available through the web site at http support microchip com 2009 Microchip Technology Inc DS51787A page 3 MCP3425 SOT23 6 Evaluation Board User s Guide DOCUMENT REVISION HISTORY Revision A January 2009 Initial Release of this Document DS51787A page 4 2009 Microchip Technology Inc MCP3425 SOT23 6 EVALUATION MICROCHIP BOARD USERS GUIDE Chapter 1 Ouick Start Instructions 1 1 INTRODUCTION The following sections provide an overview of the MCP3425 SOT23 6 Evaluation Board and demonstrate how to use it with the PICkit Serial Analyzer P N DV164122 Th

Download Pdf Manuals

image

Related Search

Related Contents

Manuel d`instructions  AE120 Digital Camera User Manual  M2000 Digital Indicator  Description  Manual DV    Samsung מערכת בידור ביתית DVD E453 1000 W 5.1Ch מדריך למשתמש  Betriebsanleitung CES-AR-C01-… (Uni-/Multi-/Fixcode)  Manual de instalación  Thermal Imager User Manual  

Copyright © All rights reserved.
Failed to retrieve file