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

Issue with TIMER in soft device S132

Dear Sir,

I  am new to Nordic. This is my first query. It is related to running Timer with softdevice. I am using TIMER1 ( as const nrf_drv_timer_t TIMER_LED = NRF_DRV_TIMER_INSTANCE(1);)

I could run the application in the <SDK>\examples\peripheral\timer successfully. Here I have used  the  following

uint32_t time_ms = 1*60*1000;

This corresponds to 1 minute(60seconds).

It works fine without softdevice.

By actual code is along with softdevice. So I tried to use the same code there with the soft device.

Here I was expecting the  'timer_led_event_handler()' to be called every 1 minute(60 secoonds)

Here the  interrupt handler is getting called, but it is called at  faster rate ( not in every 1 minute). .

Is it some issue related to clock configuration?

Anyone , Please let me know what/where I went wrong?

Thank you.

Parents Reply Children
Related