Hi,
I am using an LPC3250 board. so the problem problem consist in when I configure the SPI interface as "Receive Mode" the "FIFO empty interrupt flag" persists deactivated even if I disable the reception () and I run a read loop to empty the "Rx buffer". this code This code loops indefinitely :
((SPI_REGS_T *)SPI1_BASE)->con |= SPI_CON_SHIFT_OFF; while (test == 0x00) { iCounter = ((SPI_REGS_T *)SPI1_BASE)->dat; test = ((SPI_REGS_T *)SPI1_BASE)->stat & SPI_STAT_BE; }
Please, help me! thanks