Cypress CY8C22213 Computer Hardware User Manual


 
CY8C22113, CY8C22213
Document Number: 38-12009 Rev. *F Page 7 of 36
Figure 5. User Modules and Development Process Flow
Chart
The next step is to write your main program, and any subroutines
using PSoC Designer’s Application Editor subsystem. The
Application Editor includes a Project Manager that allows you to
open the project source code files (including all generated code
files) from a hierarchal view. The source code editor provides
syntax coloring and advanced edit features for both C and
assembly language. File search capabilities include simple string
searches and recursive “grep-style” patterns. A single mouse
click invokes the Build Manager. It employs a profes-
sional-strength “makefile” system to automatically analyze all file
dependencies and run the compiler and assembler as
necessary. Project-level options control optimization strategies
used by the compiler and linker. Syntax errors are displayed in a
console window. Double clicking the error message takes you
directly to the offending line of source code. When all is correct,
the linker builds a ROM file image suitable for programming.
The last step in the development process takes place inside the
PSoC Designer’s Debugger subsystem. The Debugger
downloads the ROM image to the In-Circuit Emulator (ICE)
where it runs at full speed. Debugger capabilities rival those of
systems costing many times more. In addition to traditional
single-step, run-to-breakpoint and watch-variable features, the
Debugger provides a large trace buffer and allows you define
complex breakpoint events that include monitoring address and
data bus values, memory locations and external signals.
Document Conventions
Acronyms Used
The following table lists the acronyms that are used in this
document.
Units of Measure
A units of measure table is located in the Electrical Specifications
section. Table 6 on page 10 lists all the abbreviations used to
measure the PSoC devices.
Numeric Naming
Hexadecimal numbers are represented with all letters in
uppercase with an appended lowercase ‘h’ (for example, ‘14h’ or
‘3Ah’). Hexadecimal numbers may also be represented by a ‘0x’
prefix, the C coding convention. Binary numbers have an
appended lowercase ‘b’ (for example, 01010100b’ or
‘01000011b’). Numbers not indicated by an ‘h’ or ‘b’ are decimal.
Debugger
Interface
to ICE
Application Editor
Device Editor
Project
Manager
Source
Code
Editor
Storage
Inspector
User
Module
Selection
Placement
and
Parameter
-ization
Generate
Application
Build
All
Event &
Breakpoint
Manager
Build
Manager
Source
Code
Generator
Table 2. Acronyms
Acronym Description
AC alternating current
ADC analog-to-digital converter
API application programming interface
CPU central processing unit
CT continuous time
DAC digital-to-analog converter
DC direct current
EEPROM electrically erasable programmable read-only
memory
FSR full scale range
GPIO general purpose IO
IO input/output
IPOR imprecise power on reset
LSb least-significant bit
LVD low voltage detect
MSb most-significant bit
PC program counter
POR power on reset
PPOR precision power on reset
PSoC
®
Programmable System-on-Chip
PWM pulse width modulator
RAM random access memory
ROM read only memory
SC switched capacitor
SMP switch mode pump
[+] Feedback