Hi!
I'm trying to implement a low power peripheral based on the security example (I need bonding), so I'm thinking about working on putting the unit is sleep mode at variable time (depending on the situation) using a USB Development Kit.
I tried with the easy timer and RTC interrupt but both the callback functions are not invoked. Is there something that could prevent the timer to run and the RTC interrupt to fire?
Thank you.
Keywords:
Device:
Ok, I need to read the documentation more...
I just found out reading the SDK 6 peripheral drive documentation (http://lpccs-docs.dialog-semiconductor.com/da145xx_tutorial_sdk6_periphe...) that the power domain of the RTC is disabled by default. I did that and now the RTC callback is invoked. Good.
And I also found out that a timer can't be started in the user_on_init callback, as the kernek has not started yet at that point (http://lpccs-docs.dialog-semiconductor.com/da145xx_tutorial_sdk6_periphe...), but it can be started in a user_on_set_dev_config_complete function.
Did that, and the easy timer is working as expected. Twice as good.
So, ask a question and give yourself the answer!
I must say that the DA14531 is a quite versatile module, but documentation is kind of scattered, and requires a long time to find answers.
Well, I hope my ignorance helped!
Hi paolog,
Thanks for your question online and for your interest in our TINY Module BLE solution.
I would recommend you checking theDA14531 Sleep Mode Tutorial (HTML), as it provides useful information about the different sleep modes in DA14531 and how to configure it too.
There are also SDK and SW Example that demonstrate how to configure the system in the available sleep modes.
SW Examples :
DA14531 BLE Eddystone beacon with Hibernation Or Deep Sleep Mode
DA14531 Configuring To hibernation mode
Both can be found in DA14531 product page :
//www.xmece.com/products/connectivity/bluetooth-low-energy/products/da14530-and-da14531
SDK Examples:
6.0.14.1114\projects\target_apps\ble_examples\ble_app_sleepmode
6.0.14.1114\projects\target_apps\ble_examples\prox_reporter\Keil_5
Thanks, PM_Dialog
Thank you.