cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4

urchc_1533771
New Contributor II

I try to run RTC many times. I have 2 same function for run as timer one RTC: Timer 1 and Timer 2.

   

When I run only 1 of it it`s work fine but if I run it one after one ( chain )  second timer not create interrupt to stop.

   

I tried to use 2 RTC but same result.

   

Attached code

0 Likes
1 Solution
rola_264706
Honored Contributor II

I am looking at your program and I am wondering why you are turning the clock on and off for each timer? That is unnecessary as you can just set another Alarm and wait for that to occur then trigger your interrupt.

View solution in original post

0 Likes
2 Replies
rola_264706
Honored Contributor II

I am looking at your program and I am wondering why you are turning the clock on and off for each timer? That is unnecessary as you can just set another Alarm and wait for that to occur then trigger your interrupt.

View solution in original post

0 Likes
urchc_1533771
New Contributor II

I`m just used  "RTC_P4_WDT_Example" , if you have example you talk about or you can change my code to make it work I`l appreciate it .

0 Likes