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

Implementing nrf51 timer example with mbed

Hi everyone,

I am using the PCA10001 eval board and I have been able to get things up and running using the mbed platform but now I am implementing a timer based interrupt for that I was using a ticker. But detaching and reattaching the ticker results in the ticker not working properly. My time for calling the interrupt is 1ms.

Facing issues with the ticker I want to use the nrf51 timer1 or 2. I ran the example code here github.com/.../main.c

It compiles with no errors but nothing happens. Any ideas on what I could be doing wrong.

Plus I thought that may be there were issues because of compiling with mbed so I tried using keil 5 but since the project is in keil uvision 4 format it doesn't build. Any ideas on how to get that working.

Related