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.
■ 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 ■...
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 ■...
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.
■ 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. **...
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. **...
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. **...
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. **...
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. **...
(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. **...
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. **...
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. **...
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. **...
– 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. **...
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. **...
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. **...
Need help?
Do you have a question about the CY8CKIT-015 and is the answer not in the manual?
Questions and answers