This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

S212 ANT+ examples Timer problem

Hi,

I am trying to implement application timer to ant+ examples in SDK15.2. I used application timer tutorial here on devzone. The project builds fine, but when i run it on debugger, I can see that that timeout handler does not run. I added breakpoints to the code in timeout handler and also in the part of code where app_timer_create() and app_timer_start() is called and I can see that debugger stops on lines app_timer_create/app_timer_start() but does not stop on breakpoint in timeout handler, which means that timeout handler does not run through. Timer is configured in repeated mode. So any idea what should be happening wrong? 

Thanks

Pepam

Parents Reply
  • Hi, 

    I tried use app_timer in ant bpwr tx project in SDK15.3. and it worked. Timeout handler was called every time it expired. I checked if there are some differences between config.h files in sdk15.2. and sdk15.3. but they were the same. I also tried download "clear" sdk15.2. again in order to work with not modified sdk and again, app_timer didn't work - timeout handler wasn't called when it expired. In "clear" sdk15.2. I add timer in the same way as it was in sdk15.3. where it worked. So I think there should be some issue in app_timer library when using with s212 v5.0.0.. Please, can you try add simple repeated timer with its handler to ant bpwr tx project in sdk15.2. with s212 v5.0.0. to see, if there is some bug or if I am wrong? 

    Thanks a lot

    Pepam

Children
No Data
Related