Count the TCPWM counter of PSoC6 at the Dual edge of the clock

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

cross mob
TeMa_2997106
Level 6
Level 6
Distributor - TED (Japan)
10 likes received 10 solutions authored 250 replies posted

I want to count at both edges of the clock with TCPWM as a counter. Can this be implemented?

Thanks,
Tetsuo

0 Likes
1 Solution
Alakananda_BG
Moderator
Moderator
Moderator
50 likes received 250 sign-ins 250 replies posted

Hi @TeMa_2997106 ,

Yes, you can use an interrupt on both edges and increment a counter in ISR.

Regards,

 

Alakananda

View solution in original post

0 Likes
1 Reply
Alakananda_BG
Moderator
Moderator
Moderator
50 likes received 250 sign-ins 250 replies posted

Hi @TeMa_2997106 ,

Yes, you can use an interrupt on both edges and increment a counter in ISR.

Regards,

 

Alakananda
0 Likes