This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

unable to read from Uart

Hi.I am trying to send and receive data between DSP C5535 and termite.  I manage to receive data in termite but I can not manage to read data .This is my configuration:

CSL_UartSetup uartSetup =
{
/* Input clock freq in Hz */
60000000,
115200,

CSL_UART_WORD8,

0,

CSL_UART_DISABLE_PARITY,
CSL_UART_FIFO_DMA1_DISABLE_TRIG14,


CSL_UART_NO_LOOPBACK,

CSL_UART_NO_AFE ,

CSL_UART_NO_RTS ,
};

I tried to debug the  function  UART_read(hUart,buff1,4,0).   After this instruction     *pBuf++ = CSL_FEXT(hUart->uartRegs->RBR,UART_RBR_DATA); the buff is still empty and then it  blockes in this instruction  while( !UART_getDataReadyStatus( hUart) );.