1 LM64 Evaluation Board User’s Guide Copyright 2003 National Semiconductor Corporation 1 2 Table of Contents 1.0 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3, 4 2.0 Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2.1 2.2 2.3 2.4 2.5 Required Equipment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Optional Equipment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Test Setup – Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Test Setup - Hardware. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Test Setup – System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 3.0 Connection Details. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 4.0 Schematic of LM64 Evaluation Board . . . . . . . . . . . . . . . . . . . . . . . . . . 8, 9 5.0 Bill of Materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10 2 3 1.0 Introduction The LM64EVAL kit includes the following items: 1. The LM64 Evaluation Board 2. The SensorEval Software CD, including a. the readme.txt file (read this first) b. the installation setup file, c. the SensorEval Software manual, and d. this manual. 3. Jumpers to use for testing the GPD or GPIO pins if desired. The LM64 Evaluation Board, as shown in Figure 1 (without the socket lid for clarity), is a complete PCBA (printed circuit board assembly). The board has a USB connector, a voltage regulator circuit, a microcontroller, an EEPROM, and a LM64 Remote Diode Temperature Sensor with Integrated Fan Control. A schematic and bill of materials is included in this User’s Guide. Figure 1 shows the location of pin1 for proper orientation of the LM64 in the socket. Pin 1 Pin 7 Figure 1. The LM64 Evaluation Board with Open Socket showing pin numbering convention. The LM64EVAL kit includes the SensorEval software, which is provided by National Semiconductor to communicate with the LM64 Evaluation Board by way of the USB cable (not provided) from the controlling computer. The SensorEval software is used to control the writing and reading of the digital registers in the LM64 for doing the initial register setup, reading the local and remote temperatures, establishing certain temperature limit setpoints, and setting up fan control and tachometer monitoring registers. 3 4 1.0 Introduction (Continued) For the installation procedure for the SensorEval software see the readme.txt file on the SensorEval software CD. For detailed use of the LM64 software used with the LM64 Evaluation Board, please refer to the SensorEval software user’s guide on the CD. The LM64 datasheet is available at www.national.com. 2.0 Getting Started 2.1 Required Equipment In order to use the LM64 Evaluation Board you will need to have the following required pieces of equipment: 1. A computer with at least a Pentium III processor, running Microsoft Windows 98/2000/XP1 operating system, with 20 MB of free disk space, and at least one USB port 2. A standard USB cable (3 foot length should be sufficient) for connecting the computer to the LM64 Evaluation Board. 3. If you plan to test with a 3-terminal fan you must have: a. A 3-terminal DC brushless fan rated at less than 0.40 Amp. Note that provisions are made on the board for either a standard processor fan connector or holes for soldering wires on the board. b. A Power Supply capable of delivering the fan rated voltage (+12 VDC or +5 VDC) at twice the rated fan current. A pair of wires from the power supply to a female header connector to connect with J2, Fan Power input, is suggested. If it is desired to run the software only, without the LM64 Evaluation board, omit items 2 and 3 and proceed to paragraph 2.3. 2.2 Optional Equipment Optional pieces of equipment are as follows: 1. Remote Diode with wired connector to connect to a female 2-pin header, 0.1 in centers 2. Test equipment such as a digital voltmeter or oscilloscope. 2.3 Test Setup - Software First, see the readme.txt file on the SensorEval CD for the latest installation instructions. Follow the installation procedures to load the software on the computer and, if desired, to verify the operation of the LM64 Evaluation Board. The SensorEval icon will be on the desktop window after the software installation. If it is desired to run the software without the LM64 Evaluation Board please proceed to the Software User’s Guide on the SensorEval CD. For use with the LM64 Evaluation Board disconnect the USB cable from the board and proceed to the next section for the hardware setup. 1 Microsoft , Windows , and XP are registered trademarks of Microsoft Corporation. 4 5 2.4 Test Setup – Hardware 2.0 Getting Started (continued) Figure 2 below shows an example of a typical LM64 Evaluation Board test setup for driving fans, attaching remote diodes, and monitoring the system. +12 VDC or +5 VDC Fan Power Supply No jumpers required. May be used to test GPD’s and GPIO’s National Semiconductor JP1 LM64 Evaluation Board GPD5 GPD4 GPD3 GPD2 GPD1 JP2 Fan Power GPIO5 GPIO4 GPIO3 GPIO2 GPIO1 J4 Q1 Computer USB Port Connection D+ D- Test Socket LM64 USB J2 J3 TCRIT GND A0 ALERT# SCL SDA VDC V+ GND Tach V+ V- Black Lead JP3 No Jumpers Required Figure 2. Test Setup using the LM64 Evaluation Board For the first time user, no jumpers are required on headers JP1, JP2, or JP3 for operation of the basic temperature measuring and fan control functions. Details about these headers, and connections to them, will be discussed later in this User Guide. Hardware Test Setup Procedure 1. Before connecting the power supply to the LM64 Evaluation Board, turn it on and set the output voltage to the voltage rating of the fan (+5 or +12 VDC). Turn the power supply off. 2. Connect the power supply to the LM64 Evaluation Board jack J2 as shown in Figure 2. Make sure that the positive terminal is connected to V+ and the negative terminal is connected to the GND of J2. 3. Plug in the fan as shown in Figure 2. This pinout is standard for PC processor fans. 4. The LM64 Evaluation Board comes with jumpers installed on J4, which connects the on-board MMBT3904 diode-connected transistor to the input of the LM64 chip. 5. Connect the USB cable from the computer’s USB port to the LM64 Evaluation Board 6. Turn on the fan power supply. 7. Start the SensorEval software. 5 6 2.5 Test Setup – System 2.0 Getting Started (continued) For proper fan control follow the following procedure, using SensorEval as described in the SensorEval software manual. IMPORTANT! Registers 4A, 4B, 4D and then either 4C (PWM Value) or the Lookup Table in Registers 4F through 5F must be programmed in that order for the initial fan control setup. If the Lookup Table was selected then write Register 4A, bit 5. [Note: In the example on the following pages we will be selecting bit(s) in Register 4C] Change Register 4A as follows: 1. Set the PWM Clock Select to 1.4 kHz 2. Change the Tachometer Mode to the most accurate reading mode 3. You may change the polarity, if desired, but the traditional mode is with the fan off at 0V. Change Register 4B, if desired, to change the Fan Spinup PWM Duty Cycle and Spinup Time. Change Register 4C to 10 hex. The fan should now start running. For continuous temperature and tach readings select the read continuous check box. You may also log the data to a file. 6 7 3.0 Connection Details Table 1 below describes all the connections and test points of the LM64. Table 1. LM64 Evaluation Board Connections and Test Points Description of the Connections Symbol J2 Fan Power – connect the power supply for the fan to the V+ pin (+12 or +5) and the negative to GND. J3 Connect the 3-terminal fan to the header, paying attention to the black lead going to the Vpin. Three holes are provided on the circuit board if the user wants to solder the fan leads to the board. J4 This allows the user to either: (1) connect jumpers horizontally to the top and bottom pin pairs to connect to the on-board MMBT3904 or (2) to remove the jumpers and connect a remote diode directly to the input of the LM64. JP1 General Purpose Default (GPD) pins on the bottom row can be manually jumpered to ground (to row of pins). JP2 General Purpose Input/Output (GPIO) pins (right vertical row of pins) can be manually jumpered to ground (left vertical row of pins). JP3 TCRIT and ALERT# are the open drain LM64 output pins. A0, the LM64 input address pin, can be manually jumpered to the GND pin to test the A0 function. VDC (+3.3 VDC), and the SMBus Clock and Data signals are available to the user for system monitoring. V+ GND J2 J3 Tach V+ V- TCRIT GND A0 Ground rows JP1 GPD1 GPD2 GPD3 GPD4 GPD5 JP2 ALERT# GPIO5 SCL GPIO4 SDA GPIO3 VDC GPIO2 GPIO1 Connection to On-board Remote Diode Connection to off-the-board Remote Diode Jumper MMBT3904 B, C E JP3 D+ of LM64 D+ of LM64 J4 J4 D- of LM64 D- of LM64 Jumper Figure 3. Header Connectors on the LM64 Evaluation Board 7 8 4.0 Schematic of the LM64 Evaluation Board Use a 0.1 uF capacitor for each Vcc pin of U2 and Reserved_6 pin. + 3.3 VDC C1 0.1uF C2 0.1uF C3 0.1uF C4 0.1uF C5 0.1uF GPIO1 GPIO2 GPIO3 C6 0.1uF GPIO4 C7 33pF + 3.3 VDC U1 LP2950CDT-3.3/TO252 D+ GND SHELL_1 SHELL_2 4 R3 22 2 24 R4 22 3 4 5 6 25 R5 1.5K Vcc A1 WP A2 SCL Vss SDA USBD- 7 R7 1.5K R8 1.5K SCL 2 5 SDA 3 SCL SDA 7 PC2/INT0# PC3/INT1# PC4/T0 PC5/T1 PC6/WR# PC7/RD# CLKOUT C14 0.1uF 6 XOUT 6 U2 DISCON# CY7C64603-52NC 12 8 PB6/INT6 CTL2/AOUTFLAG CTL0/AINFLAG 35 GPIO5 37 41 USBD+ + 3.3 VDC R6 1M A0 18 RESET# XIN 28 1 20 29 30 31 32 33 34 1M C13 0.1uF U3 AT24C02-10SI-2.7 3 R1 100k C12 0.1uF RESERVED_7 PB0/T2 PB1/T2EX PB2/RXD1 PB3/TXD1 PB4/INT4 PB5/INT5# D- C11 2.2uF PA4/FWR# PA5/FRD# PB7/T2OUT PC0/RxD0 PC1/TxD0 45 PWM 46 Tach In 48 49 50 51 SCL SDA 10 11 36 43 44 PWM (Page 2) Tach In TACH IN (Page 2) A0 SCL SDA Figure 5a. LM64 Evaluation Board Schematic, Page 1 of 2 8 PWM TCRIT Alert# 4 8 13 21 26 39 47 52 16 38 42 9 15 17 22 23 VBUS C10 0.1uF C8 33pF R2 WAKEUP# AGnd Gnd1 Gnd2 Gnd3 Gnd4 Gnd5 Gnd6 XCLKSEL XCLK RDY2/AOE RESERVED_1 RESERVED_2 RESERVED_3 RESERVED_4 RESERVED_5 C9 2.2uF J1 USB-B 2 3 GND 1 uH 1 OUT 5 1 14 27 40 19 L1 IN AVcc Vcc1 Vcc2 Vcc3 Vcc4 RESERVED_6 1 Y1 12 MHz 9 7 5 10 9 8 6 1 2 4 GPD INPUT 3 4.0 Schematic of the LM64 Evaluation Board (Continued) JP1 R9 10 k R10 10 k ZMM5247/D0213AA/17V J2 2 4 FAN POWER V+ R11 10 k C15 2.2 uF R17 10 k C16 .01 1 3 D1 17 V FAN POWER FAN POWER RTN R19 10 k + 3.3 VDC C17 C18 2.2uF 0.01uF + 3.3 VDC C19 100 pF R12 10 k R18 0 R13 10 k R14 10 k R15 10 k R16 10 k GPIO2 6 C20 2.2 nF 7 D+ D- PWM GPD2 GPD1 21 20 GPD1 GPD3 GPD2 GPD4 22 GPD3 GPD5 23 GPD5 GPD4 GPIO4 GPIO5 SMBDAT VDD TACH 8 HEADER 2x2 J4 LM64 PWM ALERT# A0 3 1 GPIO5 GND 2 1 4 3 6 5 8 7 R27 2k GPIO REGISTERS J3 To the SDA and SCL Lines on Page 1 (See U2 pins 2 and 3) 5 3 1 6 4 2 FAN - 10 9 HEADER 3x2/SM 19 GPIO4 18 SCL GPIO5 +3.3 VDC SDA SCL 17 SDA 16 15 Tach In SCL SCL SDA SDA + 3.3 VDC ALERT# 14 A0 13 R21 1.5 k R22 1.5 k R23 1.5 k JP3 1 3 2 4 5 6 R28 13k 12 4 2 GPIO4 SMBCLK N/C 5 GPIO3 11 4 N/C PWM 10 GPIO3 Q1 MMBT3904/SOT GPIO2 N/C 3 TCRIT# 2 GPIO2 GPIO1 9 1 24 GPIO3 GPIO1 R20 2k JP2 GPIO1 TCRIT 7 HEADER 1X7 Alert# Alert# A0 A0 TCRIT TCRIT + 3.3 VDC R29 10k TP3 R26 10 GND R25 430 Q2 MMBT2222A/SOT Figure 5b. Schematic of LM64 Evaluation Board – Page 2 of 2 9 TO FAN 10 5.0 LM64 Evaluation Board - Bill of Materials Item Quantity Reference Part ______________________________________________ 1 10 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 4 2 1 1 1 2 1 1 2 1 1 1 1 1 2 2 3 11 21 22 23 24 25 26 27 28 29 30 31 32 33 34 1 2 3 1 1 1 1 6 1 1 1 1 1 1 C1,C2,C3,C4,C5,C6,C10, Capacitor, ceramic,0.1uF C12,C13,C14 C7,C8 Capacitor, ceramic,33pF C9,C11, C15, C17 Capacitor, ceramic,2.2uF C16, C18 Capacitor, ceramic,.01 uF C19 Capacitor, ceramic,100 pF C20 Capacitor, ceramic,2.2 nF D1 Zener Diode ZMM5247/17V JP1,JP2 HEADER, 2X5 JP3 HEADER, 1X7 J1 Connector, USB-B J2, J4 HEADER 2x2 J3 HEADER 3x2 L1 Filter, 1uH, Stewart MI1206K900R-00 Q1 Transistor, NPN, MMBT3904/SOT Q2 Transistor, NPN, MMBT2222A/SOT R1 Resistor, SMT, 100k R2,R6 Resistor, SMT,1M R4,R3 Resistor, SMT,22 Ohm R5,R7,R8 Resistor, SMT,1.5 k R9,R10,R11,R12,R13,R14, Resistor, SMT,10 k R15,R16,R17,R19, R29 R18 Resistor, SMT,0 Ohm R27,R20 Resistor, SMT,2k R21,R22,R23 Resistor, SMT,1.5 k R25 Resistor, SMT,430 Ohm R26 Resistor, SMT,10 Ohm R28 Resistor, SMT,13k S1 LM64 Test Socket, Loranger custom, $36.00 TP1,TP2,TP3,TP4,TP5,TP6 T POINTS (1X1 Headers) U1 IC, 3.3 VDC Voltage Regulator, National LP2950CDT-3.3 U2 IC, microcontroller, Cypress CY7C64603-52NC U3 IC, EEPROM, Atmel AT24C02-10SI-2.7 U4 LM64CILQ Device Under Test Y1 Crystal, 12 MHz, Pletronics 2S1200G140 Circuit Board, Fabricated, LM64 Evaluation Board, Rev 1.1 10 IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. All products are sold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment. TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI’s standard warranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where mandated by government requirements, testing of all parameters of each product is not necessarily performed. TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products and applications using TI components. To minimize the risks associated with customer products and applications, customers should provide adequate design and operating safeguards. TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work right, or other TI intellectual property right relating to any combination, machine, or process in which TI products or services are used. Information published by TI regarding third-party products or services does not constitute a license from TI to use such products or services or a warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the third party, or a license from TI under the patents or other intellectual property of TI. Reproduction of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. Reproduction of this information with alteration is an unfair and deceptive business practice. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additional restrictions. Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids all express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is not responsible or liable for any such statements. TI products are not authorized for use in safety-critical applications (such as life support) where a failure of the TI product would reasonably be expected to cause severe personal injury or death, unless officers of the parties have executed an agreement specifically governing such use. Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications, and acknowledge and agree that they are solely responsible for all legal, regulatory and safety-related requirements concerning their products and any use of TI products in such safety-critical applications, notwithstanding any applications-related information or support that may be provided by TI. Further, Buyers must fully indemnify TI and its representatives against any damages arising out of the use of TI products in such safety-critical applications. TI products are neither designed nor intended for use in military/aerospace applications or environments unless the TI products are specifically designated by TI as military-grade or "enhanced plastic." Only products designated by TI as military-grade meet military specifications. Buyers acknowledge and agree that any such use of TI products which TI has not designated as military-grade is solely at the Buyer's risk, and that they are solely responsible for compliance with all legal and regulatory requirements in connection with such use. TI products are neither designed nor intended for use in automotive applications or environments unless the specific TI products are designated by TI as compliant with ISO/TS 16949 requirements. Buyers acknowledge and agree that, if they use any non-designated products in automotive applications, TI will not be responsible for any failure to meet such requirements. Following are URLs where you can obtain information on other Texas Instruments products and application solutions: Products Applications Audio www.ti.com/audio Automotive and Transportation www.ti.com/automotive Amplifiers amplifier.ti.com Communications and Telecom www.ti.com/communications Data Converters dataconverter.ti.com Computers and Peripherals www.ti.com/computers DLP® Products www.dlp.com Consumer Electronics www.ti.com/consumer-apps DSP dsp.ti.com Energy and Lighting www.ti.com/energy Clocks and Timers www.ti.com/clocks Industrial www.ti.com/industrial Interface interface.ti.com Medical www.ti.com/medical Logic logic.ti.com Security www.ti.com/security Power Mgmt power.ti.com Space, Avionics and Defense www.ti.com/space-avionics-defense Microcontrollers microcontroller.ti.com Video and Imaging www.ti.com/video RFID www.ti-rfid.com OMAP Mobile Processors www.ti.com/omap Wireless Connectivity www.ti.com/wirelessconnectivity TI E2E Community Home Page e2e.ti.com Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265 Copyright © 2012, Texas Instruments Incorporated