Part Number: CC1352P
Hello,
Is there example code for the RTC in the SDK for the CC1352 that I'm not seeing? I did a file search in the directories and I found a hal wrapper which is great. It's nice to see code that can talk to the hardware registers. I have two questions that come out of that.
1) Does the nonRTOS code examples (using the CC1352P development kit as a reference) start the RTC and take over any of it? I know the RTOS versions definitely will and it's hard to look through the code when the project won't even recognize that the SDK files even exist until I debug or search them on my hard drive (ie. "open declaration" takes you nowhere or just to a header file).
2) Has there ever been example code posted that would show me how to make the board sleep for an hour before waking up to do my tasks and then go back to sleep, but never re-write the RTC registers which would create skew in the 1-hour timing which would only get worse over days? I'm hoping that setting the RTC channel compare values is a one time thing and it auto-loops but I am totally new to this chip and looking for reassurance.
EDIT: Also, I don't see anything that can be added for RTC in the syscfg. Is everyone just on their own with this and have to add things manually by searching the wrapper functions and picking the right ones?
Thank you!
Michael