Using PSoC®3 / PSoC 5 GPIO Pins | Cypress Semiconductor
Using PSoC®3 / PSoC 5 GPIO Pins
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 Pin Basics physical structure, internal routing, startup and low-power behavior.
- 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.