Dialog Semiconductor customer support - da1468x uart2 https://support.dialog-semiconductor.com/resource-keywords/da1468x-uart2 en Using UART2 interrupt based https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/using-uart2-interrupt-based

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

Keywords: 
Device: 
Mon, 20 May 2019 11:50:47 +0000 mahmed106 306495 at https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/using-uart2-interrupt-based#comments