Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 10 months ago.
nrf51_rtc and BLE_API
Hi,
I am trying to build a sort of Smartwatch using a BLE Nano (contains an nRF51). I am using both the BLE_API and nrf51_rtc.
At startup, the phone sends its timestamp to the BLE Nano for initializing the RTC. This works fine and I see the correct time displayed on the external SPI LCD.
After that, I am sending a message via BLE from my phone to the device. A bluetooth callback is made, displaying the message on the LCD display, and then I go back to my "watch" mode where I call rtc.time().
At that point, the rtc seems to "jump" for about 10 to 15 minutes in the future.
Have you tried using both BLE_API and your lib in the same program ?
Do you have any idea why this is happening and if I can try something to fix it ?