Using PSoC®3 / PSoC 5 GPIO Pins

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable
    

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.

   
0 Likes
3 Replies
Anonymous
Not applicable

 This is a really cool article. Everybody in the PSoC3 world must go through this App Note.

0 Likes
Anonymous
Not applicable

This article doesn't reinterate that for best analog use, should prefer P0, P3, and P4 usage that other ap note mentioned.

   

Is this no longer true ?

0 Likes
Anonymous
Not applicable

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.

0 Likes