AnsweredAssumed Answered

Uart issue FRDM-K64F, KDS

Question asked by Ashish Singh on Jan 28, 2016
Latest reply on Jan 28, 2016 by Mark Butcher

Hi,

 

Please advise on below request.

 

Following line sending only first letter K  5 times.

 

  unsigned char str[] = "Kumar Rishi\r\n";

UART_DRV_SendData(UART0_IDX, str, 5);

 

Function:

uart_status_t UART_DRV_SendData(uint32_t instance,

                                const uint8_t * txBuff,

                                uint32_t txSize)

{

    assert(txBuff);

    assert(instance < UART_INSTANCE_COUNT);

 

 

    uart_status_t retVal = kStatus_UART_Success;

    uart_state_t * uartState = (uart_state_t *)g_uartStatePtr[instance];

 

 

    /* Indicates current transaction is non-blocking */

    uartState->isTxBlocking = false;

 

 

    /* Start the transmission process */

    retVal = UART_DRV_StartSendData(instance, txBuff, txSize);

 

 

    return retVal;

}

Outcomes