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

Continuous switching of application UART Initialization pins(RX & TX).

Hi Every one,

In my application i want to use two UART's simultaneously, for that i am doing continuous switching of UART communication pins.

I am able to communicate with two UARTs, problem is that after sometime NRF is getting stopped by itself, is there any problem with continuous shifting of pins???  

{

/* how i am shifting */

uart_init();

/*doing something with first UART*/

app_uart_close(); /* Closing previous UART*/

nrf_delay_ms(25);

Uart_Init1(); /* initializing Second UART*/

nrf_delay_ms(25);

/* Doing something by second UART*/

app_uart_close(); /*Closing Previous UART*/

nrf_delay_ms(25);

uart_init(); /* re-Initializing previous UART*/

nrf_delay_ms(25);

}

Related