i.MXRT 1052 - LPUART_RTOS_Receive() API issues

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

i.MXRT 1052 - LPUART_RTOS_Receive() API issues

1,043 次查看
suhel_mulla
Contributor III

I am working of Freertos based LPUART example from SDK on  NXP i.MXRT 1050 EVK board .

I have following queries - 

1. Is their any document / post having detailed dexplanation of LPUART_RTOS_Receive(lpuart_rtos_handle_t *handle, uint8_t *buffer, uint32_t length, size_t *received) API. What is the significance of the argument size_t *received.

2. What is the difference between ring buffer overflow & hardware buffer overflow?

3. When hardware buffer overflow occurs?

I have attached the .c file having LPUART_RTOS_Receive() API definition for reference.

标签 (4)
0 项奖励
回复
1 回复

992 次查看
Sabina_Bruce
NXP Employee
NXP Employee

Hello Suhel,

Hope you are doing well.

to answer your questions:

1. You can find the details of the SDK API and its variables in the following link: MCUXpresso SDK API Reference Manual: LPUART FreeRTOS Driver 

2. You may found a detailed explanation of the difference and how this works in the following post:

https://community.nxp.com/thread/443015 

3.  In the above post this is also explained.

Hope this helps!

Best Regards,

Sabina

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

----------------------------------------------------------------------------------------------------------------------- 

0 项奖励
回复