Reduce the current consumption in DSPS project

⚠️
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.
12 posts / 0 new
Last post
jackiechau
Offline
Last seen:3 years 7 months ago
Joined:2016-01-15 01:32
Reduce the current consumption in DSPS project

Hi,

我用dsp 3.150.2起来。祝福的平均电流is about 90-100uA. Under some conditions, I would like to switch off the radio and stop BLE broadcast to reduce the current consumption as much as possible, how to achieve it?

Also, ext_sleep is used in current project, I would like to know whether it's feasible to change to deep_sleep at run time, please kindly advise, thanks.

Device:
Qinjiny_Dialog
Offline
Last seen:1 month 2 weeks ago
Staff
Joined:2016-11-01 05:47
Hi, Jakiechau
Hi, Jakiechau

As MT_Dialog said in other related posts, there is no API to stop any BLE activity and set the device in permanent sleep with async interrupts like a button push or somthing, you have to explictly stop the on going BLE operation with the proper message and then set the device to sleep.

The DSPS isn't tested or supported to go into deep sleep mode, apart from that the deep sleep mode demands to burn to OTP, the reason for that is because in order to achieve minimum power consumption when going to deep sleep the 580 switches off the sysram. Since the sysram between the intervals (advertising or connection) isn't on, the code in the sysram isn't retained, so it is copied from the OTP.

chris0409
Offline
Last seen:4 years 1 week ago
Joined:2017-01-11 05:59
I get about 3uA on the DSPS

我大约3 ua需求方的项目当它空闲

jackiechau
Offline
Last seen:3 years 7 months ago
Joined:2016-01-15 01:32
Hi Chris,

Hi Chris,

How do you get it? Is BLE operation stopped? How about the current consumption when BLE wakes up and sends beacon? Thanks.

jackiechau
Offline
Last seen:3 years 7 months ago
Joined:2016-01-15 01:32
Hi Qinjiny_Dialog,

Hi Qinjiny_Dialog,
There's app_adv_start and app_adv_stop in SDK 3.15, but when app_adv_stop was issued, 800uA current was gained. Wasn't it the proper way to stop BLE operation? Thanks.

jackiechau
Offline
Last seen:3 years 7 months ago
Joined:2016-01-15 01:32
Understood, then let us focus

Understood, then let us focus on ext sleep mode. I have remarked all app_adv_start() in DSPS project and observed there's only a burst current at each 10s,. Refer to other posts, it should be related to SLEEP_DURATION_EXTERNAL_WAKEUP. But in 3.150.2, MAX_SLEEP_DURATION_EXTERNAL_WAKEUP is related to deep sleep mode, how can I change the duration of this 10s wake up?

After remarking app_adv_start(), there shouldn't be any BLE activity but the current consumption is still 90uA.

If app_ble_ext_wakeup_on() is invoked to let BLE enter into permanent sleep, no more burst current can be observed but the current consumption is still 90uA. Please kindly advise.

I'm using Smart Snippets v3.9 to download firmware generated by Keil v5.17 into 14583 via JTAG, is my problem similar to this posthttps://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bl...?

Note: External power supply is used and set as 3.0 v.

jackiechau
Offline
Last seen:3 years 7 months ago
Joined:2016-01-15 01:32
I have upload .hex for 14583,

I have uploaded .hex for 14583, all GPIO are set as input ports except those GPIO connecting to embedded flash, please help to verify whether it can enter into permanent sleep and what the current consumption is, thanks.

Attachment:
chris0409
Offline
Last seen:4 years 1 week ago
Joined:2017-01-11 05:59
Hi, jackiechau,

Hi, jackiechau,
it's about 5mA when BLE wakes up and do a scan. Does your sleep mode setting right and you need to flash the code to the spi flash or the e2prom. currently, the device is wakeup by a external interrupt.

jackiechau
Offline
Last seen:3 years 7 months ago
Joined:2016-01-15 01:32
Hi Chris,

Hi Chris,
My code is run in flash. I haven't measured current at idle time or wake up time. I just measure the average current of whole operating cycle. I set the sleep mode to ext sleep and think the current consumption should be correct. What I want to do is try to reduce the current as much as possible under some conditions. I would like try to stop beacon at that time.

chris0409
Offline
Last seen:4 years 1 week ago
Joined:2017-01-11 05:59
maybe you should plot the

maybe you should plot the current and you can check the radio activity

jackiechau
Offline
Last seen:3 years 7 months ago
Joined:2016-01-15 01:32
Hi Chris,

Hi Chris,

I have stopped beacon and current consumption is always 90uA.

1. Are you using 14583?
2. Are you using the DSPS project?

Thanks.

chris0409
Offline
Last seen:4 years 1 week ago
Joined:2017-01-11 05:59
1、 14580 2、 DSPS-host project

1、 14580
2、 DSPS-host project