cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

JiMi_3706716
New Contributor II

Hello,

I am trying to use the psoc 4 mcu as a timer that switches a GPIO between high (20 minutes) and low (10 minutes) states. I want the mcu to be in deepsleep most of the time and just toggle the GPIO every 20 / 10 minutes.

How can I do this and is there some sample code to refer to?

 

Thanks

 

0 Likes
1 Solution
Marshal_Zhang
New Contributor II

PSOC Creator IDE -->  File  -->  Code Example,   Search  "systick".

The systick timer is based on the ILO clock and works in deep sleep mode.

View solution in original post

0 Likes
1 Reply
Marshal_Zhang
New Contributor II

PSOC Creator IDE -->  File  -->  Code Example,   Search  "systick".

The systick timer is based on the ILO clock and works in deep sleep mode.

View solution in original post

0 Likes