CY8C5858AXI-LP035 Capture speed of Counter(UDB)

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

cross mob
MiNe_85951
Level 7
Level 7
Distributor - TED (Japan)
50 likes received 500 replies posted 50 solutions authored

Hi,

We would like to confirm the Counter component for UDB mode.

(1)

When the interrupt condition is "On_Capture",

How long is the interrupt output pin delayed after the capture edge is met?

(2)

How long is the response time of the Counter_ReadCapture() API?

PSoC5LP Capture timing of Counter(UDBmode)

We have synchronized digital circuits according to related articles in the past.

(a) Count by Counter component
(b) Capture the result by Capture edge input
(c) Capture asynchronously by software (Because to avoid metastability from the above link)
(d) Reading counter value in API

It is processed by the above-mentioned flow.

In the case of high-speed counting, the count value may shift infrequently.

Capture is metastable,

The firmware is reading asynchronously while counting,

I am getting count value during capture,

We do not know which of the above is the problem,

Count => Capture => Read count value

We would like to do the above series of processing.
However, can this counter component not be realized if synchronized?

Do you know the best way?

Regards,

0 Likes
2 Replies
Ekta_N
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

Hello,

To measure the response time of the Counter_ReadCapture() API, you can toggle a digital output pin before and after the API is used. You can then use an oscilloscope to measure the time in between.

"In the case of high-speed counting, the count value may shift infrequently" , Can you tell what count values you are getting at the output.

Thanks

Ekta

0 Likes
Takashi_M
Moderator
Moderator
Moderator
1000 replies posted 500 solutions authored 750 replies posted

Since this thread has not been responded for long time, this has been locked at this time due to tracking issue appropriately.

It would be appreciated if you post the new thread for further discussion.

Thank you very much for your comprehension for this.

0 Likes