Page 2
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.
• Customer Support • Document Revision History DOCUMENT LAYOUT This document describes how to use the MCP3421 SOT23-6 Evaluation Board as a development tool to emulate and debug firmware on a target board. The manual layout is as follows: • Chapter 1. “Quick Start Instructions” – this chapter provides an overview of the MCP3421 SOT23-6 Evaluation Board and instructions on how to obtain the ADC conversion results using the PICKit Serial Analyzer.
MCP3421 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...
Preface RECOMMENDED READING This user's guide describes how to use the MCP3421 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.
MCP3421 SOT23-6 Evaluation Board, and provides the I C communication PC to the MCP3421 SOT23-6 Evaluation Board. The user also can use this MCP3421 SOT23-6 Evaluation Board without the PICkit Serial Analyzer by providing the I communication signal to the SDA and SCL test pads on the board.
Quick Start Instructions GETTING STARTED WITH PICKIT SERIAL ANALYZER Figure 1-1 shows the MCP3421 SOT23-6 Evaluation Board and Figure 1-2 shows the Evaluation Board and PICkit Serial Analyzer connection. The following steps describe how to use them together: 1. Connect the MCP3421 SOT23-6 Evaluation Board’s J1 pin socket to the PICkit Serial Analyzer as shown in Figure 1-2.
Page 14
400 kHz only. 6. Select No on Enable Pull-ups, and click the Next button. Note: The MCP3421 SOT23-6 Evaluation Board has its own pull-up resistors, therefore, you don’t need additional pull-up resistors from the PICkit Serial Analyzer. FIGURE 1-6: Step 3 - Device Pullups Window.
Page 15
If you choose PICkit Serial will power my device and 5 Volt as shown below, the MCP3421 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 MCP3421 SOT23-6 Evaluation Board is connected.
Page 16
MCP3421 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 MCP3421 SOT23-6 Evaluation Board using the PICkit Serial Analyzer. FIGURE 1-8: Configuration Wizard - Finishing Step.
Page 17
Creating Script Files In order to make a communication between the PICkit Serial Analyzer and the MCP3421 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 -----> Script ---> Script Builder FIGURE 1-9: Creating a Script File with Script Builder.
Page 18
MCP3421 SOT23-6 Evaluation Board User’s Guide 1.3.2.1 CREATING A SCRIPT FILE FOR CONFIGURATION BYTE WRITING Click on WriteBlockAddrA8 in “Example I C Scripts” column. • This will result in filling in the spaces under the Script Detail column. Now you can modify the Script Detail column parameters by clicking with the right mouse button.
Page 20
MCP3421 SOT23-6 Evaluation Board User’s Guide 2 Bytes to send Address Byte Configuration Byte (9C) Note that the “9C” in the configuration byte selects the following options: - Conversion Mode: Continuous Conversion - Bit Resolution: 18 bits - Gain Selection: 1x...
Page 22
MCP3421 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 by following the next steps. 1.3.3.1 CREATING A SCRIPT FILE TO READ THE CONVERSION DATA Click on ReadAddrA8 in “Example I2C Scripts” column.
Page 24
MCP3421 SOT23-6 Evaluation Board User’s Guide Requesting 5 Bytes Reading Conversion Data 5th Byte: Repeated Byte for Configuration byte (note that RDY bit returned to “1” after 4th byte) 4th byte: Configuration Byte (note that RDYbit is “0”) 3rd byte: Data Byte...
Need help?
Do you have a question about the MCP3421 SOT23-6 and is the answer not in the manual?
Questions and answers