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.
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.
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.
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.
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
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.
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.