FreeRTOS with UART in 9-bit mode

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

FreeRTOS with UART in 9-bit mode

329 Views
masterboy
Contributor III

Hello,

I'm working on a project based on the IMX 1060 and freeRTOS process. This project uses serial communication over UART. This communication is running in 9-bit mode. First byte with flag 1 as address and other bytes as data with flag 0. If I did not use freeRTOS there would be no problem with anything. There I would use the LPUART_SendAddress function for the address and LPUART_WriteBloking for the data. The LPUART_WriteBloking function is not appropriate to use in a task within the RTOS. Although there are LPAURT_RTOS_Send and LPUART_RTOS_Receive functions, but are these functions applicable to 9-bit mode? I couldn't find any information about this anywhere. Can anyone advise me? Thank you.

0 Kudos
1 Reply

296 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

First of all, sorry for the later reply.

Unfortunately, current SDK provided FreeRTOS LPUART driver does not support UART data in 9-bit mode. I will report this software request internally. 

best regards,

Mike

0 Kudos