RTC in CYBT-413055-02

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
daba_4649501
Level 3
Level 3
10 replies posted 5 replies posted 5 questions asked

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.

0 Likes
1 Solution

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

View solution in original post

0 Likes
6 Replies