Hello, I am working on read and write the EEPROM by DSPI. And I found that as soon as I send a word the status register
DSPI_0.SR.B.RFDF will be set and I try to write 1 to this bit. As the datasheet said DSPI_0.SR.B.RFDF is cleared will be expected. But it doesn't work. I don't know why.
Hi,
You did not share your code.
But did you also read the RX FIFO? The RFDF should be cleared after the DSPIx_POPR register is read.
Also use the register access to clear flags in DSPIx_SR register.
BR, Petr.