TI Team,
I am having similar trouble to Patrick. The MCSPI is configured as spi slave. I am using Fifo's and need an interrupt when transmission is complete in order to manage some handshake signals. I have tried using Fifo Almost Empty settings but these do not give me accurate timing when the transmission is complete. End of Word Count would seem to be the solution but it does not seem to operate as described. First the Technical reference manual indicates that it is bit 17 though that using that bit in the enable and status registers does nothing. I had noticed that bit 16 seemed to be getting set, therefore I changed my mask to bit 16 and I now get interrupts which I can mask using that bit. Setting the the WCNT value and enabling EOWKE generates an interrupt as soon as the transmission starts. According to the TRM the WCNT field should indicate the number of transfers which have been completed but when read in the interrupt routine is always 0. What is bit 16 actually doing? What is the proper bit position for EOWKE. What is the proper procedure for using the End of Word Count.
Thank You,
Paul
TI Team
I have found a work around using the handshake signals, but I would really like to know how the End of Word Count works.
Paul