i.MXRT 1052 - LPUART_RTOS_Receive() API issues

cancel
Showing results for 
Search instead for 
Did you mean: 

i.MXRT 1052 - LPUART_RTOS_Receive() API issues

64 Views
Contributor II

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.

Labels (4)
0 Kudos
1 Reply

13 Views
NXP TechSupport
NXP TechSupport

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 Kudos