Cypress CY8CKIT-025 Manual

Cypress CY8CKIT-025 Manual

Psoc precision analog temperature sensor expansion board kit
Hide thumbs Also See for CY8CKIT-025:
Table of Contents

Advertisement

Quick Links

CY8CKIT-025
®
PSoC
Precision Analog Temperature
Sensor Expansion Board Kit Guide
Doc. # 001-65791 Rev. *J
Cypress Semiconductor
198 Champion Court
San Jose, CA 95134-1709
Phone (USA): 800.858.1810
Phone (Intnl): 408.943.2600
www.cypress.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CY8CKIT-025 and is the answer not in the manual?

Questions and answers

Summary of Contents for Cypress CY8CKIT-025

  • Page 1 CY8CKIT-025 ® PSoC Precision Analog Temperature Sensor Expansion Board Kit Guide Doc. # 001-65791 Rev. *J Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 Phone (USA): 800.858.1810 Phone (Intnl): 408.943.2600 www.cypress.com...
  • Page 2 Cypress is not liable, in whole or in part, and you shall and hereby do release Cypress from any claim, damage, or other liability arising from or related to all Unintended Uses of Cypress products.
  • Page 3: Table Of Contents

    5.1.1 Migrating Projects to use with CY8CKIT-050 and CY8CKIT-010 ....31 Tempsense ........................32 5.2.1 Project Description ..................32 5.2.2 Project Operation ...................33 5.2.2.1 Hardware Connections ..............33 5.2.2.2 Run Tempsense Example Firmware..........35 5.2.2.3 Testing the Project ................36 CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 4 5.4.3.3 Firmware Description and Flowchart ..........80 A. Appendix Schematic ........................83 Board Layout ......................84 A.2.1 PDC-09802 Top .....................84 A.2.2 PDC-09802 Bottom ..................84 Bill of Materials (BOM) ....................85 Regulatory Compliance Information ................85 CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 5: Safety Information

    If such interference is detected, suitable mitigating measures should be taken. The CY8CKIT-025 as shipped from the factory has been verified to meet with requirements of CE as a Class A product.
  • Page 6 Handling Boards CY8CKIT-025 boards are sensitive to ESD. Hold the board only by its edges. After removing the board from its box, place it on a grounded, static free surface. Use a conductive foam pad if available.
  • Page 7: Introduction

    –50 C to 150 C. Accurate temperature measurement is difficult with a diode. Table 1-1 ° ° shows a comparison among the four sensors. CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 8 (such as RTD) as well as other types of voltage output sensors. It can also be used for system monitoring applications requiring temperature (usually CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 9: Kit Contents

    50- and 60-Hz hum. The Thermal Management System example project supports fan control applications. Add the CY8CKIT-036 EBK (with two four-wire fans) to the CY8CKIT-025 EBK and a development kit to support complete temperature-based fan control solutions. For more details on CY8CKIT-036 PSoC...
  • Page 10 Introduction Figure 1-1. CY8CKIT-025 Kit Contents Thermocouple Section 2x20 Pin Connector for Diode Development Kit Section Interface Thermistor Section RTD Section CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 11: Psoc Creator

    Cypress continually strives to provide the best support. Click here to view a growing list of application notes for PSoC 3 and PSoC 5LP. 1.4.3 Learn from Peers Cypress Developer Community Forums CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 12: More Code Examples

    To use a starter design for your project, navigate to File > New > Project and select the design required. CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 13: Technical Support

    For assistance, go to www.cypress.com/go/support or contact our customer support at +1(800) 541-4736 Ext. 2 (in the USA), or +1 (408) 943-2600 Ext. 2 (International). CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 14: Document Conventions

    Click the File icon and then click Open. Displays an equation: Times New Roman 2 + 2 = 4 Text in gray boxes Describes cautions or unique functionality of the product. CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 15: Software Installation

    2. The CD/DVD installation dialog prompts you to open this file or begin installing the development environment software. Click the Install PSoC Precision Analog EBK button to begin installation. CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 16 Quick Start Guide ❐ User Guide ❐ Temperature Sensor Datasheets ❐ Firmware ■ Example Projects ❐ Hardware ■ Schematic ❐ Layout ❐ Bill of Materials (BOM) ❐ CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 17 After installation, launch the example projects associated with the kit from the PSoC Creator Start Page, as shown in Figure 2-4. Figure 2-4. PSoC Creator Start Page CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 18: Kit Operation

    RTD Section Kit Connections The CY8CKIT-025 EBK connects to a development kit (DVK) using a 2×20 pin connector. You can use the CY8CKIT-030 PSoC 3 DVK, CY8CKIT-050 PSoC 5LP DVK, or CY8CKIT-001 PSoC DVK. The CY8CKIT-025 EBK can be connected to port E of the CY8CKIT-030 PSoC 3 DVK (see...
  • Page 19 Kit Operation Figure 3-2. Connect 2×20 Pin Connector to Port E of CY8CKIT-030 PSoC 3 DVK CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 20 Figure 3-3. Connect 2×20 Pin Connector to Port E of CY8CKIT-050 PSoC 5LP DVK Figure 3-4. Connect 2×20 Pin Connector to Port A of CY8CKIT-001 PSoC DVK CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 21: Temperature Sensors

    2–3 for using the internal (onboard) thermistor. The silk indicates the jumper positions for internal and external thermistors. CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 22: Rtd

    J4 (1-4) is used to connect transistor 1. Connect the collector, base, and emitter to screws J4 1, 2, and 3, respectively. Use a small wire to short J4, 3–4. This is to support four-wire measurement so CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 23: Prototype Boards

    The kit includes two CY8CKIT-012 prototype boards. The prototype boards plugs into any port of DVKs, CY8CKIT-001, CY8CKIT-030, and CY8CKIT-050 and they can be used for prototyping your custom circuit built around PSoC. CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 24: Hardware

    Channel 0 is used for thermocouple voltage measurement ■ Channel 1 is used for cold junction compensation ■ Channel 2 is used for offset cancellation ■ CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 25: Thermistor

    An excitation voltage is applied across a series combination of thermistor and precision reference resistor, and the voltages across thermistor and reference resistor are measured. CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 26: Rtd

    By determining the resistance of the RTD, you can find the temperature using equations 4 or 5. Figure 4-3 shows the circuit used to measure RTD resistance. CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 27 The RTD resistance is calculated using the equation: Vrtd  Equation 6 (Vref/Rref PSoC Creator provides an RTD component that helps to convert resistance to temperature. CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 28: Diode

    Note that two diodes are connected antiparallel to each other. This helps to measure two temperatures using only four pins. CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 29 8. The ADC measures a negative voltage in one of the two cases, which can be negated in firmware to make it positive. Measurements are made in four-wire configuration to avoid series resistance error. CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 30: Example Projects

    The Thermal Management System supports fan control applications. Adding a CY8CKIT-036 evalu- ation kit (with two four-wire fans) to the CY8CKIT-025 EBK and a development kit supports complete temperature-based fan control solutions. For more details on the CY8CKIT-036 PSoC Thermal Man- agement EBK, click here.
  • Page 31: Migrating Projects To Use With Cy8Ckit-050 And Cy8Ckit-010

    Heap Size to 0x200 in the System tab in the <project>.cydwr file as shown in Figure 5-2. Figure 5-1. Build Settings Figure 5-2. System Tab CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 32: Tempsense

    The second row displays the temperature of the RTD, diode 1, and diode2, as shown in Figure 5-4. Figure 5-3. Simultaneous Temperature Display Labels CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 33: Project Operation

    Operation chapter on page Note: When using the CY8CKIT-025 EBK with CY8CKIT-050 PSoC 5LP DVK, remove the jumpers from J43 and J44 on PSoC 5LP DVK. CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 34 SW2 to P0_7 3. Set the system to run at 3.3 V using SW3; set J6 VDD DIG and J7 VDD ANLG to VDD = 3.3 V. CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 35: Run Tempsense Example Firmware

    SW1 can be used to toggle the cold junction compensation sensor between the IC (DS600) and thermistor CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 36: Testing The Project

    The main sources of ADC error are its offset, gain error, and INL. Of these, the offset error is can- celled in all cases by correlated double sampling. ADC gain error is eliminated by using a precision reference resistor in thermistor and RTD. CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 37 ADC gain error, INL 0.3 / 2.6 Cypress application notes on each of the four sensors explain the signal chain errors in detail. 5.2.2.4.2 Resolution (peak to peak) The temperature measurement resolution is the minimum temperature increment possible. A 0.1 °C resolution is achieved on all sensors.
  • Page 38 RTD. A potentiometer is used to provide resistances in the whole RTD temperature range; the RTD temperature measured by PSoC is noted. CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 39 Table 5-7. IC Sensor Test Results IC Output Voltage (mV) Expected Temperature (°C) Observed Temperature (°C) Error (°C) 640.32 20.4 20.4 660.34 23.5 23.5 702.22 30.0 733.73 34.8 34.8 CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 40: Project Details

    Q1, Pin 3_7 and to ground. The ground connection is provided on the pin in firmware. PSoC's pin structure allows easy connection to the ground. CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 41 Example Projects Figure 5-5. PSoC Creator Top Design CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 42: Component Configuration

    The IDAC is configured in the 0 to 255 µA-range. The IDAC is used for RTD and diode temperature measurements. The IDAC data register value is modified in firmware, as required for each of these temperature measurements. CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 43: Firmware Description And Flowchart

    (APIs) for voltage to temperature conversion and vice versa. IC (DS600) or thermistor can be used for cold junction compensation. CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 44 Convert CJ temperature to CJ compensation voltage. Read hot junction voltage, perform CDS and filter Add hot junction voltage to CJ compensation voltage Convert voltage to temperature CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 45 The flowchart involves conversion of thermistor resistance to temperature. This is done using the thermistor calculator component. The component supports both LUT and the Steinhart-Hart equa- tion, and provides an API for converting resistance to temperature. CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 46 The flowchart involves converting RTD resistance to temperature. The RTD calculator component is used for this conversion. The RTD component chooses the correct polynomial order based on your accuracy requirements. CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 47 The calibration steps for the RTD are as follows: 1. Scroll down to the Calibrate RTD (eighth) item in the menu using CapSense buttons. CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 48 ‘1’. After calibration, the constant is stored in EEPROM. This value can be used for power-on-reset calibration. This can be implemented by users and is not dem- onstrated in this project. CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 49 Measure diode temperature tMeasured) Diode Cal constant = tIdeal/tMeasured Save the diode calibration constants in EEPROM Go back to the main menu on next switch press CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 50 Measure IC temperature (tMeas) IC offset = tMeas - tCal Save the calibration constant in EEPROM Go back to the main menu on next switch press CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 51 RTD and the diodes, pass a zero current through the RTD, diode, or calibration resistor and measure the ADC output across the RTD/diode/calibration resistor. CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 52: Sequenced Adc

    This project uses the RTD, IC temperature sensor, and diode temperature sensor from the CY8CKIT-025 DVK. This example also measures a 20 mV full scale input, 100 mV full scale input, 3.3 V rail, and 5 V rail. The 20 mV and 100 mV measurements require external stimulus. You can uses a low noise voltage source or analog output sensors such as a pressure sensor or a load cell to provide 0–20 mV and 0–100 mV inputs.
  • Page 53 Note: For testing purpose an external voltage source can be created by using 1.5 V AA battery and resistor divider. Upper arm of the resistor divider can be 15 K resistor while bottom arm can be 1 K potentiometer. CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 54 VR makes sure that 5 V is not accidentally driven on the pin if the system is set for 3.3 V. b. 3.3 V to P1_2 CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 55: Run Sequenced Adc Example Firmware

    6. On reset, the LCD displays the RTD temperature, which is the first item in the user selectable menu. 7. Press CapSense button P5_5 to scroll up the menu and P5_6 to scroll down the menu. CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 56: Testing The Project

    A voltage source is used to provide inputs from –100 mV to +100 mV and the output displayed by PSoC is compared to a multimeter output. CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 57 Table 5-10. DS600 IC Temperature Sensor Test Results Actual Temp (°C) Measured Temp (°C) Difference (°C) 39.9 39.5 0.42 20.1 19.8 0.26 0.36 –19.7 –20.0 0.31 –39.4 –39.8 0.40 CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 58: Project Details

    Reference Resistor Current2 Reference Resistor CDS DS600 Voltage DS600 IC Temp Sensor DS600 CDS 3.3 V Rail 3.3 V Rail 5 V Rail 5 V Rail CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 59: Project Schematic

    Manual routing is used on the RTD to ensure that the load resistance of the IDAC does not cause the value to droop between the reference resistor reading and RTD reading. For more information, refer to AN70698. CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 60 Example Projects Figure 5-15. Schematic for Input Muxes and IDAC CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 61: Component Configuration

    DS600 IC Temp Sensor DS600 CDS ± 1.024 V 3.3 V Rail 3.3 V Rail ± 6.144 V 5 V Rail 5 V Rail ± 6.144 V CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 62 The sample rate of 3861 is chosen such that each sensor is read at a repeat rate of 110 Hz. Figure 5-17. ± 0.256 V ADC Configuration CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 63 ADC results for signals near VDD. However, the input impedance of the ADC is lower without the buffer, so the input signal should not load the ADC. CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 64: Firmware Description And Flowcharts

    Figure 5-20 shows the ADC ISR flowchart. The ISR code is found in ADC_INT.c. This interrupt is triggered at the end of every ADC conversion. CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 65 The SlotCounter is used to count ADC EOCs. This hardware counter is compared with the current slot value in the ADC ISR. If they do not match, then the measurement is flagged as invalid. This is CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 66 3.3 V from 8 to 16, go to Readings.c and modify the following line of code. Filter_CoeffBuf[READ_RAIL3V3]=8; Filter_CoeffBuf[READ_RAIL3V3]=16; Note that a higher attenuation factor reduces LCD flicker, but increases temperature settling time. CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 67 ±1.024 V range); that same value is read with the non-factory calibrated range. The ratio of these two readings is then used to adjust the 3.3 V and 5 V measurements. This calibration is done before the main code loop. CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 68: Thermal Management

    This project uses the CY8CKIT-036 Thermal Management (TME) EBK in addition to the CY8CKIT-025 EBK. The example project controls two fans based on their zone tem- peratures. The concept of a thermal zone and the sensors used in a specific zone are explained in Project Details on page 75.
  • Page 69: Using Tme Ebk With Cy8Ckit-025

    CY8CKIT-036 TME EBK and CY8CKIT-025 EBK connected to the CY8CKIT- 030 PSoC 3 DVK. The CY8CKIT-025 EBK is connected to port E and the CY8CKIT-036 TME EBK is connected to port D. The same setup and connections can be used when using CY8CKIT-050.
  • Page 70: Project Operation

    GPIOs. Ensure that the LCD included with the PSoC 3 DVK is attached. 2. Set VDDD and VDDA to 3.3 V using J10 and J11. CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 71 1. In the pin header/breadboard area of the PSoC DVK base board, use jumper wires to make the following connections: VR to P1_2 ❐ SW1 to P2_7 ❐ Figure 5-26. CY8CKIT-001 PSoC DVK Breadboard CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 72 DVK and then attach the TME EBK to port B. Due to pin sharing, debugging the project is also not possible because it uses the same programming pins. CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 73 Figure 5-32. Thermal Management EBK Fans 2. Configure jumper J9 to power the thermal management EBK using an external power supply, as shown in Figure 5-33. CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 74: Run Thermal Management System Firmware

    CY8CKIT-009 PSoC 3/CY8CKIT-010 PSoC 5LP processor module. Ensure that the TME EBK is not attached to the PSoC 3 DVK before attaching the USB cable for programming. CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 75: Testing The Project

    Figure 5-34. To test the closed loop speed control of Fan 4, touch the RTD sensor on the CY8CKIT-025 EBK. This results in variations in the measured RTD temperature. The speed of Fan 4 is adjusted according to the tem-...
  • Page 76 10 percent weight. In this example, the RTD temperature reading dom- inates the overall zone temperature calculation. Figure 5-35. Thermal Management System Project - Zone2 Thermal Profile CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 77: Project Schematic

    RTD, respectively. Application note AN66627 describes the fan controller operation in detail. 5.4.3.2 Component Configuration Figure 5-37 Figure 5-38 show the FanController component configuration. CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 78 The individual fan parameters are configured, as shown in Figure 5-38. The configuration is done based on the datasheet specifications of the fans used on the TME EBK. CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 79 ADC configuration to measure voltage across the sensors (diode and RTD). The Resolution parameter is set to 20 bits to perform high-resolution temperature measurements. Figure 5-40. ADC Configuration for Temperature Sensor Measurement CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 80: Firmware Description And Flowchart

    ThermalManager.h for the relevant keywords. The following flowchart shows the basic function of the thermal manager along with the APIs in Ther- malManager.c that implement the main service loop. CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 81 Line 2 displays the desired fan speed and the actual fan speed for Zone 2. CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 82 Z 1 : T ( 8 5 , 2 5 ) Z 2 : T = 3 1 ( 8 5 , 2 5 ) CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 83: Appendix

    Place J5-2 TO J5-1 FOR EXTERNAL INPUT AT J7 Date: Date: Date: Friday, April 01, 2011 Friday, April 01, 2011 Friday, April 01, 2011 Sheet Sheet Sheet CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 84: Board Layout

    Board Layout A.2.1 PDC-09802 Top A.2.2 PDC-09802 Bottom CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 85: Bill Of Materials (Bom)

    (EMC) regulations. EN 55022:2010 Class A - Emissions ■ EN 55024:2010 Class A - Immunity ■ CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...
  • Page 86 “Migrating Projects to use with CY8CKIT-050 and CY8CKIT-010” on page Updated to new template. Updated Software Installation chapter on page SRDS / 09/23/2016 Updated Figure 2-2. SAGA Updated Figure 2-4. CY8CKIT-025 PSoC® Precision Analog Temperature Sensor Expansion Board Kit Guide, Doc. # 001-65791 Rev. *J...

Table of Contents