Announcements

Equip yourself to optimize PSoc4 MCUs for Evs at the EV Webinar. Click here to register.

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

PSoC™ 4 Forum Discussions

DaHu_285096
Level 5
Level 5
10 likes received 250 replies posted 100 replies posted

I have a project on PSOC 4200 that goes to deepsleep and wakes up on a pin interrupt at the moment.

However, I now want to have a LED blink periodically and not depend on waiting for hardware interrupt.

I looked at some examples online and am a bit confused how to set up the watchdog time in the 4200 project. Do I need to use the Global Interrupt source? or is the watchdog just set up in code?

Where do I set the period (I will need around 600ms to 1 second period)

Thanks

0 Likes
1 Solution
RyanZhao
Moderator
Moderator
Moderator
750 replies posted 100 sign-ins 100 likes received

Hi David,

Global Interrupt source is required.

Here is an example about how to use PSoC4200 WDT to wake up the chip from deep sleep. FYI.

Thanks,

Ryan

View solution in original post

0 Likes
2 Replies
RyanZhao
Moderator
Moderator
Moderator
750 replies posted 100 sign-ins 100 likes received

Hi David,

Global Interrupt source is required.

Here is an example about how to use PSoC4200 WDT to wake up the chip from deep sleep. FYI.

Thanks,

Ryan

0 Likes

Thanks, that is very helpful

0 Likes