This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf52 UARTE/Fifo high current consumption

I am struggling with excess current consupmtion using uart+fifo. It seems like ~300uA is drawn by UART and disabling via app_uart_close() doesn't help.

I have checked all possible configurations of below params:

#define UART0_CONFIG_USE_EASY_DMA false
//Compile time flag
#define UART_EASY_DMA_SUPPORT     1
#define UART_LEGACY_SUPPORT       1
#endif //NRF52

and after uart_close() current jumps to 2mA and stays there for a while and goes back to the same value of ~300uA; I am pretty sure its UART - I can comment it out and current stasy at very low levels.

I have tried different settings and UARTE/UART mixing but it only makes it worse if I ie. use only easy_dma. Any suggestions ? Errata?

I use SDK12, with SD132, sd is enabled, but no advertsing.

Parents Reply
  • So should I care for switching the clock off when I am using SD+scheduler? How to do that?

    Solution for my issue was putting "uart_close()" in a timer cb function (even 10ms does the job), so I thought of either some race conditions or that I should use scheduler somewhere in the UART transactions, especially just before switching it of, to enable proper event distribution within the app. I am not very familiar with the SD internals...

Children
No Data
Related