Dear Nordic,
I have an application which contain UART and BLE advertising. For power consumption i use enable disable UART.
Enable and Disable Uart:-
void Disable_Uart(void) { NRF_UARTE0->TASKS_STOPTX = 1; NRF_UARTE0->TASKS_STOPRX = 1; NRF_UARTE0->ENABLE = 0; } void Enable_Uart(void) { NRF_UARTE0->ENABLE = 8; NRF_UARTE0->TASKS_STARTTX = 1; NRF_UARTE0->TASKS_STARTRX = 1; }
Is it right way to enable and disable UART?
If i do this way what is the maximum current taken by Uart?