Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > What is the length of FX3 timer tick in miliseconds ? CyU3PThreadSleep

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



What is the length of FX3 timer tick in miliseconds ? CyU3PThreadSleep
Moderator:
RSKV

Post Reply
Follow this topic



What is the length of FX3 timer tick in miliseconds ? CyU3PThreadSleep

Vytautas2 posted on 05 Jan 2012 1:44 AM PST
Top Contributor
36 Forum Posts

Hi,

What is the length of FX3 timer tick in miliseconds ? 10ms ? Is this length configurable ? How ?

Is it possible to have, for example 1ms or shorter tick in order to do sleep (CyU3PThreadSleep) for 1ms instead of 10ms ?

What is the accuracy of CyU3PThreadSleep and software timers ? That is, exactly 10ms, 1ms or may happen that actual sleep will be a bit shorter or longer depending on, for example, priorities of threads or any other parameters ?

Thanks.

 




Re: What is the length of FX3 timer tick in miliseconds ? CyU3PThreadSleep

aasi posted on 06 Jan 2012 03:08 AM PST
Cypress Employee
1073 Forum Posts

It is 1ms with a accuracy of 4%. We cannot go below 1ms.

It is possible to change it but the change or its limitation hasn't been tested so I wouldn't recommend changing it.

Please let me know the reason why you would want to change it when you can specify the timing in terms of number of timer ticks for achieving higher values.

Regards,

Anand



Re: What is the length of FX3 timer tick in miliseconds ? CyU3PThreadSleep

Vytautas2 posted on 06 Jan 2012 05:35 AM PST
Top Contributor
36 Forum Posts

 Thanks. 1 ms is ok.






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.