How to use RXCTR and RFDF of DSPI for MPC5746C

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

How to use RXCTR and RFDF of DSPI for MPC5746C

ソリューションへジャンプ
792件の閲覧回数
fans
Contributor I

I saw the RXCTR is incremented after I push the data to PUSHR, but RXCTR decremented suddenly without reading POPR.At the same time, the RFDF equals 1.

The datasheet shows "the RXCTR is decremented every time the POPR is read and incremented every time data is transfered to the RX FIFO".So I can't understand why the RXCTR is decremented without reading POPR?

Why does RFDF equal 1 when RXCTR is 0 ? Does RFDF remain 1  before writing 1 to clear it or it cleard by clearing TCF?I think datasheet should show this mechanism.

0 件の賞賛
返信
1 解決策
661件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

maybe the RXFIFO is read by the debugger if the register window is opened.

RFDF is cleared by SW by writing 1 to it.

BR, Petr

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
662件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

maybe the RXFIFO is read by the debugger if the register window is opened.

RFDF is cleared by SW by writing 1 to it.

BR, Petr

0 件の賞賛
返信