I am trying to measure frequency of a gpio pin.
I am using the code from the below thread -
I did modify it to be suitable with the new SDK V17.
//The mode 1 was depcrecated so I am using the below modes. NRF_TIMER1->MODE = 0; // Timer mode NRF_TIMER2->MODE = 2; // Low power counter mode
I have added the custom ble service / characteristic tutorial code along with this.
When I run the code on debug mode, it goes to app_error_weak.c
I am not sure why this is happening. I tried to create break points but I am unsure from where this is being triggered.
However, the BLE service runs fine. It does not stop or create issues.
I am a bit new to SoftDevice. May I know where am I going wrong?