Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 3 > Finding the physical port of a cypin

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



Finding the physical port of a cypin
Moderator:
RKRM

Post Reply
Follow this topic



Finding the physical port of a cypin

Luffy posted on 12 May 2013 5:17 AM PST
Member
5 Forum Posts
I am working on a way to get external input from a separate system, and I can't figure out which physical port a pin is mapped to. Can anyone help me figure this out?


Re: Finding the physical port of a cypin

PSoC73 posted on 12 May 2013 06:54 AM PST
Top Contributor
176 Forum Posts
Open your "YourProject.cydwr" file - [Pins] TAB, You look the pins list on right side, Select the pin which you want to assign. Port columun can pull down, Choose Port and Pin number. That's All. OK?

Re: Finding the physical port of a cypin

PSoC73 posted on 12 May 2013 06:59 AM PST
Top Contributor
176 Forum Posts
I forgot a sample picture.

Re: Finding the physical port of a cypin

Bob Marlowe posted on 12 May 2013 10:24 AM PST
Top Contributor
1768 Forum Posts

As a general rule: Any physical pin can be assigned to a pin on your schematic. Some of the pins have dedicated functions and when you want to use them you'll have to use them for their purpose. This applies to VDACs, IDACs, amplifiers and other analog usermodules. Recently Chris Kees wrote an addition to Creator to name a pin and assign a physical port and pin number according to its name. Look here http://www.cypress.com/?app=forum&rID=79330 

 

Happy coding

Bob 



Re: Finding the physical port of a cypin

H L posted on 12 May 2013 08:08 PM PST
Top Contributor
679 Forum Posts

It is one of the confusing terms that people encounter when they used to work on other uC. It takes awhile to get used to.'

The port on PSoC can be used in a way of "PORTS" of our uC. you can read/write as a port. you don't need to wire it in the creator schematic.

But the best part of PSoC is that you can forget completely about ports and consider using pins. You can group pins (no need to be next to each other) to be output from a control register component. or you can group pins to the input as status register. and the register doesn't need to be 8 bit wide. you can use one or multiple pins to input or ouputs of logica gates and FF and nearly every pin can be digital/analog/input/ouput/bidirectional.

Enjoy PSoC






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20