Maxim Integrated MAX1402 User Manual

General Description
The MAX1402 evaluation system (EV system) is a com­plete, multichannel data-acquisition system consisting of a MAX1402 evaluation kit (EV kit), Maxim 68HC16 micro­controller (µC) module, and USBT0232. The MAX1402 is a low-power, multichannel, serial-output analog to digital converter (ADC). Windows
98/2000/XP-compatible soft­ware provides a handy user interface to exercise the MAX1402’s features. Source code in C++ and 68HC11 assembly language is provided for the low-level portion of the software.
Order the EV system for comprehensive evaluation of the MAX1402 using a personal computer. Order only the EV kit if the 68HC16 µC module has already been purchased with a previous Maxim EV system, or for custom use in other µC-based systems.
The MAX1402 EV kit and EV system can also be used to evaluate the MAX1400. Simply order a free sample of the MAX1400CAI along with the MAX1402 EV kit.
MAX1402 Stand-Alone EV Kit
The MAX1402 EV kit provides a proven printed-circuit board (PCB) layout to facilitate evaluation of the MAX1402 with user-supplied software and hardware. It must be interfaced to appropriate timing signals for proper operation. Refer to the MAX1402 IC data sheet for timing requirements. See Table 2, Jumper Functions.
MAX1402 EV System
The MAX1402 EV system operates from a user-supplied +8V to +12VDC power supply.
Features
Easy to Configure
Collects Up to 8192 Samples at Full Speed
Complete Evaluation System
Proven PCB Layout
Fully Assembled and Tested
EV Kit Software Supports Windows 98/2000/XP
with RS-232/COM Port
EV Kit Software Supports Windows 2000/XP with
USB Port
Evaluate: MAX1400/MAX1402
MAX1402 Evaluation Kit/Evaluation System
________________________________________________________________ Maxim Integrated Products 1
19-1440; Rev 2; 5/07
Component Lists
MAX1402 EV System
For pricing, delivery, and ordering information, please contact Maxim Direct at 1-888-629-4642, or visit Maxim’s website at www.maxim-ic.com.
Ordering Information
MAX1402 EV Kit
Windows is a registered trademark of Microsoft Corp.
Note: The MAX1402 software can only be used with the com­plete evaluation system (MAX1402EVC16), which includes the 68HC16MODULE-DIP, USBTO232, and the MAX1402EVKIT.
+Denotes lead-free and RoHS-compliant.
PART QTY DESCRIPTION
MAX1402EVKIT 1 MAX1402 EV kit
68HC16MODULE-DIP 1 68HC16 µC module
USBTO232+ 1
USB-to-COM port adapter board
PART TYPE RANGE INTERFACE TYPE MAX1402EVKIT 0°C to +70°C User supplied MAX1402EVC16 0°C to +70°C Windows software
PART QTY DESCRIPTION
C3–C8 6
C9, C10, C11 3
C12, C13 2 Not installed, capacitors
C15 1
J1 1 2 x 20 right-angle socket
J2 1 Female SMA connector
JU1–JU8 0 Not installed
R1–R6 6 100Ω ±5% resistors (1206)
R7, R8 2 10Ω ±5% resistors (1206)
R9, R10 2 Not installed, resistors
U1 1 MAX1402CAI (28-pin SSOP)
U2 1
Y1 1
1 PCB: MAX1402 Evaluation Kit+
100pF ceramic capacitors (1206) TDK C3216C0G2J101K
0.1µF ceramic capacitors (1206) Murata GRM319R71H104K TDK C3216X7R1H104K
2.2µF, 25V X7R ceramic capacitor TDK C3216X7R1E225K
MAX6025AEUR (SOT23)
2.500V voltage reference (200ppm/°C max)
2.4576MHz ceramic resonator Murata CSTCC2M45G53-R0
Evaluate: MAX1400/MAX1402
MAX1402 Evaluation Kit/Evaluation System
2 _______________________________________________________________________________________
Quick Start
Recommended Equipment (USB Port/PC
Connection Option)
Before beginning, the following equipment is needed:
MAX1402 EV system:
MAX1402 EV kit
68HC16MODULE-DIP
USBTO232 (USB cable included)
A DC power supply that generates +8VDC to +12VDC at 30–50mA
A user-supplied Windows 2000/XP computer with an available USB port to connect to the USBTO232 board
Note: In the following sections, software-related items are identified by bolding. Text in bold refers to items directly from the EV kit software. Text in bold and underlined refers to items from the Windows 2000/XP operating system.
Connections and Setup
The MAX1402 EV kit is fully assembled and tested. Follow the steps below to verify board operation.
Caution: Do not turn on the power supply until all connections are completed.
1) Visit the Maxim website (www.maxim-ic.com) to
download the latest version of the USBTO232 User Guide. Follow the steps in the USBTO232 User Guide Quick Start section and return to step 2 of this Quick Start section when finished.
2) Make sure your 68HC16MODULE-DIP module has
the Rev. 2.0 ROM. The software will not function with the Rev. 1.0 ROM.
3) Carefully connect the boards by aligning the 40-pin
header of the MAX1402 EV kit with the 40-pin con­nector of the 68HC16MODULE-DIP module. Gently press them together. The two boards should be flush against one another.
4) Connect the DC power source to the µC module at
terminal block J2, located next to the ON/OFF
Example Source Code Files
68HC16 Source Code Files
Header file for MAX1402.CPP, provided for reference.
MAX1402.H
Source code module for driving the MAX1402, provided for reference. Includes definitions of the register names and low­level access routines. Compiled with Borland C++ 4.52. Maxim holds the copy­right, but allows customers to adapt the program for their own use without charge.
MAX1402.CPP
Source code defining the program inter­face with the Maxim 68HC16 Module ROM (Rev. 2.0).
EVKIT.ASM
Main source code for the KIT1402.C16 pro­gram, provided for reference. Maxim holds the copyright, but allows customers to adapt the program for their own use without charge.
KIT1402.ASM
MAX1402 EV Kit Files
Windows Application Program Files
Program settings fileMAX1402.INI
Software loaded into 68HC16 microcon­troller.
KIT1402.C16
Help fileMAX1402.HLP
Application program that runs under Windows 98/2000/XP.
MAX1402.EXE
DESCRIPTIONFILE
DESCRIPTIONFILE
DESCRIPTIONFILE
Note: Indicate that you are using the MAX1402 when contacting these component suppliers.
Component Suppliers
SUPPLIER PHONE FAX WEBSITE
Murata Mfg. Co., Ltd. 770-436-1300 770-436-3030 www.murata.com
TDK Corp. 847-803-6100 847-390-4405 www.component.tdk.com
switch, along the top-edge of the µC module. Observe the polarity marked on the board.
5) Connect the USBTO232 board to the 68HC16MODULE­DIP module if you have not done so already.
6) The MAX1402 EV kit software should have already been downloaded and installed in the USBTO232 Quick Start.
7) Start the MAX1402 program by opening its icon in the Start | Programs menu.
8) Turn on power supply and slide SW1 to the ON position on the 68HC16MODULE-DIP module. Press the OK button to automatically connect and download the KIT1402.C16 file to the module.
9) When the software successfully establishes com­munication with the EV kit board, you will see a con­figuration tool and some other windows. Verify that the CLKIN and reference voltage settings are cor­rect. Close or minimize this dialog box.
10) Apply input signals to the inputs labeled AIN1–AIN5, at the bottom-edge of the MAX1402 EV kit board. AIN6 is analog common. Observe the readout on the screen.
Recommended Equipment (RS-232-to-COM
Port/PC Connection Option)
Before beginning, the following equipment is needed:
MAX1402 EV system:
MAX1402 EV kit
68HC16MODULE-DIP
A DC power supply that generates +8VDC to
+12VDC at 30–50mA
A user-supplied Windows 98/2000/XP computer with
an available serial communications port, preferably a 9-pin plug
A serial cable to connect the computer’s serial port to
the 68HC16MODULE-DIP
Note: In the following sections, software-related items are identified by bolding. Text in bold refers to items directly from the EV kit software. Text in bold and
underlined refers to items from the Windows 98/2000/XP operating system.
Connections and Setup
1) Visit the Maxim website (www.maxim-ic.com/evkit­software) to download the latest version of the EV kit software. Save the EV kit software to a temporary folder and uncompress the file (if it is a .zip file).
2) Install the MAX1402 EV kit software on your com­puter by running the INSTALL.EXE program. The program files are copied and icons are created for them in the Windows Start | Programs menu.
3) Make sure your 68HC16MODULE-DIP module has the Rev. 2.0 ROM. The software will not function with the Rev. 1.0 ROM.
4) Carefully connect the boards by aligning the 40-pin header of the MAX1402 EV kit with the 40-pin con­nector of the 68HC16MODULE-DIP module. Gently press them together. The two boards should be flush against one another.
5) Connect the DC power source to the µC module at terminal block J2, located next to the ON/OFF switch, along the top-edge of the µC module. Observe the polarity marked on the board.
6) Connect a cable from the computer’s serial port to the µC module. If using a 9-pin serial port, use a straight-through, 9-pin female-to-male cable. If the only available serial port uses a 25-pin connector, a standard 25-pin-to-9-pin adapter will be required. The EV kit software checks the modem status lines (CTS, DSR, and DCD) to confirm that the correct port has been selected.
7) Start the MAX1402 program by opening its icon in the Start | Programs
menu.
8) Turn the power on and slide SW1 to the ON posi­tion. Select the correct serial port and press the OK button. The program will automatically download KIT1402.C16 to the module.
9) When the software successfully establishes com­munication with the EV kit board, you will see a con­figuration tool and some other windows. Verify that the CLKIN and reference voltage settings are cor­rect. Close or minimize this dialog box.
Evaluate: MAX1400/MAX1402
MAX1402 Evaluation Kit/Evaluation System
_______________________________________________________________________________________ 3
FILE DESCRIPTION
INSTALL.EXE Installs the EV kit files on your computer.
UNINST.INI Database for uninstall program.
Removes the EV kit files from your
UNMAXIM.EXE
computer. This file is automatically copied to C:\WINDOWS during installation.
FILE DESCRIPTION
INSTALL.EXE Installs the EV kit files on your computer.
UNINST.INI Database for uninstall program.
Removes the EV kit files from your
UNMAXIM.EXE
computer. This file is automatically copied to C:\WINDOWS during installation.
Evaluate: MAX1400/MAX1402
10) Apply input signals to the inputs labeled AIN1–AIN5, at the bottom-edge of the MAX1402 EV kit board. AIN6 is analog common. Observe the readout on the screen.
Upgrading the 68HC16 Module
The MAX1402 EV kit requires Rev. 2.0 of the Maxim 68HC16 Module ROM. Check the label on device U3 on the module; if its label says Rev. 1.0, contact the factory for a replacement.
To install the new ROM, use the following procedure. Use antistatic handling precautions. To reduce the risk of ESD damage, gather all required materials and per­form the installation at one sitting:
1) Slide the ON/OFF switch to the OFF position.
2) Using a flat-blade screwdriver, gently pry U3, the REV 1.0 ROM, out of its socket.
3) Remove the REV 2.0 ROM from its antistatic pack­aging.
4) Align the REV 2.0 ROM in the U3 socket pins. Observe correct polarity (the notch at the top of the ROM). Verify that the pins are lined up with the socket, and gently press the ROM into place.
Proceed to the regular Quick Start instructions.
Detailed Description
_________________________of Software
The MAX1402 digitizes up to seven inputs. The various program functions are grouped into windows, which are accessible from the Show menu on the main menu bar.
Main Display
The main display shows the calculated input voltage and raw A/D output code for each active channel. Although there are nine input channels, only certain configurations are allowed.
Select any single channel or one of the scanning sequences from the Inputs menu. AIN 1-6 designates an analog input between the AIN1 pin and the AIN6 pin. CALOFF designates the signal between the CALOFF+ and CALOFF- pins. CALGAIN designates the signal between the CALGAIN+ and CALGAIN- pins.
The EV kit software assumes that CALOFF+ and CALOFF- are grounded so that CALOFF measures zero volts. Similarly, the software assumes that CALGAIN+ is connected to REFIN+ and CALGAIN- is connected to REFIN- so that CALGAIN measures the reference volt­age. These two points calibrate the code-to-voltage translation function performed in the software.
The MAX1400/MAX1402 automatically triggers its mea­surements, unless the FSYNC control bit is set. The evaluation kit software communicates with the MAX1400/MAX1402 at intervals determined by the Update Every combo box. To halt this automatic update, uncheck the Update Every checkbox or change the Update Every to a value between 100ms and 60000ms.
Normally, the microcontroller collects new data as soon as it becomes available, by using the INT pin to trigger an interrupt service routine. If the INT pin is not used as an interrupt, then the MAX1400 must not be operated in free-running mode. Check or uncheck the Use INT Interrupt checkbox to configure the evaluation kit soft­ware.
Configuration Tool
The Configuration Tool controls parameters that apply to the entire EV kit. Like the other windows, the Configuration Tool can be activated from the Show menu of the main menu bar. The CLK control should match the external ceramic resonator or crystal that sets the master clock frequency. The VREF Reference Voltage control tells the software what the reference voltage is. This is used to convert the raw A/D output codes into the corresponding input voltage to speed user evaluation. The Data Rate control determines how often the MAX1402 performs a measurement. Some data rates provide 16-bit, noise-free resolution when used with the SINC3 filter (discussed below). The Filter Sync control can be used to inhibit the MAX1402 from performing its self-timed measurements. The Buffer Inputs checkbox enables the internal input buffers. The Burnout Test Currents checkbox enables two small (0.1µA) current sources to provide an input stimulus. When used with a transducer, these current sources can be used to verify that the transducer has not failed open or short circuit.
At the bottom of the window, there are input voltage range selection buttons. These buttons configure all input channels for the same input voltage range. Although the MAX1400/MAX1402 can be operated with three different input ranges at the same time, the evalu­ation kit software only supports a single range for all channels.
The digital filter on the MAX1402 can be configured for SINC
3
or SINC1operation, which affects the filter cutoff frequency. (SINC' means SIN(X) ÷ X, and SINC3means (SIN(X) ÷ X)3.) The SINC3filter is required for 16-bit accu­racy. The SINC1filter provides faster settling time with less accuracy. Alternatively, the raw modulator output can be driven out the DOUT pin; however, the EV kit software cannot read data from the MAX1402 in this mode.
MAX1402 Evaluation Kit/Evaluation System
4 _______________________________________________________________________________________
Loading...
+ 8 hidden pages