Hi, can anyone explain to me about this example in this link with details : github.com/.../main.c I'm a newbie in nordic and i found it difficult to understand this example. Kindly assist and reply asap. Thanks!
Hi, can anyone explain to me about this example in this link with details : github.com/.../main.c I'm a newbie in nordic and i found it difficult to understand this example. Kindly assist and reply asap. Thanks!
Indeed - it is difficult to assist when it's not clear what assistance you require!
You say you are "a newbie in nordic" - do you have any prior programming experience at all? Do you have any prior experience with microcontrollers?
You cannot get 100us accurately. Since the resolution of the RTC with prescaler 0 is 30.517us, the closest number would be 91.55us. To get 100us accurately, you have to use the TIMER peripheral that is able to run at 16MHz, however this will draw a lot more power (~250uA+ from crystal). To change to RTC1 susbstitute RTC0 by RTC1.
You cannot get 100us accurately. Since the resolution of the RTC with prescaler 0 is 30.517us, the closest number would be 91.55us. To get 100us accurately, you have to use the TIMER peripheral that is able to run at 16MHz, however this will draw a lot more power (~250uA+ from crystal). To change to RTC1 susbstitute RTC0 by RTC1.