DSPS large current consumption

4 posts / 0 new
Last post
jackiechau
Offline
Last seen:3 years 4 months ago
加入:2016-01-15 01:32
DSPS large current consumption

If no modification in the source code, the current consumption is nearly 300uA. However, if "#undef CFG_UART_HW_FLOW_CTRL" is enabled, the current consumption is nearly 17mA, please kindly advise, thanks.

Device:
MT_dialog
Offline
Last seen:2 months 1 day ago
工作人员
加入:2015-06-08 11:34
Hi Jackiechau,

Hi Jackiechau,

The DSPS application is designed and tested to operate under flow control either hardware or software, but still 17mA is a lot of current i trust that the board you are using is custom, also i ve tried to compile with both HW and SW undefined in the DSPS on SDK3, the compilation was succesfull only when sleep is disabled. Anyway on a pro dev kit i wasn't able to see anywhere near the 17mA you mention.

Thanks MT_dialog

jackiechau
Offline
Last seen:3 years 4 months ago
加入:2016-01-15 01:32
Hi MT_dialog,

Hi MT_dialog,

1. How much is your current consumption when sleep is disabled? Actually I'm using 3rd party's DA14580EVB.
2. Regarding the compilation issue, if both HW and SW undefined in the DSPS on SDK3, the compilation was successfull only when sleep is disabled. I checked that compilation error is triggered in app_sleep_prepare() when both HW & SW flow control are undefined. Does it mean that sleep can only be enabled when HW flow control is defined? If not, would you please advise how to modify the program in order to enable sleep when HW flow control is undefined? Thanks.

Gongyu_Dialog
Offline
Last seen:15 hours 50 min ago
加入:2016-04-27 07:07
Hi, jackiechau

Hi, jackiechau
you can #define CFG_UART_SW_FLOW_CTRL in DA14580_config.h. Either HW or SW flow control might be selected. Before sleep , it will check the tx and rx fifo.

Topic locked