Hi.
I'm using C6747 DSP and I have a question about SPI.
Can anyone tell me a way to clear only TX shift register explicitly?
I guess that the shift register is cleared by setting SPIGCR1.ENABLE bit to 0.
Is there any other way to clear only TX Shift register?
Regards.
Shintaro
Shintaro,
You are right .SPI Transmit Shift register is cleared by setting SPIGCR1.ENABLE bit to 0. I don`t think there is any other option to simply clear the shift register.
Can you provide details on why you wish to clear the shift register. The previous data is automatically replaced by the new data when you write to TXBUF.or SPIDAT register so there is no need to clear the shift register in middle of a SPI communication.
Regards,
Rahul
---------------------------------------------------------------------------------Please click the Verify Answer button on this post if it answers your question.---------------------------------------------------------------------------------