Here is my question.
I always disable uart after I send data.
NRF_UART0->TASKS_STOPTX = 1;
NRF_UART0->ENABLE = UART_ENABLE_ENABLE_Disabled;
this was write in the function of:
uart_event_handler
and in the case of APP_UART_TX_EMPTY evt->type.
Before I send data, I always run:
NRF_UART0->ENABLE = UART_ENABLE_ENABLE_Enabled;\
NRF_UART0->TASKS_STARTTX = 1; \
However, when I do this, my ADC module just does not work. I have to stop disable and enable uart. Then the ADC works fine.
What is the problem?