Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 5 > Frequency measurement using a counter in PSoC 5

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



Frequency measurement using a counter in PSoC 5
Moderator:
ANCY

Post Reply
Follow this topic



Frequency measurement using a counter in PSoC 5

Maduna posted on 19 Dec 2011 12:37 AM PST
Top Contributor
38 Forum Posts

Hi Folks

 

I'm doing a frequency measuremenst using the PSoC5 with a counter. Could someone help me with the example code for this. I've tried the  EP64441 and having problems with it. It gives me the error code.

The command 'arm-none-eabi-gcc.exe' failed with exit code '1'.

Regards




Re: Frequency measurement using a counter in PSoC 5

Bob Marlowe posted on 19 Dec 2011 03:50 AM PST
Top Contributor
1768 Forum Posts

Probably you made a typo in your program, this error usually is not the only one, check and correct any errors before (above) this one.

Bob



Re: Frequency measurement using a counter in PSoC 5

Gautam Das posted on 19 Dec 2011 04:21 AM PST
Cypress Employee
742 Forum Posts

I have attached a project which builds fine when the device selected is PSoC5.

Let us know if there is any error when building the same at your end.

 

I have used PSoC Creator 2.0 (2.0.0.828).



Re: Frequency measurement using a counter in PSoC 5

Gautam Das posted on 19 Dec 2011 04:25 AM PST
Cypress Employee
742 Forum Posts

The relevant document is also attached.



Re: Frequency measurement using a counter in PSoC 5

Maduna posted on 28 Dec 2011 07:05 AM PST
Top Contributor
38 Forum Posts

The project is giving me clock related problems. will forward them



Re: Frequency measurement using a counter in PSoC 5

Gautam Das posted on 28 Dec 2011 08:11 AM PST
Cypress Employee
742 Forum Posts

Hi Maduna,

 

If you are unable to upload the project, you can mail it to me ( dasg@cypress.com ).



Re: Frequency measurement using a counter in PSoC 5

YVRAO posted on 09 Jan 2013 04:38 AM PST
Top Contributor
56 Forum Posts

 i want counter program for rpm measurement



Re: Frequency measurement using a counter in PSoC 5

danaaknight posted on 09 Jan 2013 04:54 AM PST
Top Contributor
1773 Forum Posts

This might help -

 

http://www.cypress.com/?docID=33528

 

and

 

http://www.cypress.com/?app=forum&id=2232&rID=53631

 

Regards, Dana.



Re: Frequency measurement using a counter in PSoC 5

danaaknight posted on 09 Jan 2013 04:56 AM PST
Top Contributor
1773 Forum Posts

Depending on what you are doing, measurement goals, accuracy,

attached useful references.

 

Regards, Dana.

 



Re: Frequency measurement using a counter in PSoC 5

YVRAO posted on 09 Jan 2013 06:09 PM PST
Top Contributor
56 Forum Posts

 PULSE COUNTNG FOR 1SEC COUNTER USING 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