AnsweredAssumed Answered

S32K146 UART send problem

Question asked by 张 舜毅 on Feb 21, 2020
Latest reply on Feb 23, 2020 by Robin_Shen

hello, SDK.


When I use the following statement, the uart cannot emit any data.But SDK routines do support this.When I add "while(UART_GetTransmitStatus(&uart1_pal_instance, &bytesRemaining) == STATUS_BUSY)" at the end of the statement, the UART can send data as normal.How to solve this problem?


UART_SendData(&uart1_pal_instance, sendbuf, size);