If don't use freeRTOS , The function LPUART_DRV_SendDataBlocking(INST_LPUART1, (uint8_t *)str, strlen(str), UART_TIMEOUT) works well. But if import freeRTOS to project , this function only tx the first one byte, and never back.
even I set the priority of LPUART1_RxTx_IRQn bigger then configMAX_SYSCALL_INTERRUPT_PRIORITY , but it still send only one byte.
The init code :
/* Initialize LPUART instance */
LPUART_DRV_Init(INST_LPUART1, &lpuart1_State, &lpuart1_InitConfig0);
INT_SYS_SetPriority(LPUART1_RxTx_IRQn,configMAX_SYSCALL_INTERRUPT_PRIORITY + 2 );
INT_SYS_EnableIRQ(LPUART1_RxTx_IRQn);
Thanks !