1988092_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

1988092_en-US

1988092_en-US

Incompatible version of LPUART Driver

Hi,

I am using imxRT1050 EVKB. I want to use LPUART Driver from FreeRTOS.
However, I get a warning as shown below.
If I compile the code and execute it, I get a data bus error.

Can someone tell me how to get compatible version of LPUART driver?

rajtend_1-1730822651811.png


Thanks!

Re: Incompatible version of LPUART DriverI was able to resolve this. The receive call expects global buffer and not one allocated on stack. This ways, the UART driver in FreeRTOS is working fine, without crashing.Re: Incompatible version of LPUART Driver

Hi @rajtend ,


Hi rajtend, Thank you for your updated information.

Can you tell me how and where you call LPUART_RTOS_xxx functions?

mayliu1_0-1731038940865.png

I will verify your modification on my MIMXRT board. 

Wish you a nice day~

Best Regards

mayliu

Re: Incompatible version of LPUART DriverCan you change the Mode from Polling to FreeRTOS?
You will see the warning immediately.
Re: Incompatible version of LPUART Driver

Hi @rajtend ,


Thank you so much for your interest in our products and for using our community.

Please let me know if your project with FreeRTOS.

I use MCUXPresso IDE, the version is same as you.

I import a SDK demo "evkbimxrt1050_freertos_hello", add LPUART3 driver, There are no problem and warning.

mayliu1_0-1730866420906.png


Please use a project with FREERTOS ,then add LPUART3.

Wish it helps you.
If you still have question about it, please kindly let me know.

Best Regards

mayliu

Re: Incompatible version of LPUART Driver

I am using the following version of MCUXpresso


rajtend_0-1730824569500.png


Tags (1)
No ratings
Version history
Last update:
‎11-21-2025 10:29 PM
Updated by: