EOQF flag is not getting set in EXTENDED SPI mode in MPC5748G MCU

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

EOQF flag is not getting set in EXTENDED SPI mode in MPC5748G MCU

670件の閲覧回数
krishnaduriseti
Contributor II

Hello Team,

I am using extended SPI mode in MPC5748G MCU for 32 bit frame transmission and I see some problem that EOQF flag is not getting set at the end of the transfer. I am using same code for MPC5777C MCU and there everything working as expected.

Do you have any Idea why this problem. any suggestion or ideas greatly appropriated.

Looking forward for some insights.

Thank you.

 

Regards,

Krishna.

 

ラベル(1)
タグ(1)
0 件の賞賛
返信
2 返答(返信)

251件の閲覧回数
yisey
Contributor I

The EOQF flag not being set on the MPC5748G is likely due to differences in SPI module implementation compared to the MPC5777C. For optimizing time and labor, ensure that the queue is properly terminated and the EOQ bit is set for the last word in the queue. Also, verify the 32-bit frame configuration and EOQF interrupt settings according to the MPC5748G reference manual, as some revisions may require software polling or dummy end-of-queue words.

0 件の賞賛
返信

229件の閲覧回数
krishnaduriseti
Contributor II

Hello Yisey,

 

Thank you for your response. I have configured SPI module correctly to transmit 32-bit frames and both read and write working in MPC5748 if I don't look at EOQ flag. And I set the EOQ flag for last word to be transmitted but module doesn't acknowledge that.

And FYI, I don't use interrupt for EOQ I am polling for that flag.

You mentioned "dummy end-of-queue words" could you please explain what do you mean by this?.

 

Thank you.

Regards,

Krishna.

 

0 件の賞賛
返信