- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
i am using CYBT-413055-02 bluetooth module and i was wondering whether the module has the internal RTC or not.
i can able to find the API calls in the stack in rtc.h. if RTC can be configured please provide a test code.
regards,
Danny.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi daba_4649501 ,
Thanks for your patience.
Seems like you have to configure rtcConfig in the application before rtc init
rtcConfig.rtcRefClock = RTC_REF_CLOCK_SRC_32KHZ;
rtcConfig.oscillatorFrequencykHz = RTC_REF_CLOCK_SRC_32KHZ;
However to avoid undefined reference error, please include the below line to C:\Users\anpm\ModusToolbox_2.1\wiced_btsdk\dev-kit\baselib\20719B2\internal\20719B2\patches\patch.sym
rtcConfig = 0x201b21;
From next BTSDK version, this will be added in the patch symbols by default. Sorry for the inconvenience.
Please make this change and clean and build both wiced_btsdk and application .
This should work.
Regards,
Anjana