Download Print this page

Cypress CY3268 Manual

Powerpsoc lighting starter kit
Hide thumbs Also See for CY3268:

Advertisement

Quick Links

CY3268
®
PowerPSoC
Lighting Starter Kit Guide
Document No. 001-67149 Rev. *D
WARNING: HIGH BRIGHTNESS LEDs CAN
Cypress Semiconductor
CAUSE PERMANENT DAMAGE!
198 Champion Court
Do not look at the HBLEDs directly. The HBLEDs
San Jose, CA 95134-1709
illuminate at a very high intensity and can cause
permanent eye damage. Use a thick white sheet of
Phone (USA): 800.858.1810
paper as diffuser if there is no optical diffuser
Phone (Intnl): 408.943.2600
available.
http://www.cypress.com
WARNING: Generally all lab work in power
electronics must be done with extreme care.
Caution must be exercised when using power
supplies and/or power related equipment.
[+] Feedback

Advertisement

loading
Need help?

Need help?

Do you have a question about the CY3268 and is the answer not in the manual?

Questions and answers

Summary of Contents for Cypress CY3268

  • Page 1 CY3268 ® PowerPSoC Lighting Starter Kit Guide Document No. 001-67149 Rev. *D WARNING: HIGH BRIGHTNESS LEDs CAN Cypress Semiconductor CAUSE PERMANENT DAMAGE! 198 Champion Court Do not look at the HBLEDs directly. The HBLEDs San Jose, CA 95134-1709 illuminate at a very high intensity and can cause permanent eye damage.
  • Page 2 Cypress Source Code and derivative works for the sole purpose of creating custom soft- ware and or firmware in support of licensee product to be used only in conjunction with a Cypress integrated circuit as speci- fied in the applicable agreement.
  • Page 3 5.1.3 Program Flow Diagram ..................31 5.1.4 Verify Output ....................33 Code Example 2: CY3268_Heartbeat ...............33 5.2.1 Project Description ..................33 5.2.2 Hardware Connections...................33 5.2.3 Program Flow Diagram ..................36 5.2.4 Verify Output ....................38 CY3268 PowerPSoC® Lighting Starter Kit Guide, Document No. 001-67149 Rev. *D [+] Feedback...
  • Page 4 Contents A. Appendix Schematic........................39 Board Layout ......................40 Bill of Materials ......................42 Safety Precautions ....................44 CY3268 PowerPSoC® Lighting Starter Kit Guide, Document No. 001-67149 Rev. *D [+] Feedback...
  • Page 5 ❐ Related documents ❐ Inspect the contents of the kit; if any parts are missing, contact your nearest Cypress sales office for help. This kit does not contain the MiniProg, a device that is required to program PowerPSoC. You can purchase the MiniProg online from the Cypress web store: http://www.cypress.com/go/CY3217-...
  • Page 6 PowerPSoC Firmware Design Guidelines – AN51012 ■ http://www.cypress.com/?rID=35365 Switching Regulators Component Design Guide – AN50099 ■ http://www.cypress.com/?rID=34331 Modulation Techniques for LED Dimming – AN49262 ■ http://www.cypress.com/?rID=34683 CY3268 PowerPSoC® Lighting Starter Kit Guide, Document No. 001-67149 Rev. *D [+] Feedback...
  • Page 7 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. CY3268 PowerPSoC® Lighting Starter Kit Guide, Document No. 001-67149 Rev. *D [+] Feedback...
  • Page 8 Introduction CY3268 PowerPSoC® Lighting Starter Kit Guide, Document No. 001-67149 Rev. *D [+] Feedback...
  • Page 9 Getting Started Introduction This chapter describes how to install and configure the CY3268 PowerPSoC Lighting Starter kit. Kit Installation To install the kit software, follow these steps: 1. Insert the kit CD into the CD drive of your PC. The CD is designed to auto-run and the kit installer startup screen appears;...
  • Page 10 Getting Started Figure 2-2. Root Directory of the CD 3. The CY3268 PowerPSoC - InstallShield Wizard screen appears. Choose the folder location to install the setup files. You can change the location of the folder for the setup files using Change,...
  • Page 11 8. A green check mark appears adjacent to every package that is downloaded and installed, as shown in Figure 2-5. 9. Wait until all the packages are downloaded and installed successfully. CY3268 PowerPSoC® Lighting Starter Kit Guide, Document No. 001-67149 Rev. *D [+] Feedback...
  • Page 12 Getting Started Figure 2-5. Installation Page 10.Click Finish to complete the installation, as shown in Figure 2-6. Figure 2-6. Installation Completion Page CY3268 PowerPSoC® Lighting Starter Kit Guide, Document No. 001-67149 Rev. *D [+] Feedback...
  • Page 13 Verify your installation and setup by opening PSoC Programmer with the MiniProg attached over USB. PSoC Designer 1. Click Start > All Programs > Cypress > PSoC Designer <version> > PSoC Designer <version> (Figure 2-7) 2.
  • Page 14 Getting Started PSoC Programmer 1. Click Start > All Programs > Cypress > PSoC Programmer <version> > PSoC Programmer <version> (Figure 2-8) 2. Connect to the MiniProg listed from the Port Selection tab of PSoC Programmer, as shown in Figure 2-8 Figure 2-8.
  • Page 15 Kit Operation Introduction The CY3268 PowerPSoC Lighting Starter Kit examples help you develop applications using the PowerPSoC family of devices. The kit is designed to develop lighting applications using PowerP- SoC. This chapter assists you in understanding the functionality of the kit.
  • Page 16 Kit Operation Figure 3-2. Connect MiniProg Connect the MiniProg, as shown in the Figure 3-2 and program the board using PSoC Programmer. CY3268 PowerPSoC® Lighting Starter Kit Guide, Document No. 001-67149 Rev. *D [+] Feedback...
  • Page 17 WARNING: Generally all lab work in power electronics must be done with extreme care. Caution must be exercised when using power supplies and/or power related equipment. CY3268 PowerPSoC® Lighting Starter Kit Guide, Document No. 001-67149 Rev. *D [+] Feedback...
  • Page 18 Kit Operation CY3268 PowerPSoC® Lighting Starter Kit Guide, Document No. 001-67149 Rev. *D [+] Feedback...
  • Page 19 Figure 4-1. Block Diagram POWER SUPPLY OUTPUT INDUCTOR/ ISSP HBLEDs DIODE POWERPSoC 56 QFN DEBUG TEMP PORT SENSOR GPIO NOTE: Red path is the power path CAPSENSE BUTTONS CY3268 PowerPSoC® Lighting Starter Kit Guide, Document No. 001-67149 Rev. *D [+] Feedback...
  • Page 20 High Brightness Connector LEDs Temperature Sensor Shielded Power DC Supply Jack Inductors Power Supply RESET Indication LED Switch PowerPSoC CY8CLED04DOCD1-56LTXI ISSP FN0 Extension Programming Header Header CapSense Buttons CY3268 PowerPSoC® Lighting Starter Kit Guide, Document No. 001-67149 Rev. *D [+] Feedback...
  • Page 21 Figure 4-4. Star Grounding Scheme 4.2.2 PowerPSoC The CY3268 PowerPSoC Lighting Starter Kit is designed as the HBLED driver circuit. The specifica- tions of the driver circuit in this design are: Input voltage: 7 V minimum and 12 V maximum ■...
  • Page 22 Stage lighting ■ Architectural lighting ■ General purpose lighting ■ ■ Automotive and emergency vehicle lighting Landscape lighting ■ Display lighting ■ Effects lighting ■ ■ Signage lighting CY3268 PowerPSoC® Lighting Starter Kit Guide, Document No. 001-67149 Rev. *D [+] Feedback...
  • Page 23 Current Mode Feedback Positive SREGSW Switch Mode Regulator OUT SREGHVIN Switch Mode Regulator IN GDVDD Gate Driver Power Supply GDVSS Gate Driver Ground PGND3[2] Power FET Ground 3 CY3268 PowerPSoC® Lighting Starter Kit Guide, Document No. 001-67149 Rev. *D [+] Feedback...
  • Page 24 CSN1 Current Sense Negative Input 1 P0[4] GPIO/Analog Input (Column 1) / Bandgap Output CSB3 Digital Power Supply Digital Ground P1[4] GPIO / External Clock Input CSB1 CY3268 PowerPSoC® Lighting Starter Kit Guide, Document No. 001-67149 Rev. *D [+] Feedback...
  • Page 25 P0[7], and CapSense button (CSB5) is connected to P1[7]. CSB 1  LED 1  ON/OFF CSB 2  LED 2  ON/OFF CSB 3  LED 3  ON/OFF CSB 4  LED 4  ON/OFF CSB 5  DIM  CYCLE COLORS   CY3268 PowerPSoC® Lighting Starter Kit Guide, Document No. 001-67149 Rev. *D [+] Feedback...
  • Page 26 Figure 4-8. Converter Circuit for HBLED Operation (All four channels are shown) Inductors Shielded power inductors are normally used for noise suppression and are currently used in all appli- cations. CY3268 PowerPSoC® Lighting Starter Kit Guide, Document No. 001-67149 Rev. *D [+] Feedback...
  • Page 27 Figure 4-9. RESET Circuit 4.2.7 Debug Port There is a debug port to connect to the on-chip debugger (OCD) device to enable debugging Figure 4-10. RJ45 - PCB Mounted Jack CY3268 PowerPSoC® Lighting Starter Kit Guide, Document No. 001-67149 Rev. *D [+] Feedback...
  • Page 28 Hardware 4.2.8 Temperature Sensor There is a thermistor on board that helps to measure the temperature of HBLEDs. Figure 4-11. Thermistor Circuit CY3268 PowerPSoC® Lighting Starter Kit Guide, Document No. 001-67149 Rev. *D [+] Feedback...
  • Page 29 The PrISM compares the output of a pseudo-random counter with a signal density value. The com- parator output asserts when the count value is less than (or less than or equal to) the value in the signal density register. CY3268 PowerPSoC® Lighting Starter Kit Guide, Document No. 001-67149 Rev. *D [+] Feedback...
  • Page 30 The gate drivers are used to drive either internal or external power FETs. Figure 5-1. PowerPSoC Interconnect Diagram for CY3268_Example1 CY3268 PowerPSoC® Lighting Starter Kit Guide, Document No. 001-67149 Rev. *D [+] Feedback...
  • Page 31 IS SENSOR NUMBER BY 1 COUNT > 5? IS SENSOR WITH GIVEN NUMBER ACTIVE? IS FLAG FOR THE ACTIVE SENSOR = 1? SET CORRESPONDING SENSOR FLAG = 1 CY3268 PowerPSoC® Lighting Starter Kit Guide, Document No. 001-67149 Rev. *D [+] Feedback...
  • Page 32 = PREVIOUS DIMMING LEVEL + DELTA IS DIMMING LEVEL > MAX OR < MIN ? DELTA = -1 * DELTA SET NEW DIMMING LEVEL FOR SELECTED HBLED CY3268 PowerPSoC® Lighting Starter Kit Guide, Document No. 001-67149 Rev. *D [+] Feedback...
  • Page 33 No hardware connections are required for this project because all connections are hardwired to specific pins on the board. The functional blocks are illustrated in Figure 5-3. The user module has functional blocks such as CSD, PRISM, CSA, and HYSTCTRL. CY3268 PowerPSoC® Lighting Starter Kit Guide, Document No. 001-67149 Rev. *D [+] Feedback...
  • Page 34 HBLEDs. It provides cycle-by-cycle switch control with a fast transient response. The hysteretic controller simplifies system design because it requires no external compensation. The gate drivers are used to drive either internal or external power FETs CY3268 PowerPSoC® Lighting Starter Kit Guide, Document No. 001-67149 Rev. *D [+] Feedback...
  • Page 35 Code Examples Figure 5-3. PowerPSoC Interconnect Diagram for CY3268_Heartbeat CY3268 PowerPSoC® Lighting Starter Kit Guide, Document No. 001-67149 Rev. *D [+] Feedback...
  • Page 36 GET 4 CHANNEL HBLED DIMMING VALUES UPDATE DIMMING MODULATORS WITH NEW DIMMING VALUES CHOOSE NEXT COLOR TO DISPLAY; CHECK TO SEE IF COLOR COORDINATES FALL WITH IN THE ALLOWED VALUES CY3268 PowerPSoC® Lighting Starter Kit Guide, Document No. 001-67149 Rev. *D [+] Feedback...
  • Page 37 OR FOUR ACTIVE? HBLED ON? TURN IT ON IS SENSOR FIVE ACTIVE? IS FLAG = 1? SET FLAG = 1 SET FLAG = 0 TURN OFF ALL HBLEDS CY3268 PowerPSoC® Lighting Starter Kit Guide, Document No. 001-67149 Rev. *D [+] Feedback...
  • Page 38 Note It is recommended not to look at the HBLEDs directly with the naked eye. For best viewing of colors, place a thick white sheet of paper on the HBLEDs or focus the light on a white wall. CY3268 PowerPSoC® Lighting Starter Kit Guide, Document No. 001-67149 Rev. *D [+] Feedback...
  • Page 39 Appendix Schematic A.1.1 PowerPSoC Device Connections CY3268 PowerPSoC® Lighting Starter Kit Guide, Document No. 001-67149 Rev. *D [+] Feedback...
  • Page 40 Board Layout A.2.1 CY3268 PowerPSoC Board - Top Layer CY3268 PowerPSoC® Lighting Starter Kit Guide, Document No. 001-67149 Rev. *D [+] Feedback...
  • Page 41 A.2.2 CY3268 PowerPSoC Board - Bottom Layer CY3268 PowerPSoC® Lighting Starter Kit Guide, Document No. 001-67149 Rev. *D [+] Feedback...
  • Page 42 Thermistor NTC 10K OHM 0805 SMD Vishay RES 0 Ω 1/4W 5% 1206 SMD ERJ-8GEY0R00V Panasonic - ECG R11,R27,R30, ERJ-3GEYJ102V RES 1.0 KΩ 1/10W 5% 0603 SMD Panasonic - ECG R37,R38,R39, CY3268 PowerPSoC® Lighting Starter Kit Guide, Document No. 001-67149 Rev. *D [+] Feedback...
  • Page 43 Chomerics Do Not Install CSB1,CSB2,C SB3,CSB4,CS GRM188R61C105KA93 CAP CER 1.0UF 16V 10% X5R 0603 Murata Electronics ECH-U1C681GX5 CAP.00068UF 16V PPS FILM 0603 2% Panasonic - ECG Optic CY3268 PowerPSoC® Lighting Starter Kit Guide, Document No. 001-67149 Rev. *D [+] Feedback...
  • Page 44 Follow the FET ‘turn on’ sequence suggested in the demo firmware. ■ Switching off or shutting down the circuit Switch off all the power supplies and remove the power supply connections. ■ CY3268 PowerPSoC® Lighting Starter Kit Guide, Document No. 001-67149 Rev. *D [+] Feedback...