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

How to turn off completely UART in nRF52840

Hello, I’m using nRF52840 with SDK 16 and SD 7. My purpose is to save as much power is possible using high-frequency clock (32MHz) only during periodic duties and BLE activity and low-frequency clock (32KHz crystal) otherwise. I’ve programmed app-timer and app-scheduler: if I use only I/O the sleep time power consumption is about 3uA. If I power-on UART with FIFO all the time, power consumption is about 1mA. So I need to power UART only when code uses it in app-scheduler event handler: I invoke app_uart_init() and app_uart_close() after few milliseconds every 1s, but unfortunately the power consumption is 1mA all the time. Apparently, app_uart_close() doesn’t power-off the UART; I follow various post in this blog with no success.

Thank you

Elisa

Parents Reply Children
No Data
Related