Showing results for 
Search instead for 
Did you mean: 

Code Examples

Honored Contributor II


Provided below is a custom component, Pins Annotation v0.0, which facilitates PSoC pins configuration. It identifies terminals with direct access to PSoC internal hardware and graphically displays pin configuration. The Pins Annotation component can be used in conjunction with PSoC Annotation Library, as well as Cypress stock annotation components.

Attached archive contains Pins Annotation component library, a Datasheet and installation instructions. Upon installation it will show up in the folder:

/Community/Off-Chip/Annotation Library/Pins/

Demo project is provided.

The component provided as-is, no liabilities. It is free to use, modify and distribute.



P.S. Demo projects use optional annotation components (which are also provided here in

   PSoC Annotation Library: PSoC Annotation Library v1.0

   QuadDec_SW: Quad Decoder with Button Switch component for rotary shaft encoders

Figure 1. Component appearance with various options enabled


Figure 2. Pins and Annotations appearance in various Digital Input modes.


Figure 3. Pin and Annotation appearances in multi-mode configurations.


1 Reply
Honored Contributor II

Voltage Controlled Oscillator (VCO) demo project showing use of the Pins Annotation component.  The VCO design is based on the 1-shot architecture, and provides high input impedance, good linearity and >50db dynamic range using minimal hardware resources. Project archive is provided above. Full project description can be found in the Pins Annotation datasheet (Appendices 1-2).


Figure 1. VCO using 1-shot architecture. Top - PSoC schematic, Bottom - project annotation using Pins Annotation component. Left - integrator, Right - 1-shot Timer.


Figure 2. VCO traces at Vctr=1V: Fuchsia - VCO output, Yellow - Opamp output terminal, Cyan - 1-shot Timer output.


Figure 3. VCO output frequency vs. control voltage.

VCO Freq vs Vctrl_01.png