Datasheet

16 PSoC Designer IDE Guide, Document # 001-42655 Rev *B
Chip-Level Editor
2.1 Chip-Level Editor Overview
The Chip-Level Editor gives you complete control over Chip-Level Projects resource use, routing,
and firmware. You choose a specific chip at the beginning of this process:
1. Create a Project
This is the first step in both processes, but after naming your project, the first thing that you do in
a Chip-Level Project is select a PSoC device.
2. Select a PSoC Device
There are a large number of PSoC devices in the PSoC family with more being added all the
time. Some are general purpose devices with varying amounts of general purpose digital and
analog resources while others are more specialized with onboard peripherals suited to specific
solutions such as wireless, LED control, or capacitive sensing. Consult the Cypress web site for a
wide variety of literature and contact information for people that can help you choose the right
device for your design.
3. Choose User Modules
PSoC devices have programmable analog and digital blocks that can be configured for a wide
variety of uses. User Modules configure these programmable blocks to behave as a specific
peripheral, such as an analog to digital converter, a timer, or a pulse width modulator. You choose
user modules based on what you need the PSoC device to do for you.
4. Configure the User Modules
Each user module has a set of parameters that allow you to configure it to meet your needs. For
example, a CapSense user module must be configured to detect signals coming from capacitive
sensing components in a wide variety of configurations, so it has a large number of configurable
parameters. A design rule checker can alert you to potential problems with your design as you
work.
5. Connect The User Modules
Each user module will have inputs, outputs, and interrupts that can be routed internally to and
from other user modules, and externally to and from pins. The PSoC devices have a very flexible
routing system, but resources are limited and it may take some experimentation to find the opti-
mal routing and placement for all of the user modules.
6. Generate Your Project
This prepopulates your project with APIs and libraries that you can use to program your applica-
tion.
7. Write Your Program
Write your program in C for rapid development, assembly language to get every last drop of per-
formance from the MCU, or a combination of both. You have a choice of third party C compilers
and assemblers for PSoC devices.
8. Build and Debug Your Program
Build and test your program. Use PSoC Designer in conjunction with one of the PSoC emulators.
PSoC Designer has a powerful built in debugger.
9. Program the Device
Cypress has a variety of programmers that you can use to program your production parts.
Your design is now complete. The remainder of this chapter is organized just like the above outline
with additional details on each of the steps.