Hello Dialog Support !
We have DA14586 Custom board that boots from internal spi flash,Also we have configure it with Extendeed sleep mode and HW flow control
the system is advertising as expected and the HW flow control works ok we recive the data sucessfully from mobile device.
But we are seeing a constant high current consumption.
The settings that we have made are atached.
Also schematic conections.
The version of DSPS that we have flashed is: v_5.150.2
Thanks in advance,
玛罗斯.
Device:
Hi Marios,
谢谢你的问题,新年快乐。可以you please indicate how you are measuring the sleep currents?
So, if understood correctly you are measuring the power consumption while the device is advertising. Keep in mind that the system sleep between the intervals (advertising or connection intervals) and wakes up automatically via the BLE Timer. According to the attached doc, the 0.2mA is the average consumption or the sleep current between 2 advertising intervals?
Thanks, PM_Dialog
Hello PM_Dialog !
And Happy new year!!
Below we have attached the current of power consumption of DA14586 custom board we have mesured the current consumption with oscilloscope.
How the power consumption can be reduced ?
This has be done in the past with DA14580, the DA14580 custom board booted with external spi flash memory and it has very low power consumption with extended sleep mode and hardware flow control enebled we used dsps project for DA14580 .
There is no power leaks on our custom board! this has been checked!
Also we can't find the setup for hardware flow control in DSPS code for DA14586 how can we define HARDWARE FLOW CONTROL also when we are disconect the CTS pin RTS pin remains connected the power consumption goes to normal as on DA14580 ! we have set the cts and rts pins in user_setup.h but where the hardware flow control is enabled ?
From mobile app the data is recived sucessfully on the other side when CTS and RTS pins are connected with our external Atmel.
we are confused because we cant figure out if actualy we are on SW FLOW or HARDWARE FLOW control !
Helps us we are stuck on this situation an waiting for a solution we need your precius help!
Since we have a problem to go on with production at present we must solve this problem as soon as possible. We will also contact you on telephone as with forum questions and answers it takes long time. We are trying to solve this for over a month!
We are to start production for over 10,000 pieces and we are stuck for a long time.
Thanks in advance,
玛罗斯
Hi Marios,
First of all, DSPS version 5.150.2 is for DA14580 and NOT for DA14585/6.
The below code snippet is valid if the __DA14586__ is NOT defined. So, it will be executed in case of DA14585!
在Keil IDE中,请选择DSPS_585 Build Configuration,导航到目标 - >>>>>>>>>>>>>定义:__da14586__。
After that, build the project again. The DA14586 has an on-chip flash and it is on dedicated pins. Please see the datasheet for more info. With this build configuration, the correct spi pins will be configured. Please see spi_flash.h file following the __DA14586__ . The high power consumption might be because the on-chip spi flash was not powered down. If the__DA14586__ is not defined, the power_down_da14586_flash() in system_init() will never run, so the flash is never powered down.
Regarding your question about the HW flow control, you should not explicitly enabled as it is enabled by the application code.
Would it be possible to share a high level of your project?
Thanks, PM_Dialog
Hi Marios,
I’ve just sent you an email on your registered email address, so that we can arrange a call.
Thanks, PM_Dialog
Hello PM_Dialog!
Thanks for your precious help we have accomplished
The required power consumption for DSPS for
DA14586 everything works as it should be !
Glad to hear you again ! We have also an issue with CodeLess While we are trying to use binary mode.
I will open a new post for that.
Thanks in advance,
玛罗斯