MAX110EVKIT-DIP [MAXIM]
Convenient Test Points Provided On-Board;型号: | MAX110EVKIT-DIP |
厂家: | MAXIM INTEGRATED PRODUCTS |
描述: | Convenient Test Points Provided On-Board |
文件: | 总19页 (文件大小:685K) |
中文: | 中文翻译 | 下载: | 下载PDF数据表文档文件 |
19-3816; Rev 1a; 8/05
MAX110 Evaluation System/Evaluation Kit
_______________General Description
____________________________Features
♦ Evaluates MAX110 and MAX111
♦ Complete Evaluation System
The MAX110 evaluation system (EV system) is a com-
plete, low-cost, two-channel data-acquisition system
consisting of a MAX110 evaluation kit (EV kit) and a
Maxim 80C32 microcontroller (µC) module. IBM PC com-
patible software provides a handy user interface to com-
mand the MAX110’s features. Source code is provided in
both C++ and C. Demonstration software includes rolling
average filter and data logging applications. The
MAX110 EV kit includes 1in2 of prototyping area.
♦ Convenient Test Points Provided On-Board
♦ Data Logging Software
♦ Source Code Provided
♦ User-Selectable Resolution and Speed
The MAX110 EV kit and EV system evaluate both the
MAX110 and MAX111. To evaluate the MAX111, order
a free sample of the MAX111 along with the MAX110
EV kit.
______________Ordering Information
PART
TEMP. RANGE
0°C to +70°C
0°C to +70°C
0°C to +70°C
BOARD TYPE
Through-Hole
Through-Hole
Through-Hole
MAX110EVC32-DIP
MAX110EVKIT-DIP
80C32MODULE-DIP
___________________________________________________________________EV System
80C32 MODULE
MAX110EV KIT
________________________________________________________________ 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.
MAX110 Evaluation System/Evaluation Kit
___MAX110 EV System Quick Start
This section applies only to the use of the MAX110 EV
kit operating with the Maxim 80C32 module.
________EV System Component List
QTY
DESCRIPTION
1) Copy the files from the distribution disk to your hard
disk or to blank floppy disks. The MAX110 EV kit
software should be in its own directory. The neces-
sary files are in the root directory of the
distribution disk, and the source code is in the
SOURCE subdirectory. The SOURCE subdirectory
is not required to operate the EV kit.
1
1
MAX110 evaluation kit (MAX110EVKIT-DIP)
80C32 µC module (80C32MODULE-DIP)
____________EV Kit Component List
DESIGNATION QTY
DESCRIPTION
2) Carefully connect the boards together by aligning
the 40-pin header of the MAX110 EV kit with the 40-
pin connector of the 80C32 module. Gently press
them together. The two boards should be flush
against one another.
C1–C5, C7–10
C11–C15
9
5
0.1µF ceramic capacitors
10µF, 16V radial tantalum capacitors
C6–C16,
C17, C18
4
1µF ceramic capacitors
3) Connect a 9V to 15V DC power source to the 80C32
module. The terminal block is located next to the
on/off switch, in the upper right corner of the 80C32
module. Observe the polarity marked on the board.
R1-R4
R5
4
1
3
1
1
1
0
1
1
1
1
3
2
0
0
1
1
5
1
1
1
4
1k , 5% resistors
10k , 8-pin SIP resistor, pin 1 common
100 , 5% resistors
200 multi-turn potentiometer
2.43k , 1% resistor
10k , 1% resistor
4) Connect a cable from the computer’s serial port to
the 80C32 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.
R6, R7, R8
R9
R10
5) Start the MAX110 software on the IBM PC by
setting the current directory to match the directory
that contains the Maxim programs, and then type
the program name, “MAX110”. Do not turn off or
disconnect the 80C32 module while the program is
running; if you do, you will have to restart the pro-
gram.
R11
R12
Leave this site empty
MAX110CPE
U1
U2
ICL7660CPA
U3
1.024MHz crystal oscillator module
MAX873CPA
6) The program will ask to which serial port the 80C32
module is connected. Press the space bar until the
correct port is highlighted, and then press ENTER.
U4
J1, J4, J5
J7, J8
J2, J3, J9
J6
3-pin headers
7) The MAX110 program will be in terminal emulation
mode. Turn on the power for the 80C32 module.
The 80C32 module will display its logon banner and
test its RAM.
2-pin headers
Leave these sites empty
Unused reference designator
10-pin header
8) To download and run the RAM resident code on the
80C32 module, press ALT+L (i.e. hold down the
ALT key as you strike the L key). The program
prompts you for the file name. Press the ENTER key
to download and run the file 110CODE.MAX on the
80C32 module.
H1
None
None
None
None
None
None
Female data connector
Shunts
14-pin socket for U3
16-pin socket for U1
4.5" x 3" PC board
Rubber feet
9) When the RAM resident program has been suc-
cessfully downloaded, press ALT+C to switch to the
Control Panel screen. A bank of software “switches”
controls the MAX110. Two double-needle bar
graphs display the MAX110’s twin channels. The
2
_______________________________________________________________________________________
MAX110 Evaluation System/Evaluation Kit
bottom half of each bar graph shows a rolling aver-
____________Evaluating the MAX111
age of the readings for that channel. The AUTO
The MAX110 EV kit supports both the MAX110 and the
NULL switch is highlighted. With AUTO NULL and
MAX111 ICs. To evaluate the MAX111 use the following
GAIN CAL both off, the bar graphs read the real
procedure:
voltage present at the input terminals of the
1) While the EV kit is turned off, move J4 to the 2-3
MAX110.
position so that V = ground.
SS
10) Apply an input signal between the IN1+ and IN1-
terminals of the MAX110 EV kit. Note that if
jumper JU7 is installed, then IN1- is connected to
ground. Observe the readout on the display screen.
2) Replace U1 with a MAX111.
3) Note that the MAX111 uses a 1.25V reference.
Replace resistor R11 with a 2.43k resistor or
remove jumper J3 and apply an external 1.25V ref-
erence at VREF.
11) To examine the bit patterns of the MAX110’s data
input and output, press “B” to switch to the Bit
Manipulation Panel screen. The data input to the
MAX110 is displayed in the upper left corner, and
the output data is displayed in the lower left corner.
A rolling average display of the data received is
displayed underneath the most recently received
data. Data is displayed in hexadecimal and in bina-
ry. To switch back to the Control Panel, press “C”.
4) Follow the quick-start instructions for the MAX110.
The MAX111 output codes are identical to the MAX110
output codes. The input voltage range is more restricted
on the MAX111 because it is a single-supply device. Refer
to the MAX110/MAX111 data sheet for more information
on the MAX111’s input voltage range and accuracy.
For the MAX111, tie the VSS supply to GND by installing
the J4 shunt between pins 2 and 3. For the MAX110, tie
the VSS supply to -5V by installing the J4 shunt between
pins 1 and 2.
12) Before turning off power to the MAX110 EV kit, exit
the program by pressing ALT+X.
Stand-Alone MAX110 EV Kit
_________________________Quick Start
Detailed Description
________________________of Hardware
This section applies only to the use of the MAX110 EV
kit by itself, without the 80C32 µC module.
Jumper Options
Several jumper blocks allow different configurations of
the MAX110. Jumper functions and default settings are
shown in Tables 1 and 2.
1) Verify that shunts are installed at the proper loca-
tions. Table 1 shows the standard configuration. As
shipped from the factory, U1 is a MAX110, and the
voltage reference is 2.000V.
Using an External Clock
To drive the MAX110 with an external clock, use the
following procedure:
2) Connect a regulated +5V DC power supply to the
terminals labeled +5V and GND. The GND pad is
ground, and the +5V pad is the +5V input.
1) Put a shunt across J5 pins 2-3, leaving pin 1 open.
2) Put a shunt across J1 pins 1-2, leaving pin 3 open.
3) Connect the external oscillator to the EXTCLK pad.
3) Use a voltmeter to verify that at least -4.75V
appears at the -5V pad, and verify that the voltage
reference between VREF+ and VREF- is 2.000V.
4) Connect the interface signals to the DIN, DOUT,
CS, BUSY, and SCK test points. Use the GND test
point as signal ground. See the MAX110 data sheet
for timing information.
4) Connect the oscillator ground to the GND pin of
header H1.
Table 1. Default Jumper Settings
JUMPER
DEFAULT SETTING
1-2
5) Apply the input voltage to the input terminals. One
channel is between IN1+ and IN1-, and the other
channel is between IN2+ and IN2-. If shunt J7 is
installed, then IN1- is connected to GND. If shunt J8
is installed, then IN2- is connected to GND. Be sure
to observe the absolute maximum ratings.
J1
J2
J3
J4
J5
J7
J8
J9
shorted by trace
shorted by trace
1-2
1-2
closed
closed
shorted by trace
_______________________________________________________________________________________
3
MAX110 Evaluation System/Evaluation Kit
Be sure to observe frequency and amplitude limits for
the MAX110. The recommended frequency of operation
is 512kHz for XCLK÷1 mode, 1024kHz for XCLK÷2
mode, or 2048kHz for XCLK÷4 mode. The conversion
clock must have a constant, low-jitter frequency, other-
wise the MAX110’s linearity will suffer. Refer to the
MAX110 data sheet for additional information.
Table 2. Jumper Settings on MAX110 EV Kit
JUMPER SETTING
FUNCTION
1-2
XCLK is the clock input to the MAX110.
XCLK is the output from the MAX110’s
internal RC oscillator.
J1
J2
J3
2-3
open
closed
open
2-3
Using the Internal RC Oscillator
To use the MAX110’s internal RC oscillator, remove the
shunt from J5 and move the J1 shunt to pins 2-3. Make
sure that the XCLK÷4 mode is selected in the MAX110
program. The XCLK÷4 mode must be used when the
RC oscillator is enabled, since the RC oscillator fre-
quency is approximately 2MHz. To switch back to the
on-board crystal clock oscillator U3, move the J1 shunt
to pins 1-2 and put a shunt across J5 pins 1-2.
Do not operate the EV kit with J1 open.
VREF- connects to ground.
VREF- does not connect to ground.
VREF+ connects to the on-board 2V
reference.
VREF+ connects to the on-board 2.5V
reference.
Crystal clock oscillators can introduce noise into the
system. For applications that demand reduced noise
and do not require either precisely controlled conver-
sion timing or 60Hz rejection, the MAX110’s internal RC
oscillator is recommended.
1-2
VREF+ connects to a user-supplied
reference.
open
1-2
U1 = MAX110, V = -5V from ICL7660
SS
Changing the Reference Voltage
The default reference voltage for the MAX110 EV kit is
2V. When a different reference voltage is selected, for
proper scaling of the displayed output, specify the volt-
age in the command-line option when starting the pro-
gram (see Table 3).
U1 = MAX111, V = ground
J4
J5
2-3
SS
V
must be supplied by the user.
open
SS
XCLK is driven by the crystal oscillator
U3 (note that when J5 is in 1-2
position, J1 must be in 1-2 position).
To use the 2.5V MAX873 reference directly, carefully
cut the printed circuit trace at J3 between pins 2 and 3,
and then install a 3-pin header. Next, select the 2.5V
reference by installing a shunt at J3 between pins 1
and 2. Start the MAX110 program with the “-V2.5” com-
mand-line option, to tell the program that the
reference is now 2.5V. Be sure to observe absolute
maximum ratings for the device being evaluated. An
optional 100k trim pot may be added at site R12 to
trim the MAX873 voltage, if desired.
1-2
2-3
open
—
XCLK connects to EXTCLK edge pad.
XCLK is isolated.
J6
J7
None
closed
open
closed
open
IN1- connects to ground.
IN1- does not connect to ground.
IN2- connects to ground.
IN2- does not connect to ground.
To supply an external voltage reference, carefully cut
the printed circuit trace at J3, between pins 2 and 3,
and at J2. Connect the reference voltage between the
VREF+ and VREF- pads. Run the MAX110 program,
and use the “-V” command-line option to specify the
reference voltage. Be sure to observe absolute maximum
ratings for the device being evaluated.
J8
J9
Activating Shutdown Mode
The MAX110 EV kit software can be used to measure
the supply current of the MAX110 in shutdown mode.
To evaluate shutdown mode, use the following
procedure:
The V
supply to the MAX110 flows
DD
through this jumper. Use this site to
measure the supply current drawn by
the MAX110.
closed
open
Do not operate the EV kit with J9 open.
4
_______________________________________________________________________________________
MAX110 Evaluation System/Evaluation Kit
1) To monitor the MAX110 supply current, install a cur-
rent meter before applying power to the MAX110 EV
kit. Refer to the Measuring Supply Current section.
Typical supply current is less than 1mA during nor-
mal operation, and less than 4µA in shutdown mode
if the internal RC oscillator is used.
Measuring Supply Current
Jumper J9 can be used to measure the supply current
drawn by the MAX110 IC. To measure the supply current,
use the following procedure:
1) Exit the MAX110 software and then turn off the
MAX110 EV kit power.
2) Follow the quick-start instructions to start the
MAX110 software on the IBM PC.
2) Carefully cut the printed circuit board trace at
location J9.
3) From the Control Panel screen, press “S” to enter
the Shutdown Power Cycling screen.
3) Connect a current meter between the two pins of
J9. The direction of current flow is marked with an
arrow on the board.
4) From the Shutdown Power Cycling screen, press
“D” to shut down the MAX110. The supply current
should drop to less than 4µA.
4) Turn on the MAX110 EV kit and restart the MAX110
program to evaluate the desired operating mode.
5) From the Shutdown Power Cycling screen, press
“U” to power-up the MAX110. The supply current
should settle at less than 1mA. There will be short
current spikes whenever a command is sent to the
MAX110.
5) Observe the supply current in both operating and
shutdown modes.
To restore the MAX110 EV kit, use the following
procedure:
1) Turn off the MAX110 EV kit power.
2) Disconnect the current meter.
A typical application may sample the MAX110 at regu-
lar intervals, keeping the MAX110 shut down between
samples. This type of usage can be evaluated by using
the “P” command in the Shutdown Power Cycling
screen. The power-cycling loop repeatedly puts the
MAX110 into sleep mode for a user-specified length of
time, wakes up the MAX110, takes a reading, and
powers the MAX110 down again. The “P” command
runs continuously, until halted by either the “U” or “D”
command.
3) Install a 2-pin header and jumper at J9, or use a
small piece of wire to reconnect J9.
If the MAX110 VSS is connected to -5V, the -5V supply
current can be measured in a similar way. Remove the
shunt from J4 1-2 and connect a current meter. Current
will flow from J4 pin 2 to J4 pin 1. Or, the current meter
may be connected between the VSS edge pad and the
-5V edge pad. Current will flow from the VSS edge pad
to the -5V edge pad.
The parameters that pertain to the “P” command are as
follows: the state of the PD and PDX bits before and
after shutdown, the sleep time, and the optional NOOP,
AUTO NULL, and GAIN CAL cycles.
__Detailed Description of Software
When starting the MAX110 program from the DOS
prompt, several command-line options are available.
For a list of available options, run MAX110 with the “?”
command-line option. Refer to Table 3.
The sampling rate is determined by setting the sleep
time, which is the length of time the program keeps the
MAX110 in shutdown mode. The program allows a
maximum sleep time of 65 seconds.
When the MAX110 program begins operation, it is in its
Opening screen. Use the space bar to select the serial
communications port to which you have connected the
80C32 module. Press the ENTER key to advance to the
Terminal screen.
If the internal RC oscillator is used, activating the PDX
bit may cause the BUSY line to remain low. This condi-
tion should be cleared by starting the power-up
sequence with a configuration word whose MSB is 0 (a
NOOP cycle). If an external oscillator is used, the PDX
bit has no effect and the NOOP cycle is not required.
Supply current will not be as low as in the internal RC
oscillator mode, unless the external oscillator is halted
during shutdown.
The MAX110 program displays its Terminal screen
when it is establishing communications with the 80C32
module. When power is applied to the 80C32 module
or reset is pressed, banner message identifying the
80C32 module is displayed. After the module com-
pletes its self check, it says that all tests have passed.
At this point, use the ALT+L command to load the RAM
resident program into the 80C32 module. After the RAM
resident program has been loaded, use the ALT+C
command to advance to the Control Panel screen.
The PDX power-down bit has no effect unless the
internal RC oscillator is being used. Normally, the PD
and PDX bits should be set to 1 in shutdown mode, and
both should be 0 in active mode.
_______________________________________________________________________________________
5
MAX110 Evaluation System/Evaluation Kit
Table 3. Command-Line Options
Table 4. Opening Screen Commands
KEY
SPACE BAR
ENTER
FUNCTION
Select next serial port
OPTION
FUNCTION
Display program version and list of command-
line options.
?
Use the selected serial port.
Exit the program.
ALT+X
Specify the reference voltage ("-V2.5" means 2.5
volts).
-V
Specify the size of the rolling average queue
("-A10" means average the last 10 readings).
-A
+O
Table 5. Terminal Screen Commands
KEY
FUNCTION
Allow the bar graph to display overrange values
correctly.
Return to Opening screen to select a different
COM port.
ALT+P
Do not compensate the bar-graph display for
overrange values. Values beyond VREF will
display incorrectly due to code aliasing.
-O
ALT+L
ALT+C
ALT+B
ALT+1
ALT+2
ALT+4
ALT+9
ALT+R
ALT+X
Begin downloading code to 80C32.
Start the Control Panel screen.
Display the baud-rate menu.
Use 1200 baud.
1
Default to COM1.
Default to COM2.
Default to COM3.
Default to COM4.
2
Use 2400 baud.
3
4
Use 4800 baud.
Use 9600 baud.
Send the cold-restart command to 80C32.
Exit the program.
Specify log file "myfile" to store control-panel
readings.
-Lmyfile
CONTINUE
Assume that the RAM resident program is
already loaded.
Table 6. Control Panel Commands
KEY
FUNCTION
Highlight the next switch.
The MAX110 Control Panel screen displays the current
and average values for the MAX110’s two input chan-
nels, and offers convenient control of the configuration
settings. Pressing TAB selects a switch, and SPACE
BAR manipulates the switch. The “1” and “2” keys
enable and disable polling for inputs 1 and 2, respec-
tively. The input values may be displayed as raw ADC
counts or as real voltages. Data logging can be
enabled if the program is started with the log file com-
mand-line option. Table 6 lists the commands available
in the Control Panel screen.
TAB
SHIFT+TAB Highlight the previous switch.
SPACE BAR Toggle the highlighted switch.
1
2
Enable or disable polling of input 1.
Enable or disable polling of input 2.
Display readings as raw ADC counts.
Display readings as real voltages.
C
V
The MAX110 Shutdown Power Cycling screen allows
evaluation of the shutdown mode. The “D” command
puts the MAX110 into its shutdown state, the “U” com-
mand brings the MAX110 out of shutdown, and the “P”
command makes the program alternate between the
shutdown and active states. Refer to the section
Activating Shutdown Mode.
Enable or disable data logging. This command
is available only if the MAX110 program was
started with the -L command-line option.
L
S
B
Enter the Shutdown Power Cycling screen.
Enter the Bit Manipulation Panel screen.
Exit the program.
ALT+X
6
_______________________________________________________________________________________
MAX110 Evaluation System/Evaluation Kit
The MAX110 Bit Manipulation Panel screen offers direct
control of the configuration word and gives a direct
view of the output data word. Note that certain bits of
the control word are used for factory testing and must
be zero; the program prevents these bits from acciden-
tally being set. See Table 8 for a list of commands.
old file. A “Y” answer erases the old file. Once the old
file has been destroyed, it cannot be retrieved.
By default, both channels are polled. To log data from
only one channel, press the “1” or “2” key to turn off the
unused channel. To begin logging data, press the “L”
key. Logging may be suspended and restarted by
pressing “L” again.
Data Logging
The MAX110 program can store measurements in a file.
Once logging has been enabled, it can be started and
stopped from the Control Panel screen. The numbers
stored in the logging file are signed conversion counts,
which may be converted to voltage values by a simple
calculation.
The format of the log file is straight ASCII text, with one
reading per channel per line. When only one channel
is enabled, each line contains one reading. When both
channels are enabled, the readings for channel 1 and
channel 2 are separated by a comma. The channel 1
reading is logged first. If both channels are disabled,
no additional data is logged (see Table 9).
To enable datalogging, start up the MAX110 program
using the command-line option “-L” to specify the out-
put filename. For example, the command “MAX110
-Lmyfile.dat” creates the file myfile.dat for logging. If
you specify the name of a file that already exists, the
program asks for confirmation before erasing the old
file. An “N” answer exits MAX110 without damaging the
The numerical value written to the file is the signed inte-
ger conversion-count read from the MAX110. To con-
vert the conversion count to a voltage, use the following
formula:
Conversion Count x V
REF
Real Voltage = –––––––––––––––––––––––
16384
Table 7. Shutdown Power Cycling Panel
Commands
Note that due to overrange, conversion counts may
extend beyond 16384 to approximately 21000.
KEY
D
FUNCTION
Power-down the MAX110 using settings 1-2.
Power-up the MAX110 using settings 4-8.
Power-cycle the MAX110 using settings 1-8.
Toggle the value of the PD bit used in shutdown mode.
Table 8. Bit Manipulation Panel Commands
U
KEY
FUNCTION
Highlight the next bit.
P
TAB
1
SHIFT+TAB
Highlight the previous bit.
Toggle the highlighted bit.
Enable or disable polling of input 1.
Enable or disable polling of input 2.
Enter the Control Panel.
Toggle the value of the PDX bit used in shutdown
mode.
SPACE BAR
2
3
4
1
Set the sleep time (the length of time the P command
will remain in shutdown mode).
2
C
Toggle whether a NO OP cycle should be performed
during wake-up.
ALT+X
Exit the program.
5
6
Toggle the value of the PD bit used in active mode.
Toggle the value of the PDX bit used in active mode.
Table 9. Description of Log-File Format
Toggle whether an AUTO NULL cycle should be per-
formed during wake-up.
7
8
1. <log file> ::=
{ <record> <return character> }
<channel 1 reading>
Toggle whether a GAIN CAL cycle should be per-
formed during wake-up.
| <channel 1 reading> <comma>
<channel 2 reading>
2. <record> ::=
Enable or disable data logging. This command is
available only if the MAX110 program was started
with the -L command-line option.
| <channel 2 reading>
L
3. <channel 1 reading> ::= <signed integer>
4. <channel 2 reading> ::= <signed integer>
C
Return to the Control Panel.
ALT+X Exit the program.
_______________________________________________________________________________________
7
MAX110 Evaluation System/Evaluation Kit
Table 10. Data-Connector Interface
PIN No.
1–4
7, 8
27
80C32
GND
+5V
MAX110
GND
FUNCTION
Ground
+5V
+5V Supply to MAX110 EV Kit
–—–
P1.0
P1.1
P1.2
P1.3
P1.4
CS
Active-Low Chip Select to MAX110
Rising-Edge Clock Input to MAX110
Serial Data Input to MAX110
28
SCK
DIN
29
30
DOUT
Serial Data Output from MAX110
Active-Low Busy Output from MAX110
–———–
31
BUSY
configuration word by sending “Cxxxx”, where xxxx
represents the hexadecimal configuration word value.
MAX110.EXE then sends the “R” command, which
writes and reads the MAX110, and prints the hexadeci-
mal value it reads from the EV kit.
Source Code
Complete source code for both MAX110.EXE and
110CODE.MAX is provided on disk. MAX110.EXE was
written using Borland C++ version 3.0, and
110CODE.MAX was written using the Avocet 8051
Macro Assembler.
Note that the RAM resident code 110CODE.MAX resets
the MAX110 EV kit by sending three configuration bytes
in order: 8C8Ch, 8C88h, and 8C80h. These configura-
tion words reset the MAX110 by turning on auto-null
and gain-calibration mode together, then turning off
auto null, and finally turning off gain calibration. The
MAX110 internally divides the 1.024MHz crystal oscilla-
tor clock by two, for an effective clock of 512kHz. The
program uses the 16-bit resolution mode, unless other-
wise instructed by the user.
The most relevant subroutine in 110CODE.ASM is
Config110 (see Listing 1). This subroutine writes the
configuration word while simultaneously reading the
data from the MAX110 EV kit. Note that the configura-
tion word does not take effect until the next read/write
operation. Macros have been used to help make the
subroutine easier to understand.
Figures 1 and 2 show the timing specifications. The
80C32 module uses an 11.0592MHz clock, so the
instruction cycle time is 1.085µs per instruction cycle.
SCK must be low before CS is activated. SCK’s pulse
width is 4.35µs, with period 17.33µs. The most signifi-
cant bit is sent first. Configuration data is valid 1.14µs
before the rising edge of SCK. Data from the MAX110
is sampled while SCK is high.
Source files SERCMD.C and MAX110.C form the core
interface to the MAX110 EV kit. To write your own pro-
grams using these files, read example programs
SIMPLE.C and NOISE.CPP, and the header files
SERCMD.H and MAX110.H. Both SERCMD and
MAX110 may be compiled under C or C++.
–—–
The communication protocol used between MAX110.EXE
and 110CODE is very simple. MAX110.EXE sets up a
8
_______________________________________________________________________________________
MAX110 Evaluation System/Evaluation Kit
Listing 1. Sample Code to Read and Write to the MAX110
_______________________________________________________________________________________
9
MAX110 Evaluation System/Evaluation Kit
CS
CONV
DV4 DV2
CH1 CAL NUL PDX PD
DIN
1
2
3
4
5
6
7
8
9
10
11
12 13
14
15
16
SCK
POL OFL D13 D12 D11 D10 D9
D8 D7 D6 D5 D4 D3
D2 D1
D0
DOUT
BUSY
CONVERSION
Figure 1. MAX110 EV Kit Timing Diagram
17.33 s
4.35 s
SCK
DATA VALID
DIN
1.14 s SETUP
Figure 2. MAX110 EV Kit Detailed Timing Diagram
10 ______________________________________________________________________________________
MAX110 Evaluation System/Evaluation Kit
+5V
VREF+
VREF–
R8
100
2
R1*
1k
U4
J3
6
1
IN1+
IN1–
MAX873
C1*
0.1
C16*
R2*
1k
2
3
R10
2.43k
1%
F
F
1 F
C13
10
1
16
IN1+
4
7
IN1–
F
C11
10
F
J2
J7
R3*
1k
R9
200
2
3
15
14
VREF–
VREF+
IN2+
IN2–
IN2+
IN2–
C4
F
C18*
C8*
0.1
C2*
0.1
C17*
R4*
1k
0.1
1
F
F
1
F
R11
10k
1%
R12
100k
OPTIONAL
U1
J8
MAX110
MAX111
R7
100
4
13
+5V
+5V
V
DD
VSS
V
SS
R6
100
J9
C12
10
C3
F
C10
F
C15
10
J4
F
0.1
0.1
F
7- 8
C5
F
2
1
3
0.1
+5V
12
GND
+5V
3
+5V
GND
1- 4
5
6
J1
2
1
RCSEL
XCK
C7
F
0.1
14
–5V
8
2
4
U3
1.024
MHz
J5
8
1
C9
F
U2
5
C6
F
0.1
7660
1
2
3
CLOCK
C14
10
7
F
3
EXT CLK
11
10
DIN
GND
7
8
SCK
DOUT
9
BUSY
CS
*NOTE:
C1, C2, C8, C16, C17, C18,
R1–R4 ARE OPTIONAL NOISE
+5V
R5 10k SIP
FILTERS FOR HIGH-IMPEDANCE
SOURCES.
2
3
4
5
6
7
8
CS
P1.0
P1.1
P1.2
P1.3
P1.4
27
28
29
30
31
SCK
DIN
DOUT
BUSY
Figure 3. MAX110 EV Kit Schematic Diagram
______________________________________________________________________________________ 11
MAX110 Evaluation System/Evaluation Kit
Figure 4. MAX110 EV Kit Component Placement Guide—
component side
Figure 6. MAX110 EV Kit PC Board Layout—Solder Side
Figure 5. MAX110 EV Kit PC Board Layout—Component Side
12 ______________________________________________________________________________________
MAX110 Evaluation System/Evaluation Kit
The module is connected to an IBM-compatible
personal computer over a serial communications port.
____80C32 Module Component List
Software provided with each EV kit runs on the
computer and controls the unit consisting of the 80C32
module and EV kit. The program uses a routine stored
in the 27C64 EPROM to download special 80C32 code
for each kit. The downloaded code controls the EV kit
and, together with the program running on the person-
al computer, displays the output data.
DESIGNATION
QTY
DESCRIPTION
C1, C2
2
15pF ceramic capacitors
C4, C5, C6, C7,
C8, C9, C10,
C11, C12
9
0.1µF, 50V ceramic capacitors
22µF, 16V radial electrolytic
capacitors
C3, C13, C14
3
The board operates from a single 8V to 22V supply.
Both the pre-regulated and regulated +5V levels are
available to the EV kit through the 40-pin connector.
D1
J1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1N4001 diode
40-pin right-angle male connector
DB9 right-angle socket
620 resistor
10k , 10-pin, 9-resistor SIP
Power switch
Reset switch
80C32 Module Power Supply
The Maxim 80C32 module requires an input of 8V to 22V
for normal operation. An on-board 78M05 power regula-
tor supplies the 5V required for the logic on the module,
and any 5V requirements for the EV kit attached to the
40-pin connector. The pre-regulated voltage is also
available on the data connector. The source must be
capable of supplying 100mA for the module and meet-
ing the load requirements of the EV kit.
J2
R1
RS1
SW1
SW2
IC1
IC2
IC3
IC4
IC5
IC6
IC7
IC8
IC9
IC10
Y1
80C32
MAX233CPP
Microprocessor Supervisor
A MAX707 on the module monitors the 5V logic supply,
generates the power-on reset, and produces a reset
pulse whenever the reset button is pressed. A watch-
dog function was not included because they frequently
interfere while debugging programs, and debugging is
a prime function of this board.
27C64
74HCT573
74HCT139
74HCT08
74HCT245
62256
80C32 Microcontroller
The 80C32 is a member of the popular Intel 8051 family
of µCs. It is a low-power CMOS version that requires
external ROM for program storage, 256 bytes of inter-
nal RAM, and four 8-bit I/O ports. Three of the ports are
required by the system for serial communications and
memory control. The fourth port (P1) is available
through the data connector.
78M05
MAX707CPA
11.059MHz crystal
2-pin power connector
None
28-pin 600-mil socket for IC3
(the EPROM)
None
1
None
None
4
1
Rubber feet
The 80C32 communicates with the PC over a serial
RS-232 link. A MAX233 acts as a level shifter between
the 15V RS-232 signals and the TTL levels of the
80C32. The MAX233 also generates the output
voltages necessary to drive RS-232 lines.
3.00" x 5.50" PC board
80C32 Module
Port 0 (pins 32–39) of the 80C32 multiplexes the lower
eight bits of memory address and the eight bits of
read/write data. The lower eight bits of address data
are latched during each I/O cycle by the 74HCT573
octal latch. The latch is controlled by the address latch
enable (ALE) signal of the 80C32. Port 2 (pins 21–28) of
the 80C32 supplies the upper eight bits of address
information.
_________________General Description
The Maxim 80C32 microcontroller (µC) module is
intended for use with this and other Maxim evaluation
kits (EV kits). It contains the 80C32 µC, RS-232 inter-
face, 8kbytes of EPROM, 32kbytes of static RAM, and
address decoding logic. A 40-pin connector mates
with a connector found on Maxim EV kits designed to
interface with the 80C32 module.
______________________________________________________________________________________ 13
MAX110 Evaluation System/Evaluation Kit
The port 3 pins (10–17) provide several unrelated
functions. Pins 10 and 11 are used as the receive data
(RxD) and transmit data (TxD) pins of the RS-232 link.
Pins 16 and 17 act as the write (WR) and read (RD)
control signals for the data I/O cycles. Four other pins
are configured as interrupt and timer controls, but are
not used on this board.
Data I/O Connector
A 40-pin connector mounted on the edge of the printed
circuit board provides connection between the µC
module and other Maxim EV kits. Both power and digi-
tal signals are transferred via the connector. To join the
module board with an EV kit, carefully align and insert
the pins on the connector with the mating 40-pin
female connector of the kit. The pin functions are listed
in Table 12.
Memory
The board has a 27C64 EPROM containing code for
initializing the 80C32 and downloading additional
program code to the 62256 RAM. After a reset, the
EPROM resident code initializes the 80C32, determines
the address range of the RAM, sets the RS-232 baud
rate to 1200, and waits for communications from the
PC. Receiving any character will prompt the program to
send an initial banner that includes the program name,
revision level, and boundaries of the on-board RAM.
Table 12. I/O Connector Pin Functions
PIN
1–4
5, 6
7, 8
9
FUNCTION
Ground
Pre-regulator input
Regulated +5V
RD
DESCRIPTION
Read strobe
10
WR
Write strobe
The 62256 CMOS (32kbyte) static RAM is used to hold
program code for the various Maxim EV kits that use
the 80C32 module as the controller. Programs are
transferred from disk to the RAM using software run-
ning on a personal computer, such as MAXLOAD or
other programs provided with Maxim EV kits. Programs
written to execute from this RAM start at 4000 (HEX)
and are typically less than 4kbytes long. The remaining
RAM is available for data storage.
11
12
13
14
15–18
19–26
27–34
35–40
CS0
CS1
CS2
CS3
Address C000–CFFF
Address D000–DFFF
Address E000–EFFF
Address F000–FFFF
Lowest 4 bits of address
8-bit data bus
ADDR0–ADDR3
DB0–DB7
P1.0–P1.7
Reserved
8 bits of port 1
Address Ranges
Logic on the module board generates various enable
signals for different address ranges. The ROM and
RAM enable signals are fed directly to the respective
chips. Several additional signals (CS0–CS3) are
available on the data connector to be used by Maxim
EV kits. Table 11 outlines the address range for each of
the elements found on the 80C32 module.
Software Architecture
Software for EV kits using the Maxim 80C32 module is
divided into three elements: the interface program run-
ning on an IBM-compatible PC, a module program
located in EPROM, and a program supplied on disk
that is transferred to the RAM located on the module.
EPROM Resident Program
The EPROM resident program initializes the 80C32,
establishes communications over the RS-232 link, veri-
fies the static RAM, and downloads other programs. Its
operation starts on power-up and whenever the reset
button is pressed. After reset, the program waits indefi-
nitely to receive a character over the RS-232 port. When
the first character is received, a logon banner identifying
the module and firmware revision is transmitted.
Table 11. Address Ranges in Hexadecimal
ADDRESS RANGE (HEX)
ENABLE SIGNAL
0000
4000
C000
D000
E000
F000
➔
➔
➔
➔
➔
➔
3FFF
BFFF
CFFF
DFFF
EFFF
FFFF
ROM
RAM
CS0
CS1
CS2
CS3
14 ______________________________________________________________________________________
MAX110 Evaluation System/Evaluation Kit
Figure 7. 80C32 Module Component Placement Guide (2x)
Immediately following transmission of the logon banner,
Two other programs for the EV kits are provided on a
floppy disk shipped with each kit. One program acts as
the user interface and transmits commands to the
80C32 module. The other is an 80C32 application pro-
gram that executes from the RAM located on the
module. The procedure for loading the programs varies
with each kit, so follow the instructions provided.
the program runs a checker routine for the on-board
256kbit static RAM. The RAM is filled with several pat-
terns and then read to verify that each pattern has been
retained. A pass or fail indication is displayed on the
personal computer after each pass. EV kit software
requires proper operation of the RAM. Do not attempt
to use the board if any of the RAM checks fail.
______________________________________________________________________________________ 15
MAX110 Evaluation System/Evaluation Kit
34
P1.0-P1.7
27-34
ALL D9 MNEMONICS REFER
TO THE HOST (DTE)
5
GND
27
1
4
6
DCD
DTR
DSR
11
1
D1
1
0 0
11
39
0
2
10
0
19
A0
O0
AD0
AD1
AD2
AD3
AD4
AD5
AD6
AD7
ALE
-EA
P1.0
Q1
Q8
2
3
4
5
6
7
1 1
2 2
3 3
4 4
5 5
6 6
12
13
15
16
17
18
19
38
37
36
35
34
33
32
30
31
1
2
3
4
5
6
7
3
4
5
6
7
8
9
9
8
7
6
5
4
3
25
24
1
2
3
4
5
6
7
18
17
16
15
14
13
12
MAX233A
U2
+5V
2
+5V
T1OUT T1IN
P1.1
P1.2
P1.3
P1.4
P1.5
P1.6
P1.7
RXD
TXD
A1
A2
A3
A4
A5
A6
A7
A8
A9
A10
A11
A12
N.C./A13 PCM
C
E
O1
O2
O3
O4
O5
O6
O7
74HCT
573
U4
D
5
18
4
19
11
15
10
16
2
2
3
TXD
1
8
7
7
8
9
T2IN
T2OUT
D8
3
20
8
13
12
17
14
10
11
12
13
14
15
16
17
R1IN R1OUT
R2IN R2OUT
RXD
27C64
U3
10 21
11
23
12
13
+5V
C2+
C2+
C2-
C2-
C1+
C1-
V-
-INT0
-INT1
T0
15
28
7
8
RTS
CTS
A15
A14
A13
A12
A11
A10
A9
2
26
22
1
27
27 14
VPP
26 13
V-
T1
-WR
-RD
25
12
V+
GND GND
6
20
24 11
23 10
22
21
9
9
9
8
RST
A8
MAX707
U10
C1 27pF
18
19
XTAL2
XTAL1
+5V
29
1
2
3
4
8
7
6
5
-PSEN
MR RESET
VCC RESET
GND N.C.
XX1 11.059MHz
1
4
SW1
RESET
2
C2
27pF
+5V
14
15
A0
A1
0
1
2
3
5
6
7
3
U6 HCT08
U6 HCT08
3
U5
HCT139
9
PFI
PFO
2
6
4
5
8
1
U6 HCT08
10
EN
+5V 12
13
11
U6 HCT08
Figure 8. 80C32 Module Schematic
16 ______________________________________________________________________________________
MAX110 Evaluation System/Evaluation Kit
0
1
ADDR0-4
2
3
+5V
15-18
RS1
10k
U8
62256
1
19
0
0 0
2
18
10
11
A0
I/O1
DIR EN
B1
B8
A1
1
2
3
4
5
6
7
8
9
10
11
12
1 1
2 2
3 3
4 4
5 5
6 6
7 7
3
4
5
6
7
8
9
17
16
15
14
13
12
11
9
8
7
6
5
4
3
25
24
21
23
2
26
1
20
22
27
12
13
15
16
17
18
19
A1
A2
A3
A4
A5
A6
I/O2
I/O3
I/O4
I/O5
I/O6
I/O7
I/O8
74HCT
/245
U7
DB00-DB07
19-26
H
A8
A7
A8
A9
A10
A11
A12
A13
A14
-CS
-OE
-WR
12
14
13
12
13
A0
A1
0
11
10
9
1
2
3
-CS0 - -CS3
11-14
13
14
LS139
U5
15
EN
-RD
9
-WR 10
RESERVED
35-40
+5V
+5V
7-8
78M05
U9
V++
R1
620
C4-C12
0.1 F
5-6
SW2 POWER SWITCH
VIN
POWER
LED
VIN
VOUT
+
+
POWER CONNECTOR
C14 47 F
GND
C3
47 F
C13
47 F
GND
1-4
Figure 8. 80C32 Module Schematic (continued)
______________________________________________________________________________________ 17
MAX110 Evaluation System/Evaluation Kit
Figure 9. 80C32 Module Component-Side Layout (2x)
18 ______________________________________________________________________________________
Figure 10. 80C32 Module Solder-Side Layout (2x)
Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit patent licenses are
implied. Maxim reserves the right to change the circuitry and specifications without notice at any time.
Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600 ____________________ 19
© 1995 Maxim Integrated Products
Printed USA
is a registered trademark of Maxim Integrated Products, Inc.
相关型号:
©2020 ICPDF网 联系我们和版权申明