MIC184 Demo Board Micrel MIC184 Demo Board DemoWare™ Software • 3.3V, 100mA regulated power supply • Power supply leads or cables • SMBus/I2C compatible serial bus host for communication with the MIC184 • Cable for serial host connection, as appropriate In either case, the following additional items are useful, but not required: • Logic probe(s) • Voltmeter(s) • SMBus/I2C bus analyzer • Component cooling spray • Heat gun General Description The Micrel MIC184 Demo Board and DemoWare Software demonstrate the operation and features of the MIC184 Local/ Remote Thermal Supervisor. The MIC184 is a versatile digital thermal supervisor capable of measuring temperature using either its own internal sensor or an external sensor. This manual describes how to use the MIC184 demo board and the demo software. Getting Started What is Included Review the packing list in Table 1 to confirm that you received all listed items. If any of the items are missing or damaged, contact Micrel Semiconductor. The latest version of all Micrel device datasheets may be obtained from our website at www.micrel.com. Item 1 2 3 4 5 General Description of the Demo Board This board demonstrates use of the MIC184 Local/Remote Thermal Supervisor. It is designed to support rapid prototyping of circuits employing the MIC184. A MMBT3906 transistor (surface mount equivalent to 2N3906) is included on the board in order to demonstrate the MIC184’s ability to measure the temperature of a remote PN junction. A connector permits use of an external remote diode or transistor in place of the on-board remote transistor. User configurable jumpers select the MIC184’s slave address and configure the remote sensor connections. An LED reports the status of the MIC184’s interrupt request output when enabled. For use with Micrel’s DemoWare™ demonstration software, the MIC184 Demo Board may be connected directly to a PC parallel port via a DB25M connector. As an option, the user may install an ACCESS.bus connector (specialized 4-pin connector) to interface the demo board with a serial bus host such as the IPort™I2C Host Adapter from MCC Corporation. An additional general-purpose 8-pin header can also be used to interface any I2C/SMBus host to the board. Qty 1 Description MIC184 Demonstration Board with jumpers installed 1 MIC184 Demo-Board 1 DemoWare Software Manual (this document) 1 MIC184 Data Sheet 2 MIC184BM samples Table 1. Packing List What You Must Provide If the board is to be used with the MIC184 DemoWare™, no additional items are required except for a suitable host PC. All power for the board will be drawn from the PC parallel port. The board may be plugged directly into the DB25 connector on the host PC. It may be more convenient, however, to use a cable between the PC and the board. A standard, straightthrough, DB25 male-to-female cable may be used. If a nonPC host is used, the following items are required for use with the MIC184 Demo Board: DemoWare is a trademark of Micrel, Inc. SMBus is a trademark of Intel Corporation. I2C is a trademark of Philips Electronics N.V. ACCESS.bus is a trademark of the ACCESS.bus industry Group. IPort is a trademark of Microcomputer Control Corporation. Micrel, Inc. • 1849 Fortune Drive • San Jose, CA 95131 • USA • tel + 1 (408) 944-0800 • fax + 1 (408) 944-0970 • http://www.micrel.com August 2001 1 MIC184 Demo Board MIC184 Demo Board Micrel Optional SMBus Host Connector General-Purpose Signal Header External VDD Input P1 P2 D A T A C L K I N T G N D A 1 A P 0 C VDD GND Test Points DATA G N D EXT. VDD JP2 P O R T GND V D D A1 A0 JP3 JP1 GND CLK JP4 /INT A2H LED1 Address Configuration Jumpers A2L U1 T1L MIC184 Micrel, Inc. 408-944-0800 MIC184 Demo Board Q1 Remote On-Board Sensor T1R Remote External Sensor Connection E B C(G) P3 PC Parallel Port PC Parallel Port Connection Figure 1. MIC184 Demonstration Board Option 2: The board can be powered by an external power supply via P1 or via TP4 & TP5. The positive connection should be made to pin3 of P1 or to TP5. The ground connection should be made to pin1 of P1 or to TP4. The center pin of P1 should be left unconnected. Option 3: The board can be powered by a serial bus host such as the MCC IPort™ via optional user-installed 4-pin Molex connector J2. Pin 3 of this connector is assigned to carry the power supply voltage from the host. See Figure 2. Powering the Board The MIC184 demonstration board can be powered via the host PC’s parallel printer port or an external power supply. Three options are available for powering the evaluation board. Option 1: For use with Micrel’s DemoWare™ demonstration software and a host PC, connect the board to the PC’s parallel printer port via the DB-25M connector (refer to schematic in Hardware Reference). Pins 2 and 3 of P1 should be shorted. MIC184 Demo Board 2 August 2001 MIC184 Demo Board Micrel Serial Bus Host Connector The optional user-installed SMBus host connector is Molex part 15-83-0064 shown in Figure 2. This Molex connector is a 4-conductor shielded receptacle. The pinout of this connector is shown below. The mating connector is a Molex part 1583-1564. See Appendix A for more information on these connectors. The serial bus signals are also present on singlerow header P2 and at test points TP1 and TP2. One or more of these connection points can be used in lieu of the specialized connector. The various serial bus connection points are summarized in Table 2 below. diode should be made using twisted-pair or shielded twistedpair cable. Connections longer than a few inches or any connection in an electrically noisy environmnet should use shielded twisted-pair cable for optimal performance. (Note that the shield should be grounded only at P3 on the demonstration board.) Suitable cable types include Belden's part number 8442 unshielded twisted-pair (UTP) and Belden's part number 8451 shielded twisted-pair (STP). If using a transistor, the base and collector should be shorted together at the transistor. The emiiter and base-collector terminals are then connected to P3. The emitter is connected to pin one of P3; the base-collector junction should be connected to pin 2 or pin 3 of P3. (Pins 2 and 3 of P3 are electrically interchangeable.) FRONT Typical PNP bipolar transistor used as remote sensor CLK VDD DATA GND 4 3 2 Twisted-Pair Cable E 1 E B B Molex 15-83-0064 C(G) C Figure 2: Pinout of J2 serial bus host connector P3 Figure 3a. Remote Diode Connections via P3 Molex 15-83-0064 Pin # P2 Pin # TestPoint Serial Data 2 1 TP3 Serial Clock 4 2 TP4 GND 1 4 TP2 Signal /INT n/a 3 Shielded Twisted-Pair Cable E E B B TP5 Typical PNP bipolar transistor used as remote sensor C(G) Table 2. Serial Bus Connection Points Personal computer based host adapters, cables, bus analyzers and other useful items can be obtained from the sources listed in Appendix A. Slave Address Selection The MIC184 slave address must be established for communication with the serial bus host. It is established by setting the address pin A0, address pin A1 and address pin A2/T1 to either logic ‘1’ or logic ‘0’. Table 3 shows the jumper selection for setting the slave address of MIC184. The address of MIC184 is registered only during power-on and cannot be changed during operation. To change the MIC184 slave address remove power; establish the new slave address by selecting the appropriate jumpers; and then reapply power. Remote Diode Selection The MIC184 can sense the temperature of a remote PN junction connected to the A2/T1 pin. This PN junction is generally either a diode-connected bipolar junction transistor or the embedded thermal diode inside an integrated circuit such as Intel CPU's. A diode-connected 2N3906-type transistor, Q1, is provided on the demonstration board. Header P3 can be used to connect to an off-board diode. Jumper JP4 selects between Q1 and the sensor connected to P3. (Refer to Table 3.) Figure 3 shows several examples of remote diode connections. To minimize noise pickup, connections to an off-board August 2001 C P3 Figure 3b. Remote Diode Connections via P3 Twisted-Pair Cable or Shielded Twisted-Pair Cable Embedded thermal diode (in CPU, etc.) E E B B C(G) C P3 Figure 3c. Remote Diode Connections via P3 Factory Settings The slave address is set to 1001000b=48h and remote diode Q1 is used for temperature measurement. Pull-up Resistors The MIC184 demo board includes a 4.7kΩ pull-up resistor on the serial data line and the serial clock line, and a 22kΩ resistor on the MIC184’s /INT output. When using a serial bus host such as the IPort, the host’s pull-up resistors should be deactivated. 3 MIC184 Demo Board MIC184 Demo Board Micrel Jumper Settings JP4 JP3 JP2 2-3 Shorted Shorted 2-3 Shorted 2-3 T1 Sensor MIC184 Slave Address Binary Hex None 100 1000b 48h Open None 100 1001b 49h Open Shorted None 100 1010b 4Ah 2-3 Open Open None 100 1011b 4Bh 1-2 Shorted Shorted None 100 1100b 4Ch 1-2 Shorted Open None 100 1101b 4Dh 1-2 Open Shorted None 100 1110b 4Eh 1-2 Open Open None 100 1111b 4Fh 4-5 Shorted Shorted Remote Q1 100 1000b 48h 4-5 Shorted Open Remote Q1 100 1001b 49h 4-5 Open Shorted Remote Q1 100 1010b 4Ah 4-5 Open Open Remote Q1 100 1011b 4Bh 5-6 Shorted Shorted Remote External 100 1000b 48h 5-6 Shorted Open Remote External 100 1001b 49h 5-6 Open Shorted Remote External 100 1010b 4Ah 5-6 Open Open Remote External 100 1011b 4Bh Table 3. MIC184 Slave Address Configuration MIC184 Demo Board 4 August 2001 MIC184 Demo Board Micrel Hardware Reference Terminals Designator P1 P2 P3 J1 J2 Test Points Designator TP1 TP2 TP3 TP4 TP5 Description ExternalVDD input (also VDD selection jumper) General purpose signal header Off-board remote sensor connection Parallel port connector, DB25M PC, for use with Micrel DemoWare software. Serial bus host connector, 4-pin Jumper Options Jumper Position JP1 Shorted Open JP2 Shorted Open JP3 Shorted Open JP4 1–2 2–3 4–5 5–6 P1 2–3 Open Description Serial Data Serial Clock Interrupt Request Ground VDD Function Enables LED Disables LED A0 = 0 A0 = 1 A1 = 0 A1 = 1 A2 = 1 (remote diode sensor not used) A2 = 0 (remote diode sensor not used) A2 = 0 (remote on-board transistor Q1 is used as remote sensor) A2 = 0 (remote external transistor is used as remote sensor via P3 Enables use of VDD from PC paralllel port Used as external VDD input Factory Setting Shorted Shorted Shorted Open Open Shorted Open Shorted Bill of Materials Item Part Number C1 ECS-H1CY105R Panasonic-ECG 1µF, filter capacitor 1 C2 ECJ-3VB1H104K Panasonic-ECG 0.1µF, filter capacitor 1 C3 ECU-V1H222KBM Panasonic-ECG 2200pF, filter capacitor 1 D1 MA741-(TX) Panasonic-SSG Diode 1 D2 MA741-(TX) Panasonic-SSG Diode 1 D3 MA741-(TX) Panasonic-SSG Diode 1 D4 MA741-(TX) Panasonic-SSG Diode 1 J1 DB25M PC parallel port connector 1 J2 15-83-0064 SMBus host connector 1 LED1 LTL-4203 Q1 MMBT3906 Q2 MMBT3906 R1 ERJ-8ENF2212V R2 ERJ-8ENF4751V R3 R4 Manufacturer Description Any Molex Red LED 1 PNP bipolar transistor 1 Motorola PNP bipolar transistor 1 Panasonic-ECG 22kΩ pull-up resistor 1 Panasonic-ECG 4.7kΩ resistor 1 ERJ-8ENF4751V Panasonic-ECG 4.7kΩ resistor 1 ERJ-8ENF1000V Panasonic-ECG 100Ω resistor 1 R5 ERJ-8ENF1003V Panasonic-ECG 100kΩ resistor 1 R6 ERJ-8ENF1003V Panasonic-ECG 100kΩ resistor 1 R7 ERJ-8ENF1003V Panasonic-ECG 100kΩ resistor 1 R9 ERJ-8ENF2212V Panasonic-ECG 22kΩ, base resistor 1 R10 ERJ-8ENF3320V Panasonic-ECG 330Ω, current limiting resistor 1 U1 MIC184BM Local/Remote Thermal Supervisor 1 August 2001 Lite-On Inc. Qty. Motorola Micrel 5 MIC184 Demo Board MIC184 Demo Board Micrel Schematic EXT VDD PC VDD GND External VDD 3 2 1 TP1 VDD P1 3-Pin Header 1 Test Point TP2 GND R5 R6 R7 100k 100k 100k R4 100 1 Test Point PC Port VDD PC VDD A1 A0 8 7 6 5 4 3 2 1 GND /INT CLK DATA R1 22k R2 4.7k R3 4.7k C1 1µF NC C2 0.1µF 1 A0 2 GND MIC184BM 1 2 3 4 TP3 P2 8-Pin Header DATA 1 Test Point 4 3 2 1 DATA VDD CLK A0 INT A1 GND A2/T1 U1 TP4 CLK 1 8 7 6 5 C3 2200pF JP2 2-Pin Header 1 A1 2 GND JP3 2-Pin Header Test Point J2 Molex 15-83-0064 (71565 Family) 13 25 12 24 11 23 10 22 9 21 8 20 7 19 6 18 5 17 4 16 3 15 2 14 1 1 2 TP5 INT 1 Test Point 1 2 3 4 5 6 R9 22k JP1 2-Pin Header Q1 MMBT3906 A2H A2L T1L T1R JP4 6-Pin Header D1 BAT54W D2 BAT54W Q2 MMBT3906 R10 330 LED1 /INT Remote On-Board Sensor 1 E 2 B 3 C (GND) P3 3-Pin Header Remote Off-Board Sensor Connection D3 BAT54W D4 BAT54W J1 DB25 MIC184 Demo Board 6 August 2001 MIC184 Demo Board Micrel PC Board Layout PC Board Silkscreen PC Board Layout - Solder Side PC Board Layout - Component Side August 2001 7 MIC184 Demo Board MIC184 Demo Board Micrel MIC184 DemoWare™ Software System Requirements The DemoWare™ software is designed to run on any personal computer running Microsoft Windows 95 or 98. A standard parallel printer port is required for communication with the MIC184 demonstration board. Once decompressed and installed, the DemoWare’ files will occupy approximately 1.7MB of hard disk space. Installing the Software The MIC184 DemoWare™ is available for download at http:/ /www.micrel.com/_software/MIC184-demoware.zip. If you are unable to obtain the software from the Micrel website, please contact a Micrel sales representative for assistance. To install the MIC184 DemoWare™: 1. Download the file “MIC184dwzip.exe” into a temporary directory. This file is a self-extracting ZIP archive containing the files MIC184DemoWare.exe and Mfc42.dll. MIC184DemoWare.exe is the program itself. Mfc42.dll is a library containing code used by MIC184DemoWare.exe. 2. Start the extraction process by selecting Run on the Start menu and choosing the file MIC184DemoWare.exe. MIC184DemoWare.exe and Mfc42.dll will be extracted and saved into a subdirectory named MICx84DemoWare in the root directory of the hard disk. If you wish to use a different directory, enter its name in the “Unzip to folder:” text box or select the Browse option. This directory will be created if necessary. 3. Select “Unzip” and the files will be extracted. 4. A message stating “2 file(s) unzipped successfully” will be displayed when the process is finished. Click “OK” to proceed. 5. Click “Close” to complete the process and exit the installation utility. Running the Software Launch the software by selecting Run on the Start menu and selecting the file MIC184DemoWare.exe. If the installation defaults were used, this file will be in a subdirectory called “MICx84DemoWare” in the root directory on the hard disk. Once the program starts, the main window will be displayed and power to the demonstration board will be off. Any status or error messages displayed are not valid until the software is properly configured and the board is powered on. Figure 4. MIC184 DemoWare™ Main Window Figure 5. Selecting The Printer Port Figure 6. Selecting The Device Type and Base Address Figure 7. Selecting the Chart Recorder Scale Figure 8. Turning on Power to the Demonstration Board MIC184 Demo Board 8 August 2001 MIC184 Demo Board Micrel Using the Software The software must be configured prior to use: 1. Select the printer port to which the board will be connected using the Port item on the Configure Menu as shown in Figure 5. 2. Select the device base address using the Device item on the Configure menu as shown in Figure 6. The base address selected must match the jumper settings on the demonstration board as shown in Table 3. The Select Device option should be set to MIC184. 3. Adjust the chart recorder scale using the Scale item on the Configure menu. See Figure 7. Only temperature values between Upper Scale Limit and Lower Scale Limit will be displayed in the chart recorder window. Enter the desired values in the text boxes. Clicking the Get Current button or any of the temperature acquisition buttons will automatically turn on power to the board. The power may also be turned on using the Device Power item on the Configure menu, as shown in Figure 8. When power is on, a checkmark will appear next to Device Power on the Configure menu. (In any case, the power should be turned off before removing the board from the PC by selecting the Device Power item on the Configure menu!) Once power is turned on, the MIC184 registers will be read and the current values will be displayed. The main window should now appear similar to Figure 4. The main window has several components: • Temperature acquisition buttons and chart recorder (Figure 11): A single temperature sample from the selected zone may be taken by clicking the MANUAL button. Automatic temperature samples can be taken at specific intervals by clicking the .5s, 1s, 2s, 5s, 10s, or 20s button. Any temperature samples taken will be displayed in the chart recorder area. Data for Zone 0, the internal zone, will be plotted in green, data for Zone 1, the external zone, will be plotted in blue. • Status line (Figure 10): Status messages are displayed on the status line, including the state of the serial bus link, the logic state of the /INT pin, and the states of the Shift Lock and Num Lock keys. • Thermometer display (Figure 9): One of the two thermometers will be active and display the reported temperature in degrees Centigrade and binary for the selected zone. Alarm indications are also displayed in the thermometer display. The other thermometer will be grayed out. The state of the zone bit determines which zone and which thermometer display will be active. • Register display (Figure 12): The values in the configuration, setpoint, and hysteresis registers are displayed in this box. The bits of the configuration register are displayed according to function. Those bits that are not read-only can be altered. New values can be entered in the appropriate text boxes. Merely changing the values displayed on the screen will not cause data to be written to the MIC184. The Set New button must always be used to write any changes to the part. Figure 9. Thermometer Displays Figure 10. Status Line Figure 11. Temperature acquisition window Figure 12. Register Display August 2001 9 MIC184 Demo Board MIC184 Demo Board Micrel Acquiring Temperature Data Micrel Data Log File created 11/20/2000 15:06:24 DATE,TIME,ELAPSED,SAMPLE,internal,remote 11/20/2000,15:06:49,0000,0, 26.5, 11/20/2000,15:06:49,0590,1, 26.0, 11/20/2000,15:06:50,1167,2, 26.0, 11/20/2000,15:06:51,1745,3, 26.0, 11/20/2000,15:06:51,2336,4, 26.0, 11/20/2000,15:06:52,2912,5, 26.0, 11/20/2000,15:06:52,3475,6, 30.5, 11/20/2000,15:06:53,4038,7, 46.5, 11/20/2000,15:06:53,4587,8, 57.5, 11/20/2000,15:06:54,5136,9, 72.0, 11/20/2000,15:06:55,5686,10, 67.0, 11/20/2000,15:06:55,6235,11, 58.0, 11/20/2000,15:06:56,6784,12, 52.0, 11/20/2000,15:06:56,7361,13, 46.5, 11/20/2000,15:06:57,7952,14, 44.0, 11/20/2000,15:06:57,8542,15, 42.0, 11/20/2000,15:06:58,9119,16, 40.0, 11/20/2000,15:06:59,9696,17, 39.0, 11/20/2000,15:06:59,10273,18, 38.0, 11/20/2000,15:07:00,10849,19, 37.5, 11/20/2000,15:07:00,11426,20, 36.5, 11/20/2000,15:07:01,12018,21, 36.5, Single Conversions Clicking the MANUAL button will cause a single temperature reading to be acquired from the selected zone. This single reading will be displayed on the appropriate thermometer display and plotted on the chart recorder in the appropriate color. It will also be recorded to the log file if data logging is turned on. See “Logging Data To A File” below. Periodic Sampling Clicking any one of .5s or 1s or 2s or 5s or 10s or 20s buttons will initiate repetitive temperature sampling at the indicated interval. The data acquired will be displayed on the appropriate thermometer display and plotted on the chart recorder in the appropriate color. The samples will also be recorded to the log file if data logging is turned on. Viewing And Modifying Registers Get Current The current values of the configuration, setpoint, and hysteresis registers can be displayed at any time by clicking the Get Current button. Setpoint and Hysteresis Registers The temperature setpoint and hysteresis registers can be modified by typing the desired values into the Temperature Setpoint and Hysteresis text boxes and then clicking the Set New button. The Set New button must always be used to write new values to the MIC184 after any setting is modified on the screen. Figure 13: Example Data Log An example data file is shown in Figure 13. This file may be opened in a program such as Microsoft Excel for graphing, filtering, sorting, manipulation, etc. The first line of the file identifies the file and the time and date when it was created. The second line lists the field names for the succeeding lines. The fields are as follows (in order): • DATE: The date, according to the PC’s system clock, that the sample was taken • TIME: The time, according to the PC’s system clock, that the sample was taken • ELAPSED: The total elapsed time, in milliseconds, since the first sample was taken. • SAMPLE: The sample number; samples are numbered sequentially starting with number one. • internal: The measured temperature for the internal zone, zone 0, if this zone was selected when the sample was taken. If the external zone, zone 1, was selected, this field will be blank. • remote: The measured temperature for the remote zone, zone 1, if this zone was selected when the sample was taken. If the internal zone, zone 0, was selected, this field will be blank. Configuration Register The various functions of the configuration register can be accessed using the check boxes and radio buttons in the Device Configuration Register section of the main window. The Set New button must always be used to write new values to the MIC184 after any setting is modified on the screen. Restoring Register Defaults Clicking the Restore Defaults button will return all registers to their default values, similar to the MIC184’s power-on state. Logging Data To A File All temperature data acquired during a given period may be logged to a file by activating the recording function. Recording is started by selecting the Record to File... item on the File menu. 1. Configure the device as desired via the register display window. 2. Click Set New to update the MIC184’s configuration. 3. Activate data logging by selecting the Record to File... item on the File menu. Enter the desired file and path name and click Save. Note that the log file is a comma-delimited or *.csv file. 4. Acquire temperature data by clicking the .5s, 1s, 2s, 5s, 10s, 20s, or MANUAL button. 5. When finished recording data, stop data logging by once again selecting the Record to File... item on the File menu. MIC184 Demo Board 10 August 2001 MIC184 Demo Board Micrel Appendix A: SMBus Resources* PC host adapters and software, bus analyzers, cables, and other items can be purchased from: The 4-conductor serial bus connector is available from Molex as part number 15-83-0064. Mating plugs for constructing cable assemblies are also available. A list of distributors is available on the Molex website. Micro Computer Control Corporation PO box 275/ 17 Model Ave Hopewell, New Jersey 08525 USA Telephone: 609-466-1751 Email: [email protected] http://www.mcc-us.com Molex Incorporated 2222 Wellington Court Lisle, IL 60532-1682 Tel: 800/78MOLEX, 630/969-4550 (Outside USA) Fax: 630/968-8356 Telex: 254069 E-mail: [email protected] http://www.molex.com Saelig Company Telephone: 716/425-3753 Fax: 716/425-3835 Email: [email protected] http://www.memo.com/saelig The current SMBus specification and other information regarding SMBus may be obtained from the SMBus website SMBus (website) http://www.smbus.org. *Micrel does not necessarily endorse or recommend any of the products, services, or information sources listed above. Micrel is not affiliated in any way with any listed company, person, or other entity. The above information is presented without warranty of any kind. August 2001 11 MIC184 Demo Board MIC184 Demo Board Micrel MICREL INC. TEL 1849 FORTUNE DRIVE SAN JOSE, CA 95131 + 1 (408) 944-0800 FAX + 1 (408) 944-0970 WEB USA http://www.micrel.com This information is believed to be accurate and reliable, however no responsibility is assumed by Micrel for its use nor for any infringement of patents or other rights of third parties resulting from its use. No license is granted by implication or otherwise under any patent or patent right of Micrel Inc. © 2001 Micrel Incorporated MIC184 Demo Board 12 August 2001