cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC™ 4

GiSe_3918726
New Contributor

Hi,

I'm developing an electronic board with CY8C4126AZI-S455. I would use Watchdog to generate an interrupt every 10ms witch will used as tick for a time scheduler.

In past i have used this code https://community.cypress.com/message/145533 for a BLE module but it doesn't work for this microcontroller.

Can someone help me to generate a 10ms interrupt through Watchdog Timer for CY8C4126AZI-S455 microcontroller?

Thanks in advance

Gianluca

0 Likes
1 Solution
Hari
Moderator
Moderator

Hi GiSe_3918726

You can refer CE210292 which is a WDT code example for your reference. This generates an interrupt every 500ms and can be modified according to your requirement. I am also attaching a sample code that I modified from this CE to generate a 10 ms WDT interrupt event.

Please do try this out and let us know if it meets your requirement.


Thanks,

Hari

View solution in original post

2 Replies
Hari
Moderator
Moderator

Hi GiSe_3918726

You can refer CE210292 which is a WDT code example for your reference. This generates an interrupt every 500ms and can be modified according to your requirement. I am also attaching a sample code that I modified from this CE to generate a 10 ms WDT interrupt event.

Please do try this out and let us know if it meets your requirement.


Thanks,

Hari

View solution in original post

GiSe_3918726
New Contributor

Hi Hari,

your project works!

Thank you very much

Gianluca

0 Likes