As the title said, I'm currently on the nRF21540 DK. I turned on Async UART:


As the title said, I'm currently on the nRF21540 DK. I turned on Async UART:


Hi,
Using busy wait means counting CPU cycles, so all other interrupts will delay the busy waiting. I see that the time you wait here is qutie long as well (a good number of milli seconds), so I am wondering why you need to use busy wait? As long as. you rdevice also need to do other operation at the same time, busy waiting like this will cause problems and I would suggest looking into handling that differently first.
Hi,
Using busy wait means counting CPU cycles, so all other interrupts will delay the busy waiting. I see that the time you wait here is qutie long as well (a good number of milli seconds), so I am wondering why you need to use busy wait? As long as. you rdevice also need to do other operation at the same time, busy waiting like this will cause problems and I would suggest looking into handling that differently first.