MPC5643L DSPI

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPC5643L DSPI

627 Views
haotianwei1983
Contributor I

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.

Labels (1)
0 Kudos
1 Reply

468 Views
PetrS
NXP TechSupport
NXP TechSupport

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.

0 Kudos