MPC5643L DSPI

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MPC5643L DSPI

1,270件の閲覧回数
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.

ラベル(1)
0 件の賞賛
返信
1 返信

1,111件の閲覧回数
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 件の賞賛
返信