RTC 1 cannot be enable (errors with app_timer.c): Trying to resolve RTC errors
Using windows 10 OS, and SES v5.40.
I am using nRF52833 device in my project along with nRF5_SDK_for_Thread_and Zigbee_v4.1.0_32ce5f8 SDK. There is RTC0 enabled and RTC1 and RTC2 disabled at present (somewhere in code it is mentioned RTC0 for soft device and RTC1 for app_timer.c library so trying to invoke RTC1).
Now, I tried to enable RTC1(present in sdk_config.c) but it throws error
And also I can see that there are no handlers for RTC0 and also for RTC 2, and if I comment this RTC1_IRQHandler function part the project builds.
- Where is this function linking to?
- It is not been called anywhere in the entire project
- Is that function not actually required?
- Or it is referring to some other library file?
I tried to do something that is mentioned in this link but that doesn’t help(RTC1 handler issue) - https://devzone.nordicsemi.com/f/nordic-q-a/54713/beacon-and-rtc-combination-errors
And related to RTC 2:
I saw in some development zone link that says things worked with RTC2 well when compared to RTC1.
If I try to enable RTC2 I get this error. And it is again related to RTC2_IRQHandler in alarm.c.