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.

TMS320C6748: SPI interrupt trigger condition

Part Number: TMS320C6748

Hi,

What are size of TXBUF and RXBUF? What are the trigger conditions for TX full and RX full?

if(intCode == SPI_RECV_FULL)

{
rx_len--;
*p_rx = (char)SPIDataReceive(SOC_SPI_1_REGS);
p_rx++;
if (!rx_len)
{
flag = 0;
SPIIntDisable(SOC_SPI_1_REGS, SPI_RECV_INT);
}
}

intCode = SPIInterruptVectorGet(SOC_SPI_1_REGS);
}
}