198 Champion Ct., San Jose, CA 95134
408.943.2600, www.cypress.com
If you have questions, ca ll the
Applications Hot Line 425.787.4814
www.cypress.com/support
Cypress Semiconductor Corporation
Doc. # 001-47478 Rev. **
Design Support and Resources
PSoC Development Software Online
All PSoC development software tools are available for download online. For PSoC
Express, visit www.cypress.com/psocexpress. For PSoC Designer visit
www.cypress.com/psocdesigner. For PSoC Programmer visit www.cypress.com/
psocprogrammer.
PSoC Device Selector Guide
In the PSoC Application Notes section, search for AN2209—The Device Selection
Guide for PSoC. It is a useful tool for determining exactly which PSoC device you
should use for a specific design project.
PSoC Development Tools Selector Guide
In the PSoC Application No tes section, search for AN2402—The PSoC Development
Tools Selector Guide. This is a complete catalog and description of all the develop-
ment tools that support PSoC devices and when to use them in your design cycle—
from concept to production.
PSoC On-Demand Training
Visit www.cypress.com/psoctraining to engage in on-demand self-paced PSoC prod-
uct and development software training. Learn to design PSoC like the pros, at the
introductory, intermediate, and advanced knowledge levels!
PSoC On-Site Training
Email training@cypress.com to enquire about PSoC in-person training seminars at a
location near you. Learn design basics, tips, and tricks from the pros to become a
PSoC design expert!
Online Technical Support
For knowledge base articles, customer forums, and online application support, visit
www.cypress.com/support.
©2008 Cypress Semiconductor Corporation. PSoC Designer™, Programmable System-on-
Chip™, and PSoC Express™ are trademarks, and PSoC® is a registered trademark of Cypress
Semiconductor Corp. All other trademarks or r egistered trademarks referenced herein are prop-
erty of the respective corporations
Cypress Semiconductor
198 Champion Court
San Jose, CA 95134-1709
Phone (USA): 800.858.1810
Phone (Intnl): 408.943.2600
http://www.cypress.com
CY3253-BLDC Demonstration Kit
Quick Start
001-47478 CY3253-BLDC Demonstration Kit Quick Start.fm Page 1 Friday, July 11, 2008 2:52 PM
Getting Started
1. Review Kit Contents
2. CD-ROM Directory Structure
3. CY325 3 Bo ard Fe atures
4 Connecting and Starting the Motor
5. Documentation Index
6. Additional Cypress Resources
Welcome to the CY3253 BLDC Control Demonstration Kit. This kit is dedicated to
showcase PSoC device in BLDC motor sensor and sensorless control. The BLDC
senor control algorithm is using hall effect sensor for rotor position detection , and the
sensorless control uses Back Electric Force(BEMF) for rotor position detection.
The kit is targeted to be a cost effective, turnkey solution for BLDC market. It also
serves as a development platform. Source code can be easily re-used be develope
your BLDC control application.
The demonstration kit uses Lithium-II (CY8C24533) chip as the micro-controller, but
other PSoC devices can also be applied to the demonstration boa rd.
1. Review Kit Contents
Each CY3253-BLDC Demonstration Kit contains:
CY3253-BLDC Control Main Board
Two Lith ium-II Daughter Board
LCD Module
DC power supply
3-Phase BLDC motor
CY3253-BLDC Kit CD-ROM
Quick Start
Page 2 Page 11
6. Additional Cypress Resources
PSoC Data Sheets, Application Notes and Technical Articles
Cypress provides a wealth of information about CapSense Express, and more is fre-
quently added. Many sample documents, schematics, layouts, guidelines, and other
CapSense Express documents are available on the CD and at www.cypress.com
(except where indicated). To find do cumentation online:
a. Go to www.cypress.com.
b. Click on the Documentation link.
c. Select the type of documentation you are looking for from the Resource
Types list.
d. Type the part number or document number into the Search in Design
Resources field.
e. Click the Search button .
001-47478 CY3253-BLDC Demonstration Kit Quick Start.fm Page 2 Friday, July 11, 2008 2:52 PM
Following tools are optiona l:Thes e tools are not included in CY3253, b ut can be found
in other CY kit.
CY3240-I2CUSB Bridge
CY3210-MiniProg1
CY3215-ICE
CY3250-24X33 POD
CY3250-28PDIP-FK
For more information, visit the web site: http://www.onfulfillment.com/cypressstore/Cat-
egory.aspx?d=30&sid=205&sm=d30
2. CD-ROM Directory Structure
The following list describes the higher-level directory structures in CY3253-BLDC Kit
CD-ROM and does not completely explore the lower level directories.
|---Docs ‘Docs’ contains the kit documentation in PDF form
|
|---Hardware ‘Hardware ’ contains the design file used in development of the Kit
| |---Schematic
| |---BOM
| |---SilkScreen
| |---Gerber
|
|---Firmware ‘Firmware’ contains the firmware related files
| |-- Sensed control
| |---Source Code
| |---Header
| |---lib
| |-- Sensorless control
| |---Source Code
| |---Header
| |---lib
|
|---Software ‘Software’contains PC software tools
| |---PSoC Tools
| |---I2CUSB command
|
Page 10 Page 3
5. Documentation Index
A brief description of the document follows:
CY3253 Demo Kit Quick Start: Introduces to the demo kit contents (this docu-
ment)
Cypress software License Agreement: This document provides the standard
Cypress license for use of materials supplied in th e demo kit.
CY3253 Demo Kit User's Guide: T his is a detailed reference that describes the
kit.
AN42102 - BLDC Closed-Loop Speed Control Based on CY8C24533: This
application note describes the application of BLDC speed close loop control
based on hall position sensor.
CY3253 Design Note: This is detailed design note that mainly describes the
implementation of sensorless BLDC speed close loop control.
CY24533 Technical Reference Manual: Technical reference manual for
CY24533 device.
CY3253 Demo Kit Release Notes: The release notes of CY3253. It covers any
last minute information that relates to deviations.
001-47478 CY3253-BLDC Demonstration Kit Quick Start.fm Page 3 Friday, July 11, 2008 2:52 PM
3. CY3253 Board Features
1. Support both sensor and sensorless control
2. Sensorless control based on comparators to detect the zero-crossing of BEMF
3. Discrete power devices (IGBT or MOSFET) with integrate device drivers (IR 2 10 1 )
4. LED show run state and PWM state
5. Over current protection
6. Speed PI close loop
7. LCD panel for motor speed display
8. HALL sensor inputs for rotor position sensing
9. 24V external power supply
10. Debug and Programming I/F
11. I2C bridge tools for motor speed showing and present motor speed command
12. Keys to start/stop and switch motor rotate direction
Page 4 Page 9
4.2 Run with Sensor-Less Control
4.2 1.Plug CY24533 daughter board onto the main demo board via J10, J11 Connec-
tors.
4.2 2.Program example code project of BLDC sensor-less control
(CY3253_BLDC_NoHAll) into CY24533 chip by MiniProg.
4.2 3.Connect motor phase wires to the board.
4.2 4.The HALL sensor jumpers (J7,J8,J9) must be set as per the following figure.
Figure 7 Select Jumpers for No-H all Mode
4.2 5.Plug external +24V Powe r supply onto board J3. W hen connected, the red LED
D9 is lit.
4.2 6.Press START button, motor begins to spin. Press the button again will stop the
motor. LED D8 indicates th is status.
001-47478 CY3253-BLDC Demonstration Kit Quick Start.fm Page 4 Friday, July 11, 2008 2:52 PM
Figure 1 CY3253-BLDC Kit
CY24533 Daughter Board
Jumpers (J7,J8,J9)
Start Button
External Power Supply
J10, J11 Connectors
J6
(J3)
LCD Module
Motor
Page 8 Page 5
4.1 5.Plug external +24V Power supply onto board J3 interface.
Figure 5 Power the Bo ard
4.1 6.Press START button, motor begins to spin. Press the button again to stop the
motor. LED D8 indicates this status.
Figure 6 Press Start Button to Start the Motor
001-47478 CY3253-BLDC Demonstration Kit Quick Start.fm Page 5 Friday, July 11, 2008 2:52 PM
4 Connecting and Starting the Motor
4.1 Run with HALL Effect Sensor Control
4.1 1.Plug CY24533 daughter board onto the main demo board via J10, J11 Connec-
tors.
Figure 2 Plug in CY24533 Daughter Board
4.1 2.Program example code project of BLDC control with HALL effect sensor
(CY3253_BLDC_HAll) into CY24533 chip by MiniProg via ISSP interface.
4.1 3.Connect motor phase wires and HALL wires to the board as per the following
figure.
Page 6 Page 7
Figure 3 Connect Motor to the Board
4.1 4.The HALL sensor jumpers (J7,J8,J9) must be selected as per the following
figure.
Figure 4 Verify Position of Ha ll Jumpers
001-47478 CY3253-BLDC Demonstration Kit Quick Start.fm Page 6 Friday, July 11, 2008 2:52 PM