I changed the rtc example in the sdk 11 to work on RTC2 but it is not working.RTC1 works fine when I made the same changes
I changed the rtc example in the sdk 11 to work on RTC2 but it is not working.RTC1 works fine when I made the same changes
What board are you using (pca10036 or pca10040), and can you list the changes you did?
I can try to reproduce the behaviour here.
...and can you list the changes you did?
In nrf_drv_config.h I changed RTC2_ENABLED 0 to RTC2_ENABLED 1,changed RTC_CONFIG_FREQUENCY 32768 TO 8Hz ,changed NRF_DRV_RTC_INSTANCE to 2.
Hi,
The IC revision of the nRF52832 on the PCA10036 is Engineering A, for which RTC2 is not functional:
nRF52832 Engineering A Errata v1.1: [10] RTC: RTC2 is not functional
This anomaly has been fixed, and RTC2 is only non-functional on this first engineering revision of the IC.
Regards, Terje