cancel
Showing results for 
Search instead for 
Did you mean: 

Code Examples

odissey1
Honored Contributor II

Hi,

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.

regards,

odissey1

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

   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

Pin_sm1_v0_0_D.png

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

DigitalInput_A1.png

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

ComplexMode_A.png

1 Reply
odissey1
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).

/odissey1

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

VCO_01a_A6.png

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

VCO_01a_D_0.975V.png

Figure 3. VCO output frequency vs. control voltage.

VCO Freq vs Vctrl_01.png