3. Use the Board as Factory Programmed 4. Create a PSoC Designer Project 5. Safety precautions 6. Additional Cypress Resources The CY3268 PowerPSoC™ Lighting Starter Kit demonstrates the ability of PowerPSoC to create scalable LED management solutions and enables designers to evaluate PowerPSoC.
To setup the software environment for developing firmware for PowerPSoC Install PSoC Designer from the CD (or download the latest version from http:// ■ www.cypress.com/design/SD1099). Install PSoC Programmer from the CD (or download the latest version from http:// ■ www.cypress.com/design/SD1062).
Page 5
4.4. Give a name to the project (CY3268_Example1). Choose a folder to save the project. 4.5. A new dialog opens to select the device. Select CY8CLED04D01-56LTXI from the catalog. Use C to generate the main file 4.6. After creating the project, PSoC Designer presents the chip interconnect view of the project.
Page 6
UM to CSA0. Change the gain to 20. Leave other parameters at their default values. Repeat this step and create CSA1, CSA2, and CSA3. Search for PRISM16HW UM in the Power category. Double click on the UM to place it. Select the UM and change its properties to the following: Name: PRISM0 ❐...
Page 7
TimerDelay:10-25ns ❐ Repeat step c and place three more UMS. All the parameters ❐ remain the same except as in the following table. Name HYSTCTRL1 HYSTCTRL2 HYSTCTRL3 Feedback Input CSA1 CSA2 CSA3 Dim Input MOD1 MOD2 MOD3 Now browse through Cap Sensors > CSD UM category and place CSD with PRS16 as clock source.
Page 8
Now right click on the UM and select the CSD wizard. ❐ Change the value in N Sensors field to 5 and double click to apply. Drag the pins on the right to the switch positions to cor- relate to the hardware settings as follows Connections CapSense button 1: Port 1.4 CapSense button 2: Port 2.2...
Page 9
Click OK to exit the wizard 4.9. To save the project, click File > Save Workspace. To generate the application, click Build > Generate/Build 'CY3268_Example1' Project. 4.10. Open main.c file from the workspace explorer under the source files category and replace the content in the main.c file with the content of main.c on CD included with the kit.
5. Safety precautions Precautions to be taken when preparing a circuit Use only isolated power sources (either isolated power supplies or AC power through isolation power transformers). This helps you to use a grounded oscilloscope and reduces the possibility of risk of completing a circuit through your body or destroying the test equipment.
Page 11
6. Additional Cypress Resources PowerPSoC Data Sheets, Application Notes and Technical Articles Cypress provides a wealth of information about PowerPSoC, and more is frequently added. Many sample documents, schematics, layouts, guidelines, and other docu- ments are available on the CD and at www.cypress.com...
Need help?
Do you have a question about the PowerPSoC CY3268 and is the answer not in the manual?
Questions and answers