MPC5643L DSPI

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MPC5643L DSPI

1,296 次查看
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,137 次查看
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 项奖励
回复