Hi , i am using custom board based on DA1468x and i am using UART 1 and UART 2 in my project.
UART 1 is being used for printf and i want to use UART2 to communicate between another board DA1468x based.
Writing is not an problem i have sucessfully wrote bytes to UART2.
Problem is that how should i read bytes from uart. Should i poll in another task for UART2 read or should i use interrupt. In my previous experience on other microcontroller i have used interrupt based uart reception but in this case i am confused. What do you suggest.
And if interrupt based method is recommeneded so is there any example code available for interrupt assigning to uart2 reception because i cannot find so far.
Thanks alot