19-1490; Rev 0; 5/99 MAX1403 EV System The MAX1403 evaluation system (EV system) is a complete, multichannel data-acquisition system consisting of a MAX1403 evaluation kit (EV kit) and a Maxim 68HC11 microcontroller (µC) module. The MAX1403 is a lowpower, multichannel, serial-output analog-to-digital converter (ADC). Windows 95/98™-compatible software provides a handy user interface to exercise the MAX1403’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 MAX1403 using a personal computer. Order only the EV kit if the 68HC11 µC module has already been purchased with a previous Maxim EV system or for custom use in other µC-based systems. The MAX1403 EV kit and EV system can also be used to evaluate the MAX1401. Simply order a free sample of the MAX1401CAI along with the MAX1403EVKIT. Features ♦ Easy to Configure ♦ Collects Up to 8192 Samples at Full Speed ♦ Complete Evaluation System ♦ Proven PC Board Layout ♦ Fully Assembled and Tested Ordering Information PART TEMP. RANGE MAX1403EVKIT 0°C to +70°C User-Supplied MAX1403EVL11 0°C to +70°C Windows Software Note: The MAX1403 software can be used only with the complete evaluation system (MAX1403EVL11), which includes the 68L11DMODULE together with the MAX1403EVKIT. MAX1403 EV Kit Component List MAX1403 Stand-Alone EV Kit The MAX1403 EV kit provides a proven PC board layout to facilitate evaluation of the MAX1403 with user-provided software and hardware. It must be interfaced to appropriate timing signals for proper operation. Refer to the MAX1403 data sheet for timing requirements. See Table 2 for jumper functions. MAX1403 EV System The MAX1403 EV system operates from a user-supplied +5V to +12V DC power supply. MAX1403 EV System Component List PART QTY DESCRIPTION MAX1403EVKIT 1 MAX1403 Evaluation Kit 68L11DMODULE 1 68HC11 µC Module Windows 95/98 is a trademark of Microsoft Corp. INTERFACE TYPE DESIGNATION QTY DESCRIPTION C3–C8 6 100pF ceramic capacitors (1206) C9, C10, C11 3 0.1µF ceramic capacitors (1206) C12, C13 0 Not installed C15 1 2.2µF aluminum electrolytic radialleaded capacitor 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 0 Not installed R10 0 Not installed Component Suppliers U1 1 Maxim MAX1403CAI U2 1 Maxim MAX6520EUR (SOT23 voltage reference, 1.2V, 20ppm/°C max) Y1 1 2.4576MHz ceramic resonator Murata CST2.45MGW040 None 1 3" x 4" PC board MAX1403 evaluation kit None 1 3 1/2" software disk MAX1403 evaluation kit None 1 Maxim 68HC11 module monitor, ROM Version 1.1 (Version 1.0 ROM will not work with this EV kit.) ________________________________________________________________ Maxim Integrated Products 1 For free samples & the latest literature: http://www.maxim-ic.com, or phone 1-800-998-8800. For small orders, phone 1-800-835-8769. Evaluates: MAX1401/MAX1403 General Description MAX1403 EV System Evaluates: MAX1401/MAX1403 MAX1403 EV Kit Files Windows Application Program Files FILE DESCRIPTION MAX1403.EXE Application program that runs under Windows 95/98 MAX1403.HLP Help file KIT1403.L11 Software loaded into 68HC11 microcontroller MAX1403.INI Program settings file Example Source Code Files FILE DESCRIPTION MAX1403.CPP Source code module for driving the MAX1403, provided for reference. Includes definitions of the register names and lowlevel access routines. Compiled with Borland C++ 4.52. Maxim holds the copyright but allows customers to adapt the program for their own use without charge. MAX1403.H Header file for MAX1403.CPP, provided for reference. 68HC16 Source Code Files FILE DESCRIPTION KIT1403.ASM Main source code for the KIT1403.L11 program, provided for reference. Maxim holds the copyright but allows customers to adapt the program for their own use without charge. EVKIT.ASM Source code defining the program interface with the Maxim 68HC11 Module ROM (Rev. 1.1). Install/Uninstall Program Files FILE 2 DESCRIPTION INSTALL.EXE Installs the EV kit files on your computer. UNINST.INI Database for uninstall program. UNMAXIM.EXE Removes the EV kit files from your computer. This file is automatically copied to C:\WINDOWS during installation. _________________________Quick Start Recommended Equipment Obtain the following equipment before you begin: • A DC power supply that generates +5VDC to +12VDC at 30mA to 50mA • An IBM PC-compatible computer running Windows 95/98 • A spare serial communications port, preferably a 9pin plug • A serial cable to connect the computer’s serial port to the Maxim 68HC11 Module 1) Before you begin, make sure your 68HC11 module has the Rev. 1.1 ROM. The software will not function with the Rev. 1.0 ROM. 2) Carefully connect the boards by aligning the 40-pin header of the MAX1403 EV kit with the 40-pin connector of the 68HC11 module. Gently press them together. The two boards should be flush against one another. 3) 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. 4) 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, DCD) to confirm that the correct port has been selected. 5) Install the software on your computer by running the INSTALL.EXE program from the floppy disk. The program files are copied and icons are created for them in the Windows 95/98 Start Menu. The EV kit software evaluates both the MAX1403 and the MAX1401. 6) Start the MAX1403 program by opening its icon in the Start Menu. 7) The program will prompt you to connect the µC module and turn its power on. Slide SW1 to the “ON” position. Select the correct serial port, and click OK. The program will automatically download the file KIT1403.L11 to the module. _______________________________________________________________________________________ MAX1403 EV System Upgrading the 68HC11 Module The MAX1403 EV kit requires Rev. 1.1 of the Maxim 68HC11 Module ROM. Check the label on device U10 on the module; if it says “Rev. 1.0,” the device must be replaced. The Rev. 1.1 ROM is a 28-pin DIP that comes with the EV kit. If it was omitted, 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 perform the installation at one sitting. 1) Slide the ON/OFF switch to the OFF position. 2) Using a flat-blade screwdriver, gently pry U10, the REV 1.0 ROM, out of its socket. 3) Remove the REV 1.1 ROM from its antistatic packaging. 4) Align the REV 1.1 ROM in the U10 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 MAX1403 digitizes up to seven inputs. The various program functions are grouped into windows that 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 0V. Similarly, the software assumes that CALGAIN+ is connected to REFIN+ and CALGAIN- is connected to REFIN- so that CALGAIN measures the reference voltage. These two points calibrate the code-to-voltage translation function performed in the software. The MAX1403 automatically triggers its measurements, unless the FSYNC control bit is set. The EV kit software communicates with the MAX1403 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 60,000ms. 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 MAX1403 must not be operated in free-running mode. Check or uncheck the Use INT Interrupt checkbox to configure the evaluation kit software. 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 MAX1403 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 MAX1403 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 are input voltage-range selection buttons. These buttons configure all input channels for the same input voltage range. Although the MAX1403 can be operated with three different input ranges at the same time, the EV kit software supports only a single range for all channels. _______________________________________________________________________________________ 3 Evaluates: MAX1401/MAX1403 8) When the software successfully establishes communication with the EV kit board, you will see a configuration tool and some other windows. Verify that the CLKIN and Reference Voltage settings are correct. Close or minimize this dialog box. 9) Apply input signals to the inputs labeled AIN1–AIN5, at the bottom edge of the MAX1403 EV kit board. AIN6 is analog common. Observe the readout on the screen. Evaluates: MAX1401/MAX1403 MAX1403 EV System The digital filter on the MAX1403 can be configured for SINC3 or SINC1 operation, which affects the filter cutoff frequency. (SINC1 means SIN(X) ÷ X, and SINC3 means (SIN(X) ÷ X)3.) The SINC3 filter is required for 16-bit accuracy. The SINC1 filter 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 MAX1403 in this mode. Calibration Tool The MAX1403 EV kit software can average the measurements from the calibration channels and use the measured values to correct the voltage displays. The calibration algorithm assumes that the CALOFF inputs are externally connected together and that the CALGAIN inputs are externally connected to the reference voltage (VREF). View the calibration tool by selecting it from the Show menu. The software automatically disables calibration if either of the calibration channels reports a code of 0 or 262143. This is to prevent erroneous calibration when using a transfer function that does not include both 0V and VREF. When Use CALOFF and CALGAIN for Calibration is checked, the software averages the raw A/D codes for the CALOFF and CALGAIN channels. The average is calculated as a weighted sum of the new data and the old average value. The Slower/Faster slide bar controls the weight of the new data vs. the weight of the old average. The EV kit software assumes that all three transfer function registers are set to the same value. This calibration affects only the displayed voltage, not the raw code numbers. The average CALOFF and CALGAIN code values are used as the endpoints of a linear interpolation, with CALOFF measuring 0V and CALGAIN measuring VREF. The linear interpolation formula is as follows: Voltage = VREF(Code − CALOFFcode) (CALGAINcode − CALOFFcode)PGAgain Note: When using the calibration tool with the MAX1403 in buffered mode, CALOFF+ and CALOFFshould be disconnected from GND and connected instead to REFIN+ so that they remain within the specified input range. Sampling Tool To sample data at full speed, select Sample from the main display menu, make your selections, and click on 4 the Begin Sampling button. Sampling rate is controlled by the Configuration tool. Sample size is restricted to a power of two. Sample Size controls the number of samples collected on each selected channel. After the samples have been collected, the data is automatically uploaded to the host and is graphed. Once displayed, the data may be saved to a file. While the Sampling tool is open, the other windows are locked out. Close the Sampling tool by clicking the Close icon in the upper corner. Register Display Tool This tool displays all of the internal registers of the MAX1403. Modify any bit value by checking or unchecking its box. (The START bit and the zero bits in the Special Function register (SFR) cannot be modified). The Read All Registers button causes the software to read all of the MAX1403’s registers. (Not functional when the MDOUT or FULLPD bit is set.) Refer to Table 1 for a guide to register bit functions. Communications Register (COMMS) Setting the FSYNC control bit inhibits the MAX1403 from performing its self-timed measurements. If FSYNC = 1 when it is time to perform a measurement, the MAX1403 simply skips that measurement. Thus, power-line frequency rejection is not affected by the FSYNC bit. Setting the STDBY bit places the part in low-power standby mode. The serial interface and the CLK oscillator continue to operate. The part can be restored to normal operation by clearing the STDBY bit. Special Function Register (SFR) Setting the MDOUT bit makes the raw modulator output available on the DOUT pin; however, the EV kit software cannot read data from the MAX1403 in this mode. Setting the FULLPD bit in the SFR register places the part in full power-down mode. The master oscillator does not run. To restore normal operation, click on the Reset menu item in the main display. This causes the 68HC11 software to pulse the MAX1403 RESET pin. Transfer Function Registers (TF1, TF2, TF3) The three transfer function registers (TF1, TF2, TF3) control how input voltage is mapped to code values. The transfer function registers control a programmable-gain amplifier (PGA) and an offset-correction DAC. If U/B = 1, the transfer function maps unipolar voltages between 0V and VREF. If U/B = 0, then the transfer function maps bipolar voltages between -VREF and +VREF. Next, the PGA increases the code-per-volt pro- _______________________________________________________________________________________ MAX1403 EV System When SCAN = 1, the CALOFF and CALGAIN channels are controlled by TF3. When SCAN = 0, the CALOFF and CALGAIN channels are controlled by one of the transfer function registers, as selected by the A1 and A0 bits. For simplicity, the EV kit software assumes that all three transfer functions are configured alike. Detailed Description ________________________of Hardware U1, the MAX1403, is a multichannel, high-resolution A/D converter (refer to the MAX1403 data sheet). U2, the MAX6520, is a 1.2V reference (refer to the MAX6520 data sheet). Y1 contains a ceramic resonator and its load capacitors. R1–R6, together with C3–C8, form anti-aliasing input filters. R8 and C11 filter the digital power supply. The analog supply comes through filter R7/C10. Input Filtering The EV kit has an RC filter on each input with a time constant of approximately 0.01µs = 10ns (R = 100Ω, C = 100pF). When scanning between channels, the RC filter’s settling time may increase the acquisition time required for full accuracy. Evaluating the MAX1401 The MAX1401 can be evaluated by shorting across jumpers JU6 and JU7. The MAX1401 is exactly like the MAX1403, except that the function of pins 5, 6, 7, and 8 is changed. Instead of the OUT1/OUT2 outputs and DS0/DS1 inputs, these pins are used to provide access to the analog signal between the multiplexer and the A/D converter. Tables 2 and 3 list the jumper functions and default settings. Refer to the MAX1401 data sheet for detailed information. Measuring Supply Current Supply current can be estimated by measuring the voltage across a series resistor. On the EV kit board, the MAX1403 draws all of its analog and digital power through R8, which is 10Ω. In addition, all analog supply current flows through R7, which is also 10Ω. Troubleshooting Problem: unacceptable amounts of noise in the signal. Collect a sample of 1024 measurements at a 60Hz data rate. Observe whether the problem is caused by 60Hz noise. Any AC-powered equipment connected to the analog signal ground can inject noise. Try replacing AC-powered DVMs with battery-powered DVMs. _______________________________________________________________________________________ 5 Evaluates: MAX1401/MAX1403 cessing gain, reducing the full-scale voltage range by a factor of 1, 2, 4, 8, 16, 32, 64, or 128. Finally, the offsetcorrection DAC offsets the voltage range by up to ±7/6 of the full-scale voltage range. Input pins AIN1 and AIN2 are controlled by TF1. Input pins AIN3 and AIN4 are controlled by TF2. Input pin AIN5 is controlled by TF3. Input pin AIN6 is the analog common. Evaluates: MAX1401/MAX1403 MAX1403 EV System Table 1. Guide to Register Bit Functions REGISTER COMMS BIT NAME 0/DRDY RS2–RS0 R/W GS1 GS2 SFR DESCRIPTION Start bit is zero; DIN pin must be 1 when idle. Register select for subsequent operation Selects subsequent read or write operation RESET Causes software reset when set to 1 STDBY Activates standby power-down mode when set to 1 FSYNC Inhibits the A/D converter when set to 1 A1 Selects the active channel A0 Selects the active channel MF1 Selects the data output rate MF0 Selects the data output rate CLK Selects the CLKIN frequency FS1 Selects the data output rate FS0 Selects the data output rate FAST Selects SINC1 filter instead of SINC3 SCAN Enables the scanning sequences M1 Enables the CalGain channel M0 Enables the CalOff channel BUFF Enables the input buffers DIFF Selects differential input pairs BOUT Enables the transducer burn-out test currents IOUT Enables the OUT1 and OUT2 current sources (MAX1403 only) X2CLK Selects the CLKIN frequency MDOUT Changes the DOUT and INT pins to provide raw modulator output FULLPD Activates full power-down mode. Use hardware reset to restore normal operation. All other bits in SFR must be zero TF1, 2, 3 G2–G0 U/B DATA Selects unipolar or bipolar coding D3–D0 Selects the offset correction DAC code; D3 = sign, D2–D0 = magnitude D17–D0 Raw code value DS1 Value of the DS1 input pin (MAX1403 only) DS0 Value of the DS0 input pin (MAX1403 only) CID2–CID0 6 Selects the PGA Gain Channel identification tag ______________________________________________________________________________________ MAX1403 EV System JUMPER JU1 JU2 JU3 JU4 JU5 STATE Closed* Open Closed* Open Closed* Open Closed* Open Closed* Open Evaluates: MAX1401/MAX1403 Table 2. Jumper Functions FUNCTION Use CalGain inputs for gain calibration (CALGAIN+ = REFIN+) Use CalGain inputs as general purpose signal inputs Use CalGain inputs for gain calibration (CALGAIN- = REFIN-) Use CalGain inputs as general purpose signal inputs Use CalOff inputs for offset calibration (CALOFF+ = GND) Use CalOff inputs as general purpose signal inputs Use CalOff inputs for offset calibration (CALOFF- = GND) Use CalOff inputs as general purpose signal inputs Use on-board reference U2 (REFIN- = GND) REFIN+ and REFIN- must be driven by an external reference Closed Connects pin 5 to pin 7 MAX1403: pin 5 = digital input DS1, pin 7 = current source MAX1401: normal operation Open Disconnects pin 5 from pin 7 MAX1403: pin 5 = digital input DS1, pin 7 = current source MAX1401: insert filter between mux and A/D Closed Connects pin 6 to pin 8 MAX1403: pin 6 = digital input DS0, pin 8 = current source MAX1401: normal operation Open Disconnects pin 6 from pin 8 MAX1403: pin 6 = digital input DS0, pin 8 = current source MAX1401: insert filter between mux and A/D JU6 JU7 JU8 Closed* Open Use on-board reference U2 (REFIN+ = 1.2V) REFIN+ and REFIN- must be driven by an external reference * Default trace on top layer of PC board Table 3. Default Jumper Settings JUMPER STATE FUNCTION JU1 Closed* Use CalGain inputs for gain calibration (CALGAIN+ = REFIN+) JU2 Closed* Use CalGain inputs for gain calibration (CALGAIN- = REFIN-) JU3 Closed* Use CalOff inputs for offset calibration (CALOFF+ = GND) JU4 Closed* Use CalOff inputs for offset calibration (CALOFF- = GND) JU5 Closed* Use on-board reference U2 (REFIN- = GND) JU6 Open Disconnects pin 5 from pin 7 MAX1403: pin 5 = digital input DS1, pin 7 = current source MAX1401: insert filter between mux and A/D JU7 Open Disconnects pin 6 from pin 8 MAX1403: pin 6 = digital input DS0, pin 8 = current source MAX1401: insert filter between mux and A/D JU8 Closed* Use on-board reference U2 (REFIN+ = 1.2V) * Default trace on top layer of PC board _______________________________________________________________________________________ 7 8 AIN4 AIN3 AIN2 AIN1 OUT1 OUT2 DS0 DS1 J1-33 J1-34 AVDD 1 R1 100Ω R4 100Ω R3 100Ω R2 AGND JU7 AGND AGND AGND AGND JU6 DGND 100Ω 2 Y1 2.4576MHz 3 C6 100pF C5 100pF C4 100pF 14 13 12 11 10 9 8 7 6 5 4 3 2 1 U1 AIN4 AIN3 AIN2 AIN1 V+ AGND OUT1 (ADCIN-) OUT2 (ADCIN+) DS0 (MUXOUT-) DS1 (MUXOUT+) DGND VDD INT DOUT DIN SCLK AIN5 AIN6 CALGAIN- CALGAIN+ REFIN- REFIN+ CALOFF- CALOFF+ MAX1403 RESET (MAX1401) CS CLKOUT CLKIN DGND EXTCLK C3 100pF J2 15 16 17 18 19 20 21 22 23 24 25 26 27 28 C7 100pF C8 100pF C12 OPEN R10 DVDD 10Ω R7 R9 AGND AGND R6 100Ω R5 100Ω SHORT C9 0.1µF JU4 C13 SHORT OPEN DGND INT MISO MOSI SCLK JU2 JU1 AGND JU3 C10 0.1µF J1-29 J1-35 J1-36 J1-37 AIN5 AIN6 AVDD DVDD C11 0.1µF GAIN- GAIN+ REF- REF+ OFFSET- OFFSET+ DGND 10Ω R8 JU5 JU8 1 VIN GND 3 2 VOUT MAX6520 U2 J1-8 J1-7 AGND C15 2.2µF J1-6 J1-5 J1-4 J1-3 J1-2 J1-1 Evaluates: MAX1401/MAX1403 MAX1403 EV System Figure 1. MAX1403 EV Kit Schematic _______________________________________________________________________________________ MAX1403 EV System Evaluates: MAX1401/MAX1403 1.0" Figure 2. MAX1403 EV Kit Component Placement Guide—Component Side _______________________________________________________________________________________ 9 Evaluates: MAX1401/MAX1403 MAX1403 EV System 1.0" Figure 3. MAX1403 EV Kit PC Board Layout—Component Side 10 ______________________________________________________________________________________ MAX1403 EV System Evaluates: MAX1401/MAX1403 1.0" Figure 4. MAX1403 EV Kit PC Board Layout—Solder Side ______________________________________________________________________________________ 11 Evaluates: MAX1401/MAX1403 MAX1403 EV System NOTES 12 ______________________________________________________________________________________ 68L11D Module The 68L11D module is an assembled and tested PC board intended for use with Maxim’s low-voltage dataacquisition evaluation kits (EV kits). The module uses Motorola’s MC68L11D0FN2 microcontroller (µC) to collect data samples using the SPI interface. It requires an IBM PC computer and an external DC power supply of +5V to +16V, or as specified in the appropriate EV kit manual. Maxim’s 68L11D module allows customers to evaluate selected Maxim products. It is not intended to be a microprocessor development platform, and Maxim does not support such use. ____________________Component List DESIGNATION QTY DESCRIPTION C1, C2 2 22pF ceramic capacitors C3 1 0.01µF ceramic capacitor C4–C9, C12–C18 13 0.1µF ceramic capacitors C10, C11 2 22µF, 20V tantalum capacitors D1 1 1N4001 diode J1 1 40-pin, right-angle header ____________________Getting Started J2 1 2-circuit terminal block All system components are guaranteed by their various manufacturers over the +3V to +3.6V power-supply range. Not all system components are guaranteed over the entire 2.5V to 5V V DD power-supply adjustment range. Verify correct operation using the following procedures: 1) Connect a +5V DC power source (16V max) to the µC module at the terminal block located next to the on/off switch, in the upper-right corner of the µC module. Turn the power switch on. 2) 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 is required. 3) Start the evaluation kit software on the IBM PC. When the program asks which port the µC module is connected to, press the space bar until the correct port is highlighted, and then press ENTER. The software will be in terminal-emulation mode. (If using a generic terminal-emulation program instead of Maxim EV kit software, select 1200 baud, eight-bit character, no parity, one stop bit. Send a space character to start the monitor program.) 4) Adjust trim potentiometer R2 for the desired VDD supply voltage. Measure V DD between test point TP1 and ground. The mounting hole next to R2 is grounded. 5) To verify correct system operation, press the ESC key, type a capital “T”, and then select the countdown memory test. If the memory test fails or any other malfunction is reported, the VDD voltage is too low; increase VDD and repeat from step 4. 6) Turn the power switch off and connect the µC board to an appropriate Maxim EV kit board. J3 1 DB9 right-angle socket JU1, JU2 2 Open LED1 1 Light-emitting diode R1 1 10MΩ, 5% resistor R2 1 100kΩ potentiometer R3 1 274kΩ, 1% resistor R4 1 133kΩ, 1% resistor R5 1 200Ω, 5% resistor R6 1 10kΩ SIP resistor pack, pin 1 common SW1 1 Slide switch SW2 1 Momentary push-button switch U1 1 Motorola MC68L11D0FN2 U2 1 Maxim MAX3232CSE U3 1 74HC00 U4 1 Maxim MAX667CSA U5 1 32k x 8 static RAM 28-pin socket Motorola MCM6306DJ15 U10 1 28-pin socket U6 1 74HCT245 U7 1 Maxim MAX708RCSA U8 1 74HC573 U9 1 74HC139 U10 1 3V, 8k x 8 ROM Y1 1 8MHz crystal ________________________________________________________________ Maxim Integrated Products 1 For free samples & the latest literature: http://www.maxim-ic.com, or phone 1-800-998-8800. For small orders, phone 1-800-835-8769. 68L11D Module _______________General Description 68L11D Module 68L11D Module _______________Detailed Description Power Requirements The 68L11D module draws its power from a user-supplied power source connected to terminal block J2. Note the positive and negative markings on the board. Nominal input voltages should be between +5V and +16V. The input current requirement for the 68L11D module is typically 20mA plus the current drawn by the evaluation kit (EV kit). The VDD supply is set by U4, a MAX667 low-dropout CMOS regulator. Trim potentiometer R2 sets the supply voltage, with an adjustment range of approximately 2.5V to 5V. Although the board is designed primarily for 3V applications, all of the circuitry is rated to withstand 5V levels. 68L11D Microcontroller (µC) Module Hardware U1 is Motorola’s 68L11D µC. Contact Motorola for µC information, development, and support. A MAX708R supervisory circuit on the module monitors the VDD logic supply, generates the power-on reset, and produces a reset pulse whenever the manual reset button (SW2) is pressed. Note that the MAX708R resets the CPU if the supply voltage falls below 2.66V. The module provides 32kbytes of external CMOS static RAM (U5). The 74HCT245 octal buffer (U6) provides access to an eight-bit port on the 40-pin interface connector. This memory-mapped port consists of Intel-compatible read and write strobes, four chip selects, four address LSB's, and eight data bits. Table 3 lists the address ranges for each of the memory-mapped elements on the 68L11D module. The MAX3232 is a 3V-powered, RS-232 interface voltage-level shifter. Its built-in charge pump uses external capacitors to generate the output voltages necessary to drive RS-232 lines. 2 The 20 x 2-pin header (J1) connects the 68L11D module to a Maxim EV kit. Table 2 lists the function of each pin. Use the 68L11D module only with EV kits that are designed to support it, and download only code that is targeted for the Maxim 68L11D module. Downloading incorrect object code into the 68L11D module will produce unpredictable results. The 8k x 8 boot ROM (U10) checks the system and waits for commands from the host. Refer to the EV kit manual for specific startup procedures. Software All software is supplied on a disk with the EV kit. Software operating instructions are included in the EV kit manual. Serial Communications J3 is an RS-232 serial port, designed to be compatible with the IBM PC 9-pin serial port. Use a straight-through DB9 male-to-female cable to connect J3 to the IBM PC serial port. If the only available serial port has a 25-pin connector, use a standard 25-pin to 9-pin adapter. Table 1 shows J3’s pinout. The hardware-handshake lines are used by the evaluation software to confirm that the EV kit is connected to the correct serial port. Table 1. Serial Communications Port J3 PIN 1 NAME DCD FUNCTION Handshake; hard-wired to DTR and DSR 2 RXD RS-232-compatible data output from 68L11D module 3 TXD RS-232-compatible data input to 68L11D module 4 DTR Handshake; hard-wired to DCD and DSR 5 GND Signal ground connection 6 DSR Handshake; hard-wired to DCD and DTR 7 RTS Handshake; hard-wired to CTS 8 9 CTS None Handshake; hard-wired to RTS Unused _______________________________________________________________________________________ 68L11D Module PIN 1–4 NAME GND 5, 6 V++ 7, 8 VDD FUNCTION Ground Table 3. 68L11D Module Memory Map ADDRESS RANGE (HEX) FUNCTION 9 RD Unregulated input voltage VDD from on-board MAX667 regulator Read strobe 10 WR Write strobe 11 CS0 Chip select for 8000-8FFF 12 CS1 Chip select for 9000-9FFF 13 CS2 Chip select for A000-AFFF 14 CS3 ADDR0 Chip select for B000-BFFF C100-CFFF Unused Address bit 0 (LSB) D000-D03F Internal register area (U1) Unused Boot ROM (U10) 15 0000-7FFF User RAM area (U5) 8000-8FFF External chip-select 0 (J1 pin 11) 9000-9FFF External chip-select 1 (J1 pin 12) A000-AFFF External chip-select 2 (J1 pin 13) B000-BFFF External chip-select 3 (J1 pin 14) C000-C03F Unused C040-C0FF Internal RAM (U1) 16 ADDR1 Address bit 1 D040-DFFF 17 ADDR2 Address bit 2 E000-FFFF 18 ADDR3 Address bit 3 19 DB0 20–26 DB1–DB7 27 PA0/IC3 General I/O port bit 0 (LSB) 28 PA1/IC2 General I/O port 29 PA2/IC1 General I/O port 30 PA3/IC4/OC5 General I/O port 31 PA4/OC4 General I/O port 32 PA5/OC3 General I/O port 33 PA6/OC2 General I/O port 34 PA7/OC1/PAI 35 MISO SPI master-in, slave-out 36 MOSI SPI master-out, slave-in 37 SCK SPI serial clock 38 RESERVED 39 40 E SS 68L11D Module Table 2. 40-Pin Data-Connector Signals Data bus bit 0 (LSB) Data bus bits 1–7 General I/O port MSB Reserved for factory use System E-clock output SPI slave-select input _______________________________________________________________________________________ 3 68L11D Module 68L11D Module J2 VPREREG D1 1N4001 VDD U4 SW1 C10 22µF 20V 1 2 VDD VDD 3 C16 4 C13 C12 0.1µF 0.1µF TXD 1 3 4 5 16 VCC C1+ C1C2+ C2- U2 V+ MAX3232 V- C14 2 C15 6 11 T1 T2 12 LBI VSET GND SHDN J3-7 RTS 14 J3-2 RXD 7 J3-3 TXD C3 0.01µF 6 1.255V R2 100k 5 VDD VCC U7 J3-4 DTR 8 R2 7 R4 133k 1% C4 0.1µF MAX708R 1 J3-6 DSR 9 LBO C11 22µF 20V R3 274k 1% 0.1µF 13 R1 VOUT 8 VDD J3-8 CTS 0.1µF 10 RXD 0.1µF DD MAX667 VIN PFO MR SW2 RESET NC J3-1 DCD RESET GND 4 15 J3-5 GND PFI GND 3 RESET 5 6 8 7 RESET J3-9 RI POWER CONNECTIONS U1 GND VDD 1, 2 22 PA0/IN3 PA1/IN2 PA2/IN1 PA3/IN4/OUT5 PA4/OUT4 PA5/OUT3 PA6/OUT2 PA7/OUT1/PULSE ACCIN VDD C17 0.1µF RXD TXD MISO MOSI SCK SS C2 22pF Y1 8.00MHz C1 22pF R1 10M RESET XIRQ IRQ E 30 29 28 27 26 25 24 23 16 17 18 19 20 21 14 11 15 44 43 42 3 PA0 PC0 U1 4 PA1 PC1 5 PA2 PC2 MC68L11D0FN2 PC3 6 PA3 7 PA4 PC4 8 PA5 PC5 9 PA6 PC6 10 PA7 PC7 13 PD6/AS PD0/RXD PD1/TXD 12 PD7/R/W 39 PD2/MISO PB0 38 PD3/MOSI PD4/SCK PB1 37 PD5/SS PB2 36 PB3 35 RESET PB4 34 XIRQ/VPP PB5 33 IRQ/CE PB6 32 PB7 XTAL 41 EXTAL MODA/LIR 40 E MODB/VSTBY Figure 1. 68L11D Module Schematic Diagram 4 _______________________________________________________________________________________ D0 D1 D2 D3 D4 D5 D6 D7 AS R/W A8 A9 A10 A11 A12 A13 A14 A15 MODA MODB 68L11D Module 68L11D Module U9A 74HC139 A14 A15 2 3 A0 A1 Y0 Y1 Y2 GND VDD 1 E Y3 4 5 6 IOBUFFER 7 CS-11XXX U9B 74HC139 C5 0.1µF A12 14 A0 Y0 A13 13 A1 Y1 Y2 IOBUFFER 15 E Y3 12 CSAXXX 9 U3A 2 CS9XXX 10 1 R/W CS8XXX 11 A15 RD WR CSBXXX 3 R/W 74HC00 4 R/W VDD 6 RD U3B 5 E 74HC00 C6 0.1µF 9 R/W U3C 10 E 8 WR 74HC00 12 E U3D 13 A13 A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 A13 A14 11 DATA-XX1X A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 A13 VDD VDD CS-11XXX 10 9 8 7 6 5 4 3 25 24 21 23 2 26 1 A0 U5 A1 A2 32 x 8 STATIC RAM A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 A13 A14 20 22 27 CS OE WE 10 9 8 7 6 5 4 3 25 24 21 23 2 26 A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 A13 27 1 22 20 PGM VPP OE CE 10 U10 9 8 27LV64 8k x 8 ROM 7 6 5 4 3 25 24 21 23 2 26 I/0 I/1 I/2 I/3 I/4 I/5 I/6 I/7 11 12 13 15 16 17 18 19 D0 D1 D2 D3 D4 D5 D6 D7 VDD C7 0.1µF DQ0 DQ1 DQ2 DQ3 DQ4 DQ5 DQ6 DQ7 11 12 13 15 16 17 18 19 D0 D1 D2 D3 D4 D5 D6 D7 VDD C8 0.1µF 74HC00 POWER CONNECTIONS GND AS D0 D1 D2 D3 D4 D5 D6 D7 1 OE 11 C U8 2 3 4 5 6 7 8 9 VDD 74HC573 D0 D1 D2 D3 D4 D5 D6 D7 Q0 Q1 Q2 Q3 Q4 Q5 Q6 Q7 19 18 17 16 15 14 13 12 A0 A1 A2 A3 A4 A5 A6 A7 GND U3 14 7 U5 28 14 U8 20 10 U9 16 8 U10 28 14 VDD C18 0.1µF Figure 1. 68L11D Module Schematic Diagram (continued) _______________________________________________________________________________________ 5 68L11D Module 68L11D Module VDD R5 200Ω GND GND J1-1 J1-2 GND GND J1-3 J1-4 GND VPREREG J1-5 J1-6 VPREREG VDD J1-7 J1-8 VDD RD J1-9 J1-10 WR CS8XXX J1-11 J1-12 CS9XXX CSAXXX J1-13 J1-14 CSBXXX A0 J1-15 J1-16 A1 A2 J1-17 J1-18 A3 EXTD0 J1-19 J1-20 EXTD1 EXTD2 J1-21 J1-22 EXTD3 EXTD4 J1-23 J1-24 EXTD5 EXTD6 J1-25 J1-26 EXTD7 PA0/IN3 J1-27 J1-28 PA1/IN2 LED1 19 1 OE DIR U6 IOBUFFER RD 2 3 4 5 6 7 8 9 D0 D1 D2 D3 D4 D5 D6 D7 U6 VDD GND 20 10 VDD 74HCT245 18 B1 A1 A2 A3 A4 A5 A6 A7 A8 B2 B3 B4 B5 B6 B7 B8 EXTD0 EXTD1 EXTD2 EXTD3 EXTD4 EXTD5 EXTD6 EXTD7 17 16 15 14 13 12 11 C9 0.1µF VDD R6A 10k 2 XIRQ PA2/IN1 J1-29 J1-30 PA3/IN4/OUT5 PA4/OUT4 J1-31 J1-32 PA5/OUT3 PA6/OUT2 J1-33 J1-34 PA7/OUT1/PULSE ACCIN MISO J1-35 J1-36 SCK J1-37 J1-38 E J1-39 J1-40 VDD MOSI 8 RESERVED SS 7 R6F R6G 10k 10k VDD R6E 10k R6H 10k R6I 10k VDD 6 9 10 R6B 10k R6C 10k R6D 10k SS 3 4 IRQ JU1 MODA MODA MODB 5 JU2 MODB Figure 1. 68L11D Module Schematic Diagram (continued) 6 _______________________________________________________________________________________ 68L11D Module 68L11D Module Figure 2. 68L11D Module Component Placement Guide Figure 3. 68L11D Module PC Board Layout—Component Side _______________________________________________________________________________________ 7 68L11D Module 68L11D Module Figure 4. 68L11D Module PC Board Layout—Solder Side 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. 8 _____________________Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600 © 1999 Maxim Integrated Products Printed USA is a registered trademark of Maxim Integrated Products.