Hi all,
My question about data transmission process of UART. There are a few couple of methods to send/receive data in codes as uart architecture with NXP like belows:
- LPUART_WriteByte
- LPUART_ReceiveByte
- LPUART_WriteBlocking
- LPUART_ReceiveBlocking
- LPUART_SendEDMA
- LPUART_ReceiveEDMA
- LPUART_TransferSendNonBlocking
- LPUART_TransferReceiveNonBlocking
All declerations belong these methods are given in comments. But I am confused little about the differences and use cases in real life. Which one should I use to best performence?
Is there any document that explain the performence differences better? If it is not exist, what means blocking?
For example; I am using five of my UARTs (UART1, UART2, UART3, UART4, UART5). What happens when I use LPUART_WriteBlocking? Are not able to process my UART transmission same time? So, I am sending/receiving with UART1 by WriteBlocking, Does it mean that UART2,3,4,5 must wait until UART1 operations finish? Is LPUART_WriteByte approach better than LPUART_WriteBlocking_
What are the advantages/disadvantages of these approaches given in above?
Thanks and Regards.