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.

UART Interrupt mode blocks

Hello,

We noticed that after sending one byte using GIO_write on Uart2, any subsequent write blocks forever. We use BIOS PSP 3.00.01.00, SYS/BIOS 6.33.05.46, CCS v5.2.1.000018. Anyone else noticed this issue or is it a driver problem?

char *buf=new char[1024];

int size=1;

GIO_write(txHandle, buf, &size);//successfully completes, returns 0 and size==1;

size=1;

GIO_write(txHandle, buf, &size);//this blocks forever

g_uartParams = Uart_PARAMS;
g_uartParams.fifoEnable = true;
g_uartParams.opMode = Uart_OpMode_INTERRUPT;//DMAINTERRUPT;
g_uartParams.baudRate = Uart_BaudRate_115_2K;
g_uartParams.hwiNumber = 9;
g_uartParams.rxThreshold = Uart_RxTrigLvl_1;
g_uartParams.softTxFifoThreshold = 1;
g_uartParams.fc.fcType = Uart_FcType_NONE;
g_uartParams.fc.fcParam = Uart_FcParam_NONE;

Thank you in advance,

David.