MAX187EVKIT-DIP Maxim Integrated, MAX187EVKIT-DIP Datasheet - Page 4

no-image

MAX187EVKIT-DIP

Manufacturer Part Number
MAX187EVKIT-DIP
Description
Data Conversion IC Development Tools Programmers, Development Systems
Manufacturer
Maxim Integrated
Series
MAX187, MAX189r
Datasheet

Specifications of MAX187EVKIT-DIP

Interface Type
QSPI, Serial (SPI, Microwire)
Factory Pack Quantity
1
MAX187.EXE
Table 4. Compiled Program Dependencies
For applications that require custom software, the MAX187
EV kit includes a set of programs that can be used as a
development platform to extend the functionality of the
basic kit. Source code is in the SOURCE subdirectory of
the MAX187 EV kit disk. Advanced C or C++ program-
mers should see Table 4 for the makefile dependencies.
The simplest program that accesses the MAX187 EV kit is
SIMPLE.EXE, which loads the small RAM resident pro-
gram into the 68HC16 module and then performs continu-
ous conversions, until the user presses a key.
To run the SIMPLE.EXE program, enter the command SIM-
PLE from the DOS prompt. The program will ask which seri-
al port is connected to the µC module. Press the ‘1’ number
key to select COM1, or press the ‘2’ number key to select
COM2. To terminate the program, press the ESC key.
MAX187 Evaluation System/Evaluation Kit
SIMPLE.EXE
Table 3. Commands Available in
MAX187.EXE Terminal Program
PROGRAM
4
ALT+L
ALT+X
ALT+P
ALT+R
ALT+O
ALT+C
ALT+B
ALT+1
ALT+4
ALT+9
ALT+2
KEY
_______________________________________________________________________________________
Load and run resident code on 68HC16.
Exit to DOS.
Change port (COM1, COM2).
Send RESET command to 68HC16.
Open a log file.
Close the log file.
Display baud rate menu.
1200 baud
4800 baud
9600 baud
19200 baud
main program
68HC16 command
interface
MAX187 EV kit commands
main program
custom controls
terminal + downloader
68HC16 command
interface
MAX187 EV kit commands max187.c, max187.h
PROGRAM SECTION
DOS Development Platform
FUNCTION
simple.c
sercmd.c, sercmd.h
max187.c, max187.h
shell.cpp, global.h
meters.cpp, meters.hpp
download.cpp,
download.h
sercmd.c, sercmd.h
SOURCE FILES
The IBM PC programs were compiled under Borland
C++ version 3.1. The EPROM and RAM resident
68HC16 programs were assembled using the Motorola
68HC macro assembler version 4.1, which comes with
Motorola’s 68HC16Z1EVB evaluation board. Contact the
Motorola Microprocessor and Memory Technologies
Group at (512) 891-2628.
The BASIC programs are written in Mircosoft QuickBasic
1.0, which comes with MS-DOS 5.0 and later versions.
The 68HC16 module uses its queued serial peripheral
interface (QSPI) in master mode to read the MAX187
between conversions. Figure 1 shows the schematic of
the QSPI interface connections. The MAX187 EV kit soft-
ware uses the following algorithm (provided on disk in the
SOURCE subdirectory, file MIN187.ASM):
1) Initialize
2) Assert CS low.
3) Wait 8.5µs (maximum conversion time for the
4) Start QSPI transfer.
5) Wait until QSPI transfer is complete.
Figure 1. QSPI Interface Schematic
MAX187) or until MISO goes high. (Since DSCKL is
only 7 bits, the maximum delay-before-clock available
for a 16.78MHz 68HC16 is 128/16.78MHz = 7.628µs.
Thus, the QSPI’s DSCKL parameter cannot be used
unless the system clock frequency is reduced.)
Master Mode
SPBR = 2 (4.192MHz serial clock)
CPOL = 0, CPHA = 1
BITS = 13 bits per transfer
DTL = 1 (1.9µs delay after transfer)
(DSCKL is not used)
Control RAM entry must enable BITS and DTL;
CS = 0 when active.
Using the QSPI to Read the MAX187
68HC16
PCS0
MISO
Programming Languages Used
QSPI
SCK
I/O
parameters
SHDN
CS
SCLK
DOUT
MAX187
as
follows:

Related parts for MAX187EVKIT-DIP