PSoC 4100S Plus - Watchdog Timer Interrupt - CY8C4126AZI-S455

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

cross mob
GiSe_3918726
Level 1
Level 1
First question asked First reply posted Welcome!

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
lock attach
Attachments are accessible only for community members.
Hari
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

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
lock attach
Attachments are accessible only for community members.
Hari
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

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

Hi Hari,

your project works!

Thank you very much

Gianluca

0 Likes