Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
Gone are the days of restrictive pin-out selection with microcontrollers. The any-signal-to-any-pin routing available with the PSoC 3 and PSoC 5 GPIOs can help optimize PCB layout, shorten design time, and even allow for a large degree of solder-less rework. However, with this freedom comes a steeper learning curve than with a traditional microcontroller. The topics presented in AN72382 introduce readers to PSoC 3 and PSoC 5 GPIO basics and demonstrate techniques for their effective use in a design, including:
GPIO Pins and PSoC Creator using APIs, placing pin component symbols and macros, manual pin assignment.
API and Register Reference component API, per-pin API, GPIO registers, nonvolatile latches.
Examples, Tips, and Tricks a dozen examples from Hello World to controlling analog switching with hardware.
Application note AN72382 is a great starting point for anyone looking to become more familiar with the possibilities available when using PSoC 3 and PSoC 5 GPIO pins. The examples include step-by-step instructions and sample code that can be integrated into your project.
The use of P0,P3 and P4 as the preferred port for analog is still valid. This app note gives you an overview of the pin architecture and how to effectively use the various features available with GPIO and out it to best use. PSoC Creator provides an easy way to program the pins. You can make a wise decision as far as the pins is concerned with the help pf this APP Note and the other APP Notes referenced in this App Note.