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

I want to pause the radio in a short time,because i want the uart receive data without error。

Hi,

I want to use the BLE SoftDevice without any flow control and the baud rate higher than 9600. In this question say this could lead to lost bytes from the UART peer to the nRF51822.

but ,can i pause the interrupt from the S110 stack when i receive data?

like this


void UART0_IRQHandler(void)
{
	__disable_irq();

        while( have data  )
        {
       // receive data
        ......
        }
	__enable_irq();
	
}

Related