⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
2 posts / 0 new
Last post
KGanesh
Offline
Last seen:2 years 5 months ago
加入:2018-10-24 03:33
BLE smart band

Hi Team,

I want to check the possible sleep mode in DA14580 EVKT pro board.
For this i using the example ble_app_sleepmode project directly .In this Deep Sleep mode and 10sec sleep duration are set by default and I am not using ant external host /external wake up .
I am not changed any thing on this ble_app_sleepmode example project. Once the Project is downloaded in DA14580 board, i was chacked DropOut power.Its not reduced in smart snippet tool.
Always it show 2.9 mA as power.Its look ,DA is not going to Deep sleep mode.

First i need to check with out external host.

For Deep sleep mode,Is any code modification need to be done in example ble_app_sleepmode project?
(I am using example sleep mode project as it provied by DA portel and keil uVersion 5.2 )
Other wise If any other different way is used for Measure the current in DA14580 EVKT board is possible?

Please Provide Your support on this.

Device:
PM_Dialog
Offline
Last seen:1 day 7 hours ago
工作人员
加入:2018-02-08 11:03
Hi KGanesh,

HiKGanesh,

There are two types of sleep available in DA1458x devices, the first is the extended sleep mode and the second one is the deep sleep mode. In extended sleep mode only the System RAM and the Retention Ram remain power on, but in deep sleep mode only the Retention Ram is power on and the System Ram is power off. For the deep sleep configuration is essential to use the OTP, since in every wake up the code is mirrored from the OTP to the System RAM and the device continues from where it has gone to sleep. The wake up procedure in DA1458x is independent on the sleep mode configuration, and there are two types of waking the device up.

  • Synchronously, via the BLE timer which can be programmed to wake up the system
  • Asynchronously, via an external interrupt (ble_app_sleepmode example of the SDK)

In ble_app_sleepmode example of the SDK, the device advertises for a defined amount of time (APP_ADV_DATA_UPDATE_TO), default value is 10 seconds. As long as the device is in the advertising state its sleep mode is set to deep sleep. The user can wake up the device by pressing a button. After the button press the device will start to advertise again for the predefined time. When the device enters the connected state then the sleep mode is turned to extended sleep. Also, be aware that the chip goes into sleep between advertising or connection intervals. In this example, there is no need of burning the OTP, because the example is in debug mode (#define CFG_DEVELOPMENT_DEBUG), so it is allowed to run application in deep sleep mode. In order to measure the current of sleep mode, you should you an amperemeter. Please check theTutorial 4 : configuring sleep mode on DA1458xfrom our support page. In this tutorial you can find how to configure and measure the sleep mode current. Also, I strongly suggest you to readPillar 5 (Sleep Mode)of theUM-B-050 : DA1458x Software Developers Guide (SDK5)user manual in order to get more information about the ble_app_sleepmode example. This user manual might help you to understand the example of the SDK and how the SDK is working.

Thanks, PM_Dialog