DSPS source code with sleep mode issues!

9 posts / 0 new
Last post
bluetoothdev
Offline
Last seen:5 years 10 months ago
加入:2015-02-12 07:11
DSPS source code with sleep mode issues!

Hi Dialog team,

I am working on DSPS source code and i saw it seems support extend sleep mode but when I tested with a voltage -metter then i find out that there is nothing change in current values when i have connection events . Even though, i have already defined CFG_EXT_SLEEP flag ! I do hope you all could help me to clarify this problem! How I could modify DSPS source code to test sleep modes (include deep & extend)

Regards,

Bluetoothdev

Device:
Joacimwe
Offline
Last seen:1 year 5 months ago
Guru
加入:2014-01-14 06:45
Well, sleep mode is only

Well, sleep mode is only possiblebetweenconnection events. If you have connection interval of 100 ms, then you will see that the chip is active for a few ms. The rest of the time it sleeps and will then use about 0 mA.

bluetoothdev
Offline
Last seen:5 years 10 months ago
加入:2015-02-12 07:11
Hi Joacimwe,

Hi Joacimwe,

Thank you so much for reply. My testing result showed that my dev-board does not sleep at all. It always advertises and consumes about 20-21 mA. When I had connection events from my android device and do transfer data then it consumes 59-60 mA. So I did not see any interval that DA14580 entry to sleep mode! I am using Basic kit and I wonder is it possible to measure power consumption with Smart snippet tool? Any help will be appreciated !

Regards,

Blue.

bluetoothdev
Offline
Last seen:5 years 10 months ago
加入:2015-02-12 07:11
Could you all help me with

Could you all help me with this issue? Any reply will be greatly appreciated!

JE_Dialog
Offline
Last seen:2 weeks 4 days ago
Staff
加入:2013-12-05 14:02
Hi THere, its not possible to

Hi THere, its not possible to use smart snippets power profiler on the BASIC board... are you still having JTAG debug attached ?

BR JE_Dialog

bluetoothdev
Offline
Last seen:5 years 10 months ago
加入:2015-02-12 07:11
Hi JE,

Hi JE,

Thanks for your swift reply! Yes I have measured power consumption with JTAG debug attached. So is it result in accurate values? I have a scenario like that: My DSPS apppication will sleep most of time. And if there is any wakeup event like connection, data transfering (synchronous event) or key pressing ( external event) then it would be woken up. Could you guide me to edit source code for that?

Thanks,

Blue

JE_Dialog
Offline
Last seen:2 weeks 4 days ago
Staff
加入:2013-12-05 14:02
hi There, to test power

hi There, to test power consumption, you need to run w/o debugger since the device will not go into sleep modes with debugger attached and that is why you are seeing high values (you're probably also measing the debugger current also).

"For correct current measurements, the JTAG cable should never be connected to the board.
When connected, it will result in too high current consumption values. Also the Debug mode must be
disabled." AN-B-015 gives you a guide on how to measure the current. Whilst it shows EXPERT board, you can use the same techniques with the DMM to measure the effective sleep / extended sleep current : note that you need a DMM that is capabel to measure done to 6.5 digits ... BR JE_Dialog

bluetoothdev
Offline
Last seen:5 years 10 months ago
加入:2015-02-12 07:11
Hi JE,

Hi JE,

Thanks for your reply. Are you meaning that I should use power supply from 3V-battery? But when I use DMM to measure the current then where I could attach the DMM probes onto DA14580? And When i use a battery (I have already changed jumper J5 ) , It seems like my Dev-Kit does not work cause I didnt see any blinky LED. Could you tell me why?

Regard,

Blue

JE_Dialog
Offline
Last seen:2 weeks 4 days ago
Staff
加入:2013-12-05 14:02
Hi THere, you can use a bench

Hi THere, you can use a bench supply and put a DMM in series between the power supply and the board to measure the current (or you can measure in the return path ): note that depending upon the meter, it may average ... so in that case , you need to use a current shunt and scope across that . Its not that straight forward, measuring down at uA level is quite difficult which is why a high quality DMM is used. BR JE_Dialog