Cypress Semiconductor CY8CKIT-015 Manual

Cypress Semiconductor CY8CKIT-015 Manual

Psoc 1 power supervision kit guide

Advertisement

Quick Links

CY8CKIT-015
®
PSoC
1 Power Supervision Kit Guide
Doc. # 001-81218 Rev. **
Cypress Semiconductor
198 Champion Court
San Jose, CA 95134-1709
Phone (USA): 800.858.1810
Phone (Intnl): 408.943.2600
http://www.cypress.com

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for Cypress Semiconductor CY8CKIT-015

  • Page 1 CY8CKIT-015 ® PSoC 1 Power Supervision Kit Guide Doc. # 001-81218 Rev. ** Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 Phone (USA): 800.858.1810 Phone (Intnl): 408.943.2600 http://www.cypress.com...
  • Page 2 Cypress against all charges. Any Source Code (software and/or firmware) is owned by Cypress Semiconductor Corporation (Cypress) and is protected by and subject to worldwide patent protection (United States and foreign), United States copyright laws and international treaty provisions.
  • Page 3: Table Of Contents

    A.2.6 Voltage Regulator V4 = 1.8 V ................30 A.2.7 I2C/SMBus/PMBus Interface Connector............30 CY8CKIT-035 Board Layout ..................31 A.3.1 Top layer ......................31 A.3.2 Ground Layer ....................31 A.3.3 Power Layer ....................32 CY8CKIT-015 PSoC 1 Power Supervision Kit Guide, Doc. # 001-81218 Rev. **...
  • Page 4 Contents A.3.4 Bottom Layer ....................32 A.3.5 Top Silkscreen ....................33 CY8CKIT-035 Bill of Materials................... 34 CY8CKIT-015 PSoC 1 Power Supervision Kit Guide, Doc. # 001-81218 Rev. **...
  • Page 5: Introduction

    ■ CY8CKIT-035 PSoC Power Supervision EBK ■ Features The CY8CKIT-015 Power Supervision Kit demonstrates how to develop PSoC 1 based power system solutions with an example project, which describes a variety of functions including: Voltage sequencing ■ Voltage and current measurement ■...
  • Page 6: Kit Contents

    Kit Contents You can download the CY8CKIT-015 Kit Setup executable file from http://www.cypress.com/go/ CY8CKIT-015. If you already have PSoC Designer and PSoC Programmer installed, download CY8CKIT-015 Kit Only. The executable file includes the following PSoC Designer™ 5.2 SP1 or later ■...
  • Page 7: Getting Started

    PSoC Designer, PSoC Programmer, Windows Installer, .NET framework, Adobe Acrobat Reader, and Keil Compiler. If these applications are not installed, then the installer prompts you to install all prerequisite software, which is also available in the CY8CKIT-015 ISO file at http:// www.cypress.com/go/CY8CKIT-015.
  • Page 8: Hardware Setup

    ■ ager; select the Uninstall button for the appropriate software package. Run the executable file and click Install CY8CKIT-015 button. In the CyInstaller for the PSoC 1 ■ Power Supervision Kit 1.0 window, select Remove from the Installation Type drop-down menu.
  • Page 9 They may be damaged if firmware previously programmed into PSoC drives those pins. When the PSoC 1 has been programmed, attach the EBK to port A of the PSoC DVK. CY8CKIT-015 PSoC 1 Power Supervision Kit Guide, Doc. # 001-81218 Rev. **...
  • Page 10 Getting Started CY8CKIT-015 PSoC 1 Power Supervision Kit Guide, Doc. # 001-81218 Rev. **...
  • Page 11: Example Project

    8. Remove MiniProg3 from the DVK and attach the EBK to port A of the DVK. 9. On the EBK, make sure the power jumper (J5) is set to DVK (default setting). CY8CKIT-015 PSoC 1 Power Supervision Kit Guide, Doc. # 001-81218 Rev. **...
  • Page 12: Example Project - Overview

    The primary 12-V input supply cannot be controlled by PSoC 1 so the voltage displayed may not be nominal. CY8CKIT-015 PSoC 1 Power Supervision Kit Guide, Doc. # 001-81218 Rev. **...
  • Page 13 2 through 4. This causes an UV fault on rails 2 through 4 and the display appears as shown in Figure 3-6. Figure 3-6. LCD Display - Under Voltage CY8CKIT-015 PSoC 1 Power Supervision Kit Guide, Doc. # 001-81218 Rev. **...
  • Page 14: Psoc 1 Power Supervisor Solution

    PSoC 1 using two voltage digital-to-analog converters (DAC) (to set the UV and OV limits for each rail), two comparators, and two programmable glitch filters. This window comparator loops through each channel that it monitors (labeled as V[4+1]). CY8CKIT-015 PSoC 1 Power Supervision Kit Guide, Doc. # 001-81218 Rev. **...
  • Page 15: Technical Details

    1 to 1.31 seconds in steps of 1 msec. Four GPIOs to enable or disable four voltage regulators on the CY8CKIT-035 board. ■ CY8CKIT-015 PSoC 1 Power Supervision Kit Guide, Doc. # 001-81218 Rev. **...
  • Page 16 To change the behavior of the voltage sequencer, change the parameters for the sequencer. To do this, open the configuration.h file of the project in PSoC Designer 5.2 SP1. Change the definition of DEFAULT_SEQUENCING_MODE by choosing any of the defined sequencing modes from CY8CKIT-015 PSoC 1 Power Supervision Kit Guide, Doc. # 001-81218 Rev. **...
  • Page 17: Uv And Ov Monitoring Using Window Comparator

    (after the inverter) will be high if there is a fault. Eight-bit DACs are used to generate the user-defined UV and OV thresholds. CY8CKIT-015 PSoC 1 Power Supervision Kit Guide, Doc. # 001-81218 Rev. **...
  • Page 18 These UV/OV percentages can be changed for each rail by changing the definitions in the project’s configuration.h file. The default values are 6%, as shown here. CY8CKIT-015 PSoC 1 Power Supervision Kit Guide, Doc. # 001-81218 Rev. **...
  • Page 19: Voltage And Current Measurements

    PSoC 1 and external can be customized for the specific power supply chosen (for example, inverting the PWM output such that a decrease in PWM duty cycle decreases the reg- ulator output voltage). CY8CKIT-015 PSoC 1 Power Supervision Kit Guide, Doc. # 001-81218 Rev. **...
  • Page 20: Other Features

    1. Display the introductory message and initialize the system parameters 2. Check for EBK connectivity and wait until it is connected 3. Initialize PWM trim/margin hardware 4. Initialize fault detection hardware CY8CKIT-015 PSoC 1 Power Supervision Kit Guide, Doc. # 001-81218 Rev. **...
  • Page 21 After the sequencing is complete, the fault detection ISR will be enabled; it generates an interrupt if any fault occurs on any rail. That interrupt routine will find out the rails that have faults and shuts down all the rails. CY8CKIT-015 PSoC 1 Power Supervision Kit Guide, Doc. # 001-81218 Rev. **...
  • Page 22 Figure 3-11. Example Firmware Main Loop Flowchart Start Check for EBK and wait till it is  connected Initialize hardware namely counters,  PWMs, Window comparators, ADCs  & associated interrupts. Sequence Channel n n <= No. of      PGOOD[n]      n = n + 1 Channels OK ? Multiplex the input to window  comparator and ADCs Measure the voltages using SAR  Trim the regulators using the  measured voltages Measure the currents using  Disable All Regulators,  Delsig ADC Display Error Message Handle User Interface switches &  their functionalities Is restart switch  pressed ? Update LCD CY8CKIT-015 PSoC 1 Power Supervision Kit Guide, Doc. # 001-81218 Rev. **...
  • Page 23: Psoc 1 Resource Usage Details

    2 14-bit Del-Sig ADCs, PGA, Current Measurement ADC and instrumentation amplifier Window Comparator with Glitch 2 comparators, 2 DACs, and 2 Filter PRS as glitch filters PWM Trim/Margin 4 16-bit PWM blocks CY8CKIT-015 PSoC 1 Power Supervision Kit Guide, Doc. # 001-81218 Rev. **...
  • Page 24 Example Project CY8CKIT-015 PSoC 1 Power Supervision Kit Guide, Doc. # 001-81218 Rev. **...
  • Page 25: Appendix

    EBK. The I2C physical layer signals (SDA/SCL) from the PSoC 1 are also routed across this header to allow connection to an external host or management processor that supports standard I2C, SMBus, or PMBus protocol interfaces. CY8CKIT-015 PSoC 1 Power Supervision Kit Guide, Doc. # 001-81218 Rev. **...
  • Page 26: 2X20 Pin Interface Header

    – ALERT PMBus) Serial Clock (I2C/SMBus/ Serial Data (I2C/SMBus/PMBus) SDAT PMBus) unused D3V3 VADJ unused Digital Ground DGND unused Optional 12V Power from DVK DVIN DGND Digital Ground CY8CKIT-015 PSoC 1 Power Supervision Kit Guide, Doc. # 001-81218 Rev. **...
  • Page 27: Ebk Headers And Jumpers

    2-pin header for connecting variable potentiometer on V3=2.5-V rail Installed 2-pin header for connecting ALL loads on V4=1.8-V rail (fixed and Installed adjustable) 2-pin header for connecting variable potentiometer on V4=1.8-V rail Installed CY8CKIT-015 PSoC 1 Power Supervision Kit Guide, Doc. # 001-81218 Rev. **...
  • Page 28: Cy8Ckit-035 Schematics

    CY8CKIT-035 Schematics A.2.1 Primary 12-V Power Input A.2.2 DVK Connector and Debug Test Points CY8CKIT-015 PSoC 1 Power Supervision Kit Guide, Doc. # 001-81218 Rev. **...
  • Page 29: Voltage Regulator V1 = 5 V

    A.2.3 Voltage Regulator V1 = 5 V A.2.4 Voltage Regulator V2 = 3.3 V A.2.5 Voltage Regulator V3 = 2.5 V CY8CKIT-015 PSoC 1 Power Supervision Kit Guide, Doc. # 001-81218 Rev. **...
  • Page 30: I2C/Smbus/Pmbus Interface Connector

    A.2.6 Voltage Regulator V4 = 1.8 V A.2.7 I2C/SMBus/PMBus Interface Connector CY8CKIT-015 PSoC 1 Power Supervision Kit Guide, Doc. # 001-81218 Rev. **...
  • Page 31: Cy8Ckit-035 Board Layout

    CY8CKIT-035 Board Layout A.3.1 Top layer A.3.2 Ground Layer CY8CKIT-015 PSoC 1 Power Supervision Kit Guide, Doc. # 001-81218 Rev. **...
  • Page 32: Power Layer

    A.3.3 Power Layer A.3.4 Bottom Layer CY8CKIT-015 PSoC 1 Power Supervision Kit Guide, Doc. # 001-81218 Rev. **...
  • Page 33 A.3.5 Top Silkscreen CY8CKIT-015 PSoC 1 Power Supervision Kit Guide, Doc. # 001-81218 Rev. **...
  • Page 34 Bourns Inc. 3361P-1-101GLF 6MM SQ SMD RES 330 OHM 1/16W R27,R39,R49, R60 330Ω Yageo Corporation RC0402JR-07330RL 5% 0402 SMD RES 22.1K OHM 1/10W 22.1kΩ Yageo RC0603FR-0722K1L 1% 0603 SMD CY8CKIT-015 PSoC 1 Power Supervision Kit Guide, Doc. # 001-81218 Rev. **...
  • Page 35 RES 1K 1/10W OHM Stackpole Electronics 1kΩ RNCF0805BTC1K00 0.1% 0805 CONN HEADER VERT 961240-6404-AR DUAL 40POS GOLD HIGH-SIDE CURRENT Zetex ZXCT1009FTA MONITOR TEST VIA 40 HOLE 20 TV1,TV2,TV3, TV4 NONE PLATED CY8CKIT-015 PSoC 1 Power Supervision Kit Guide, Doc. # 001-81218 Rev. **...
  • Page 36 CY8CKIT-015 PSoC 1 Power Supervision Kit Guide, Doc. # 001-81218 Rev. **...

Table of Contents