19-3324; Rev 1; 5/07
MAX1258 Evaluation Kit/Evaluation System
General Description
The MAX1258 evaluation system (EV system) consists
of a MAX1258 evaluation kit (EV kit), Maxim
68HC16MODULE-DIP microcontroller (µC) module,
and USBTO232. The MAX1258 offers multichannel, 12-
bit, analog-to-digital converters (ADCs); a temperature
sensor; octal 12-bit, digital-to-analog converters
(DACs); and configurable general-purpose I/O ports
(GPIOs). The evaluation software runs under Windows
®
98/2000/XP, providing a handy user interface to exer-
cise the features of the MAX1258.
Order the complete EV system (MAX1258EVC16) for a
comprehensive evaluation of the MAX1258 using a PC.
Order the EV kit (MAX1258EVKIT) if the 68HC16MODULE
module has already been purchased with a pre-
vious Maxim EV system, or for custom use in other µC-
based systems.
This system can also evaluate the MAX1057/MAX1058/
MAX1257. See the Detailed Description of Hardware
section for more details. Contact the factory for free
samples of these products.
♦
Proven PCB Layout
♦
Complete Evaluation System
♦
Convenient On-Board Test Points
♦
Data-Logging Software
♦
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
Features
Evaluate: MAX1057/MAX1058/MAX1257/MAX1258
Ordering Information
PART
MAX1258EVKIT
MAX1258EVC16
TEMP RANGE
0°C to +70°C
0°C to +70°C
INTERFACE TYPE
User supplied
Windows software
MAX1258 Stand-Alone EV Kit
The MAX1258 EV kit provides a proven printed-circuit
board (PCB) layout to facilitate evaluation of the
MAX1258. It must be interfaced to appropriate timing
signals for proper operation. Power the on-board
MAX1615 low dropout (LDO) by connecting a user-sup-
plied 6VDC to 28VDC power supply and ground return
to terminal block TB1. See Figure 7 and refer to the
MAX1258 IC data sheet for timing requirements.
Note:
The MAX1258 evaluation software is designed for use with
the complete evaluation system MAX1258EVC16 (includes
68HC16MODULE-DIP module, USBTO232, and MAX1258EVKIT.)
If the MAX1258 evaluation software will not be used, the
MAX1258EVKIT board can be purchased by itself, without the µC.
Component Lists
MAX1258 EV System
PART
MAX1258EVKIT
68HC16MODULE-DIP
USBTO232+
QTY
1
1
1
DESCRIPTION
MAX1258 evaluation kit
68HC16 µC module
USB-to-COM port adapter
board
MAX1258 EV System
The MAX1258 EV system operates from a user-supplied
7VDC to 20VDC power supply. The evaluation software
runs under Windows 98/2000/XP on a PC, interfacing to
the EV system board through the computer's serial com-
munications port (virtual COM port). See the Quick Start
section for setup and operating instructions.
+Denotes
lead-free and RoHS-compliant.
Component Suppliers
SUPPLIER
Johanson Dielectric
Murata Mfg. Co., Ltd.
Panasonic Corp.
Taiyo Yuden
TDK Corp.
PHONE
818-364-9800
770-436-1300
714-373-7366
800-348-2496
847-803-6100
FAX
818-364-6100
770-436-3030
714-737-7323
847-925-0899
847-390-4405
WEBSITE
www.johanson-caps.com
www.murata.com
www.panasonic.com
www.t-yuden.com
www.component.tdk.com
Note:
Indicate that you are using the MAX1258 when contacting these component suppliers.
Windows is a registered trademark of Microsoft Corporation.
________________________________________________________________
Maxim Integrated Products
1
For pricing, delivery, and ordering information, please contact Maxim/Dallas Direct! at
1-888-629-4642, or visit Maxim’s website at www.maxim-ic.com.
MAX1258 Evaluation Kit/Evaluation System
Evaluate: MAX1057/MAX1058/MAX1257/MAX1258
Component Lists (continued)
MAX1258 EV Kit
DESIGNATION
QTY
DESCRIPTION
0.1µF
±10%,
16V X7R ceramic
capacitors (0805)
Murata GRM219R71C104K
Johanson 250R15W104KV4Z
TDK C2012X7R1C104K-0.85
0.01µF
±10%,
ceramic capacitors
(0603)
Taiyo Yuden UMK107B103KZ
TDK C1608X7R1H103K
Murata GRM188R71H103K
470pF
±10%,
50V X7R ceramic
capacitor (0603)
Taiyo Yuden UMK107B471KZ
TDK C1608X7R1H471K
Murata GRM188R71H471K
100pF
±5%,
50V C0G ceramic
capacitor (0603)
Murata GRM1885C1H101J
Taiyo Yuden UMK107CH101JZ
TDK C1608C0G1H101J
1µF
±10%,
10V X7R ceramic
capacitors (0805)
Murata GRM21BR71A105K
Taiyo Yuden LMK212BJ105KG
TDK C2012X7R1A105K
10µF
±20%,
6.3V X5R ceramic
capacitors (0805)
TDK C2012X5R0J106M
Taiyo Yuden JMK212BJ106MG
Panasonic ECJ2FB0J106M
DESIGNATION
H1–H4
H5, H6, H7
H8
J1
JU1, JU2
JU4, JU5
R18
R19
R1–R17,
R22, R23
R20
R21
TB1
U1
U2
U3, U4
—
—
QTY
4
3
1
1
2
2
1
1
19
1
1
1
1
1
2
6
1
12 pins
2 x 4 dual-row header pins
2 x 5 dual-row header pin
2 x 20 right-angle socket
3 pins
2 pins
100kΩ ±5% resistor (1206)
10kΩ ±5% resistor (1206)
10Ω ±5% resistors (1206)
510Ω ±5% resistor (1206)
2kΩ ±5% resistor (1206)
Two-circuit terminal block
MAX1258BETM (48-pin TQFN,
7mm x 7mm)
MAX1615EUK-T (SOT23-5)
(Top Mark: ABZD)
MAX1840EUB (µMAX
®
-10) or
MAX1841EUB
Shunts (JU1: 1-2, JU2: 2-3, JU4:
1-2, JU5: 1-2, H8: 1-2, H8: 9-10)
PCB: MAX1258 Evaluation Kit
DESCRIPTION
C1, C14, C19,
C21
4
C2–C13, C15,
C16, C23
15
C17
1
C18
1
C20, C22
2
C24, C25, C26
3
µMAX is a registered trademark of Maxim Integrated Products, Inc.
Quick Start
Recommended Equipment (USB Port/PC
Connection Option)
Before beginning, the following equipment is needed:
•
MAX1258 EV system:
MAX1258 EV kit
68HC16MODULE-DIP
USBTO232 (USB cable included)
•
DC power supply, +7V to +20VDC at 0.25A
•
A user-supplied Windows 2000/XP computer with an
available USB port to connect to the USBTO232
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
2
underlined
refers to items directly from the Windows
2000/XP operating system.
Procedure
The MAX1284 EV kit is fully assembled and tested.
Follow the steps below to verify board operation.
Caution: Do not turn on the power until all connec-
tions 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) Ensure that jumper JU1 is in the 5V position, jumper
JU2 is in the 1-2 position, and jumper JU5 is closed.
Jumper JU4 should be open. Jumper JU3 is closed
unless previously cut apart. See Tables 2–6.
_______________________________________________________________________________________
MAX1258 Evaluation Kit/Evaluation System
3) Carefully connect the boards by aligning the 40-pin
header of the MAX1258 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 a +7V to +20VDC power source to the µC
module at the terminal block (J2) located next to
the ON/OFF switch (SW1), 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 MAX1258 EV kit software should have already
been downloaded and installed in the USBTO232
Quick Start.
7) Start the MAX1258 program by opening its icon in
the
Start | Programs
menu.
8) Turn on the power supply and slide SW1 to the ON
position on the 68HC16MODULE-DIP module.
Press the
OK
button to automatically connect and
download the file KIT1258.C16 to the module.
9) Apply an input signal to AIN0 and click
Perform
Action.
Observe the readout on the screen. To per-
form the action repeatedly, check the
every 200ms
checkbox.
10) To view a graph of the measurements, pull down
the
View
menu and click
Graph.
11) Bring up the
DAC Outputs
tab, select action
1111
cccc cccc 001x Power On Selected Channels,
and click
Perform Action.
12) Select action
1100 Write and Load OUT1-OUT8,
set OUT1 code to 2048, and click
Perform Action.
Observe that the voltage on OUT1 is now midscale
(2.048V, assuming VREF = 4.096V).
13) Bring up the
GPIO Pins
tab. Set GPIOA0 to
High
Output,
set GPIOB0 to
Low Output,
set GPIOC3 to
Input,
and click
Write Output Pins.
Observe that
the A0 pin is now logic-high and the B0 pin is now
logic-low.
14) Connect GPIO pin C3 to logic-high (A0) and click
Read Input Pins.
Observe that the software indi-
cates that C3 is high.
15) Connect GPIO pin C3 to logic-low (B0) and click
Read Input Pins.
Observe that the software indi-
cates that C3 is low.
Recommended Equipment (RS-232-to-COM
Port/PC Connection Option)
Before beginning, the following equipment is needed:
•
MAX1258 EV system:
MAX1258 EV kit
68HC16MODULE-DIP
•
DC power supply, +7V to +20VDC at 0.25A
•
A user-supplied Windows 98/2000/XP computer with
an available serial (COM) port
•
9-pin I/O extension cable
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 directly from the Windows
98/2000/XP operating system.
Evaluate: MAX1057/MAX1058/MAX1257/MAX1258
Procedure
The MAX1284 EV kit is fully assembled and tested.
Follow the steps below to verify board operation.
Caution: Do not turn on the power until all connec-
tions are completed.
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 MAX1258 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) Ensure that jumper JU1 is in the 5V position, jumper
JU2 is in the 1-2 position, and jumper JU5 is
closed. Jumper JU4 should be open. Jumper JU3
is closed unless previously cut apart. See Tables
2–6.
4) Carefully connect the boards by aligning the 40-pin
header of the MAX1258 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 a +7V to +20VDC power source to the µC
module at the terminal block (J2) located next to the
ON/OFF switch (SW1), 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
_______________________________________________________________________________________
3
MAX1258 Evaluation Kit/Evaluation System
Evaluate: MAX1057/MAX1058/MAX1257/MAX1258
standard 25-pin to 9-pin adapter is 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 MAX1258 program by opening its icon in
the
Start | Programs
menu.
8) Turn on the power supply and slide SW1 to the ON
position on the 68HC16MODULE-DIP module.
Press the
OK
button to automatically connect and
download the file KIT1258.C16 to the module.
9) Apply an input signal to AIN0 and click
Perform
Action.
Observe the readout on the screen. To per-
form the action repeatedly, check the
every 200ms
checkbox.
10) To view a graph of the measurements, pull down
the
View
menu and click
Graph.
11) Bring up the
DAC Outputs
tab, select action
1111
cccc cccc 001x Power On Selected Channels,
and click
Perform Action.
12) Select action
1100 Write and Load OUT1-OUT8,
set OUT1 code to 2048, and click
Perform Action.
Observe that the voltage on OUT1 is now midscale
(2.048V, assuming VREF = 4.096V).
13) Bring up the
GPIO Pins
tab. Set GPIOA0 to
High
Output,
set GPIOB0 to
Low Output,
set GPIOC3 to
Input,
and click
Write Output Pins.
Observe that
the A0 pin is now logic-high and the B0 pin is now
logic-low.
14) Connect GPIO pin C3 to logic-high (A0) and click
Read Input Pins.
Observe that the software indi-
cates that C3 is high.
15) Connect GPIO pin C3 to logic low (B0) and click
Read Input Pins.
Observe that the software indi-
cates that C3 is low.
metic mean value.
Repetition
can be used together
with
Averaging
to summarize a large number of mea-
surement results as a small number of sample means.
The
Low Level Interface Details
panel shows the most
recent low-level register write. A summary of what has
been written to each register is available under the
Low-level registers
tab.
The AIN14 and AIN15 channels are automatically
skipped if their alternate functions are selected in the
setup register. The evaluation software updates its dis-
play to show or hide these channels whenever the alter-
nate functions are enabled or disabled.
The
Setup
tab configures the alternate functions for the
AIN14 and AIN15 pins, and also configures adjacent
channels as differential input pairs.
The
Low-level registers
tab summarizes the com-
mands that create the active configuration. The
Reset
All Registers
checkbox resets these software-shad-
owed register values and sends the reset command to
the MAX1258, optionally configuring slow mode and
bandgap mode.
DAC Outputs
The
DAC Outputs
tab in the main window controls the
analog output pins.
To power DAC channels prior to use, select action
1111 cccc cccc 001x Power On Selected Channels.
Verify that the checkboxes are set and click
Perform
Action.
Jumper JU2 defines the initial states of the
DAC output pins.
To reset all DAC outputs to zero, select action
0001 0...
Reset all DACs to 000 (zero scale)
and click
Perform
Action.
To reset all DAC outputs to full scale, select action
0001 1... Reset all DACs to FFF (full scale)
and click
Perform Action.
Note:
At power-on the DAC expects an external refer-
ence on REF1. Refer to the MAX1258 IC data sheet.
To write and load multiple DAC channels, select action
1100 Write and Load OUT1-OUT8,
type the desired out-
put code value (0 to 4095) into the
OUT1
edit field, and
click
Perform Action.
The voltage on the OUT1–OUT8
pins immediately changes to the new value.
To write a single DAC output (for example OUT5), select
action
0110 Write OUT5.
Type the desired output code
value (0 to 4095) into the
OUT5
edit field and click
Perform Action.
Unless jumper JU5 is closed (asserting
the
LDAC
pin low), a separate load command is required
to update the pin voltage from the input register. Load
OUT5 by selecting action
1110 cccc cccc xxxx Load
Detailed Description of
Software
The main window of the evaluation software configures
the data converter and measures the analog inputs.
Under
Action,
select a scanning sequence, repetitive
conversions, or a single conversion. Each selected
channel's measurement results are displayed in the
corresponding
Measurement Results
field.
The
Action
setting
read single channel repeatedly
requires making a selection under
Repetition
to deter-
mine how many times the selected channel should be
measured.
Use
Averaging
to summarize a series of measure-
ments results on each selected channel as an arith-
4
_______________________________________________________________________________________
MAX1258 Evaluation Kit/Evaluation System
Selected Channels,
checking the Load checkbox for
channel 5, and clicking
Perform Action.
Sampling
Measurement data can be sampled in external clock
mode. From the
Setup
tab, set
Clock Mode
to
0111xxxx ext clock.
Then, return to the
Measurement
tab and click
Get Samples.
Evaluate: MAX1057/MAX1058/MAX1257/MAX1258
GPIO Pins
The main window’s
GPIO Pins
tab configures, writes,
and reads the general-purpose digital input/output pins.
Each GPIO pin has a drop-down combo box that con-
figures
High Output, Low Output, Input,
or
open-
drain pull-down
modes for that pin. Select output
mode and click
Write Output Pins.
Read pins by click-
ing
Read Input Pins.
Graph Window
To view recently measured data, drop down the
View
menu and choose
Graph.
Data can be viewed as a
time sequence plot, a histogram plot, or as a table of
raw numbers (see Figure 6). See
Table 1
for available
graph commands.
Table 1. Graph Tool Buttons
TOOL
FUNCTION
Show the entire available input range.
Expand the graph data to fill the window.
Move the view left or right.
Move the view up or down.
Expand or contract the x-axis.
Expand or contract the y-axis.
Load data from a file.
Save data to a file.
Option to write a header line when saving data.
Option to write line numbers when saving data.
View code vs. time plot.
View histogram plot (cumulative frequency of
each code).
View table.
Show minimum in tabular view.
Show maximum in tabular view.
Show span in tabular view.
Span = maximum - minimum.
Show number of samples in tabular view.
Show sum of the samples in tabular view.
Show sum of the squares of the samples in
tabular view.
Show arithmetic mean in tabular view:
TOOL
FUNCTION
Show standard deviation in tabular view:
S tandard deviation
=
⎛
⎞
n
∑ ×
-
⎜ ∑ ×⎟
⎝
n
⎠
n
(
n -1
)
n
2
( )
2
Show root of the mean of the squares (RMS) in
tabular view:
∑ ×
2
RMS
=
n
( )
Channel 0 enable.
Channel 1 enable.
Channel 2 enable.
Channel 3 enable.
Channel 4 enable.
Channel 5 enable.
Channel 6 enable.
Channel 7 enable.
Channel 8 enable.
Channel 9 enable.
Channel 10 enable.
Channel 11 enable.
Channel 12 enable.
Channel 13 enable.
Mean
=
∑
(
×
)
n
Channel 14 enable.
Channel 15 enable.
Channel 16 enable (temperature).
_______________________________________________________________________________________
5