hi all,
i'm trying to disable uart for lower power consumption, i've disables it with:
NRF_UARTE1->TASKS_STOPTX = 1; NRF_UARTE1->TASKS_STOPRX = 1;
but when i measure the voltage on the rx pin i see 1.8V (this seems to consume current on the device on the other side of the uart interface - which is turned off )
i assume its in pulled up state, so i'm trying to change it's state to no-pull:
nrf_uarte_txrx_pins_disconnect(NRF_UARTE0); gpio_pin_configure(uart_wifi, 18, GPIO_PUD_PULL_DOWN); gpio_pin_configure(uart_wifi, 19, GPIO_PUD_PULL_DOWN); gpio_pin_write(uart_wifi, 18,0); gpio_pin_write(uart_wifi, 19,0);
but it doesnt seem to have any effect.
how can i set this pin to 0, and back to 1 when I need it , on runtime?
Thanks
Moshe