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

nRF91: UART async read

Hi,

What is the best way to read the async data received on a UART in to a buffer when ever there is an a byte available and  in a separate task read the data from the buffer as and when needed.

reards

KK

Parents Reply
  • Hi Hakon,

    Mean while i have figured it out the way you suggested in your first link, but i am ring_buf_put() to collect byte by byte in ISR call back and in task i use ring_buf_get() to get the data when ever needed, i hope ring_buf_put() is not bulky to use in ISR?

    regards

    KK

Children