How can I use the WDT0 to generation a interrupt for CY8C4147AZI_S455,could you give me a code example?

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

cross mob
lola_1650581
Level 3
Level 3
First like received

Hi All:

    How can I use the WDT0 to generation a interrupt for CY8C4147AZI_S455,could you give me a code example?

0 Likes
1 Solution

Hello,

You can refer to the attached project. (Change the device in device selector)

Also, refer to http://www.cypress.com/documentation/component-datasheets/psoc-4-low-frequency-clock-cylfclk-version...

Thanks,
Shanmathi

View solution in original post

0 Likes
3 Replies

Hi VRS:

    I think the CY8C4147AZI_S455 architecture is different from what you give .For CY8C4147AZI_S455 ,WDT0 is a additional timer.Show as bellow:

pastedImage_3.png

pastedImage_4.png

  If I want to use the watchdog timer for against system crashes and the WDT0 for a periodic interrupt How should I configure the WDT0 ? Both the watchdog timer and the WDT0 used the same interrupt vector?

0 Likes

Hello,

You can refer to the attached project. (Change the device in device selector)

Also, refer to http://www.cypress.com/documentation/component-datasheets/psoc-4-low-frequency-clock-cylfclk-version...

Thanks,
Shanmathi

0 Likes