This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LAUNCHXL-CC1352R1: UART receive interrupt

Part Number: LAUNCHXL-CC1352R1


Hi,

I'm need to wait from data arriving at the UART, which I don't know when it will arrive not the length of it.

Typically there is in the UART APIs an handler that's called where data arrives at the UART or when there is data available to read.

I can't find this pattern in the SimpleLink UART2 API...

The closest I can think it to fire a task trying to read a single char with infinite timeout, but that feels a  bit awkward...

Am I missing something here? Can you please let me know how this common use case should be addressed with SimpleLink UART2 API.

Thanks!