Time Stamp function in CX3 platform

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

cross mob
Anonymous
Not applicable

I am trying to include a time stamp in my code using CySysTickGetValue() function for CX3 platform (SDK version 1.3.3) to find the time taken for a particular event to happen. I tried adding CyLib.h and CyLib.c files as well as the SysTimer.h and SysTimer.c files to the project as was discussed in the following forum links:

   

http://korea.cypress.com/forum/psoc-4-ble/how-get-systick-value

   

http://korea.cypress.com/forum/psoc-community-components/systimers-component?page=1

   

 

   

 Yet, the functions CySysTickGetValue() and CySysTickEnable() seem to be inaccessible. How can I get around the problem?

0 Likes
1 Solution
KandlaguntaR_36
Moderator
Moderator
Moderator
25 solutions authored 10 solutions authored 5 solutions authored

Hello,

The two links you have mentioned are related to PSOC silicon.

In CX3/FX3 applications, you need to use CyU3PGetTime API to get the time stamp.

Please refer FX3 API Guide for the api usage - which is located in default SDK (C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\doc\firmware)

Regards,

Sridhar

View solution in original post

0 Likes
1 Reply
KandlaguntaR_36
Moderator
Moderator
Moderator
25 solutions authored 10 solutions authored 5 solutions authored

Hello,

The two links you have mentioned are related to PSOC silicon.

In CX3/FX3 applications, you need to use CyU3PGetTime API to get the time stamp.

Please refer FX3 API Guide for the api usage - which is located in default SDK (C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\doc\firmware)

Regards,

Sridhar

0 Likes