Question about uart configurations for nRF52832 and nRF52840

Dear ,

I am currently testing the UART peripheral on nRF52832 and nRF52840 using nRF Connect SDK.

Basically, I have a sensor that continues sending out data via uart and I would like to use the uart peripheral to receive and parse the data packets. I checked the sample code provided as lpuart, but still have a few questions.

In the devicetree setup for the uart, there are REQ pin and RDY pin. Are these pins always compulsory for using lpuart? Can I use uart without configure these two pins, i.e. using only tx and rx pins?

As to the application I mentioned above, how can I set up an interrupt-driven process which will analyze each incoming byte once it's received?

If you could kindly provide a few advice and directions, it will be very helpful.

Thank you so much for your help and assistance.

Kind regards, Kevin

Parents Reply Children
Related