32-bit timer using two 16-bit timers on PSoC4100S Plus

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

cross mob
lock attach
Attachments are accessible only for community members.
PrSo_4458906
Level 1
Level 1
Code Expert

Summary - This example shows how to form a 32-bit timer using two 16-bit TCPWM components.

This project was tested on CY8CKIT-149 board which contains PSoC 4100S Plus device on it. In this project, 'ov' (overflow) output of Timer_1 is connected to 'count' input of Timer_2. Clock connected for both the timers is the same. In this project, it is configured in such a way that Timer_1 and Timer_2 are started upon a button press. Once 32-bit timer count is completed an LED glows to indicate completion of a successful 32-bit timer count.

Hardware Required - CY8CKIT-149 kit with PSoC4100S Plus

Software Required - PSoC Creator 4.2

PSoC Creator project and a screenshot of Top design are attached.

0 Likes
1 Reply
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

Hi,

Thanks for the effort you have taken in developing the project and sharing it with the community. We appreciate this.

Best Regards,
Vasanth

0 Likes