CY8CKIT-003 PSoC 3 FirstTouch Starter Kit Guide, Spec. # 001-49613 Rev. *B
15
Example Projects
Figure 4-5. Program Successful
5. When the download is complete, remove the USB cable from the PSoC 3 FirstTouch Starter Kit
board and connect a 9V battery to the battery connector.
6. Follow the steps in section
3.1 Install Hardware on page 9
to see your message displayed.
4.1.4
Schematic Design PSoC Creator
This project's customized hardware configuration is viewed by opening the
TopDesign.cysch
file
located in the Workspace Explorer window. PSoC Creator's schematic design entry methodology,
using pre-defined peripheral functions called components, allows rapid hardware definition and
implementation.
The schematic entry system works similarly to standard circuit board schematic entry tools, with the
exception that all components and routing are automatically implemented within the PSoC device
rather than on a PCB. This allows you to create custom solutions using peripherals commonly found
in MCU designs as well as analog peripherals, digital peripherals, and logic, not possible with any
other microcontroller or System on Chip. In many designs, traditionally external resources are able
to be fully integrated within the PSoC device.
The PSoC Rocks design schematic uses several peripheral and circuit elements. A single analog
input pin connected to the accelerometer's Y axis is routed to an ADC. Two digital ports are used to
control the functionality of the accelerometer and another pair is used to drive the LEDs. The last
schematic element is a control register that is used to drive the LED ports. The control register
output is inverted to sink current from the LEDs. This allows the LEDs to be driven externally with the
highest possible current and brightness without adding complexity to the design. Conventional
systems would require firmware overhead to decode and invert the data for each of the affected LED
port registers.
The PSoC Rocks schematic (see
Figure 4-6 on page 16
) provides a small sample of how custom
hardware and peripherals are possible in PSoC devices. Each component selected from the
component catalog and placed onto the project schematic provides a GUI, configurable parameters,
and full data sheet to further customize its operation in the design. During the project build process,
each component generates the required hardware configuration and firmware APIs as necessary to
provide a truly custom hardware configuration.
electronic components distributor