Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 5 > CY8CKIT-014 General Purpose Push Button Switch

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



CY8CKIT-014 General Purpose Push Button Switch
Moderator:
PRKU

Post Reply
Follow this topic



CY8CKIT-014 General Purpose Push Button Switch

simsto posted on 21 Feb 2011 6:29 AM PST
Member
2 Forum Posts

Hello there,

I bought myself the above mentioned development kit. I tried the first example  Blink an LED from MY FIRST FIVE PSOC ®  3 DESIGNS. The push button is assigned to P15[3].

But nothing changes if I push the button. I took the whole code from the example.

Thanks in advance.

Kind regards,

Simon




Re: CY8CKIT-014 General Purpose Push Button Switch

kiku posted on 21 Feb 2011 08:38 PM PST
Cypress Employee
66 Forum Posts

Hi,

 

There are some differences between CY8CKIT-001 and CY8CKIT-014. In the later one (First Touch Kit), the switch has to be pulled down internally instead of pulled up for CY8CKIT-001.

 

So you may need to change the pin drive mode to Pull Down. Please let me know if this works.


Regards,

Kishore.



Re: CY8CKIT-014 General Purpose Push Button Switch

simsto posted on 22 Feb 2011 10:32 PM PST
Member
2 Forum Posts

Hello Kishore,

 

thank you very much. I've changed the Drive Mode to Resistive Pull Down and the Initial State to Low.

After changing the IF-conditions in main.c it works fine.

Kind regards,

Simon



Re: CY8CKIT-014 General Purpose Push Button Switch

Doacn posted on 04 May 2011 06:19 AM PST
Member
10 Forum Posts

Hello,

  I have the similar kit as you do. Do you mind walk through this with me? I tried to follow the "My First Five PSoC 3 Designs"

with CY8CKIT-014 and I had no luck due to different pins number. I am not sure which pins are suppose to be connect. Please help me thorugh this. Thanks!



Re: CY8CKIT-014 General Purpose Push Button Switch

Fix posted on 22 Sep 2013 12:41 PM PST
Top Contributor
21 Forum Posts
Hello together! maybe somebody can help me too... i'm working with the CY8CKIT-001 and PSoC 5LP. according to the tut. i also Chose resistive pullup and Initial low. for P1.2 this works fine. for other ports like 2.7 and many 0.X this doesn't work! now i changed to resistive pulldown and Initial high. this works for both of them. is there something to consider using different ports? thank you!

Re: CY8CKIT-014 General Purpose Push Button Switch

danaaknight posted on 22 Sep 2013 05:17 PM PST
Top Contributor
4471 Forum Posts
Not all ports are =. see attached.

Re: CY8CKIT-014 General Purpose Push Button Switch

danaaknight posted on 22 Sep 2013 05:17 PM PST
Top Contributor
4471 Forum Posts
Not all ports are =. see attached.

Re: CY8CKIT-014 General Purpose Push Button Switch

Fix posted on 23 Sep 2013 05:06 AM PST
Top Contributor
21 Forum Posts
I don't understand. In the PDF it says: When not used for special functions, all GPIO pins behave the same.

Re: CY8CKIT-014 General Purpose Push Button Switch

danaaknight posted on 23 Sep 2013 12:25 PM PST
Top Contributor
4471 Forum Posts

Basically says that if special function is not routed to pin, use it as GPIO.

 

Also check -001 lit schematic, some pins dedicated externally so you

cannot use as GPIO.

 

Regards, Dana.



Re: CY8CKIT-014 General Purpose Push Button Switch

Fix posted on 24 Sep 2013 08:54 AM PST
Top Contributor
21 Forum Posts
yes i know. i don't use special functions (I didn't do anything, just pin mapping). so how do i know if special function is active or gets it active as soon as i place the component in my drawing? the only difference between the used pins is that they have different functions when not GPIO.

Re: CY8CKIT-014 General Purpose Push Button Switch

Fix posted on 24 Sep 2013 08:58 AM PST
Top Contributor
21 Forum Posts
they work as GPIO but different. P1.2 (SW1) works with resistive pullup and other tested (SW2) only with resistive pulldown, don't know why, since the Switch shortens to ground when pressed.

Re: CY8CKIT-014 General Purpose Push Button Switch

Bob Marlowe posted on 24 Sep 2013 10:53 AM PST
Top Contributor
3950 Forum Posts
Will you please post your complete project (File->Create Workspace Bundle) so that we all can have a look at?

Bob

Re: CY8CKIT-014 General Purpose Push Button Switch

hli posted on 24 Sep 2013 02:12 PM PST
Top Contributor
1588 Forum Posts

When you define the pins in thw design wide resources, you get shown what special functions are on a pin. Also, the CyFitter process (which does all the internal routing) tells you when you use a pins reseved for special function. And if there is a conflict it tells you so...






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: KXP; Secondary Owner: VWA; Sunset Date: 06/15/20