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 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 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 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 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 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 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 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...
Need help?
Do you have a question about the CY3268 and is the answer not in the manual?
Questions and answers