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.
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.
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.