nRF9160 dk UARTE Baremetal Rx Driver - Unknown Byte Size

Hello,

I am trying to have a minimal bare metal based driver for nrf9160 UARTE with an unknown frame size. 

I assume that ENDRX interrupt is triggered when RXD.MAXCNT bytes are received and RXRDY interrupt is triggered when every byte is received. 

Is there an idle line detect mechanism in nrf9160? I plan to have at least two UARTs in my project with Rx capability.

It would be great if I get a minimal driver / steps or register configuration involved.

Thanks,

Pawan 

Related