Hi,
I'm evaluating DA14585 now.
And I'm looking for a Sample Program which moves to Sleep Mode automatically during no communication.
Is there any recommended sample for this?
它会更好,如果easi才能被检验ly in order to estimate the actual current consumption.
Thank you.
Device:
Hi kotaromatsukubo,
Please check out the ble_app_sleepmode example of the SDK. This example is located under \6.0.14.1114\projects\target_apps\ble_examples SDK path. The device will start advertising and if it is not connected, then it will go into permanent sleep mode after a predefined amount of time. After that, only an external event (GPIO trigger) will wake it up via the wake up controller.
You can take a look at theDA14585/586 Button Press with Wakeup from SleepSW example.
Thanks, PM_Dialog
I really appreciate your kind support.
I found that example and I could refer as I wanted to.
It seems I should get DA14585 Development Kit Pro to measure the current consumption under Sleep Mode.
So I will buy it for now. And I will ask again if there is something problem.
Thank you for your prompt support.
Hi kotaromatsukubo,
Thanks for accepting my answer. If you have any other question, please raise a new forum ticket.
Thanks, PM_Dialog
Hello again,
I have just prepared the Dialog Development Kit Pro with DA14585 now.
And now I'm testing sample program the ble_app_sleepmode of SDK as you recommended.
Then, It seems that the program stops Advertising after 30sec.
But I want to keep it advertizing in Sleepmode.
I really appreciate it if you could teach me how to modify or change the program for that purpose.
I'm sorry I'm not good at software development. But I need to test before my development project starts.
So I want to find the most easiest way to estimate the current measurement of every low power modes with Advertising.
Thank you.
Hi kotaromatsukubo,
The ble_app_sleepmode example of the SDK is using a timer to stop the advertising after a predefined amount of time and the chips is sleeping permanently. If you use the ble_app_peripheral project, you will see that extended sleep mode is enable - app_default_sleep_mode = ARCH_EXT_SLEEP_ON; in user_config.h.
This means that the system will sleep between advertising or connection interval and wakes up via a BLE Timer automatically.
Keep in mind that when the device is in any of the sleep modes, all the peripheral domains are powered down.
Thanks, PM_Dialog
Hi,
Thank you so much for your navigation & help.
So, When the device is in any of the sleep modes, it doesn't be advertising while its period?
I just want to make the device in low power comsumption mode as lower as possible while it is not connected. But I need to keep the device advertising all the time because I don't know when the smartphone(Central Device) would try connecting to Peripheral(DA14585).
In that case, is there any recommendable way or software to set the device?
I'm sorry if I misunderstand what you expressed.
Thank you.
Hi kotaromatsukubo,
>>>So, When the device is in any of the sleep modes, it doesn't be advertising while its period?
It can advertise but it goes to sleep between advertising intervals
Just use the suggested example and the device will sleep between adverting or connection intervals. You can connect t with your smart phone too.
Thanks, PM_Dialog