Hello
I have a port pin I need to toggle immediately after the SPI output is complete. I am using Processor Expert's routines. I have tried the SM1_GetBlockSentStatus() call as a test to determine if the transmission is complete but it is still premature. Embarrasingly, looking at the PE code I can't really tell how the SPI registers are accessed.
Any hints as to how I can tell when an entire buffer has been completely transmiited would be very helpful.
Hi
See the section on SPI in http://www.utasker.com/docs/KINETIS/uTaskerV1.4_Kinetis_demo.pdf
The diagrams show the timing of the DSPI status flags.
Regards
Mark
Thanks Mark.
I didn't see anything in that pdf that relates to my question though.
Which bit is valid after all data has been shifted out of a que?
I am using a P.E. SPI module and so far have been unable to acquire the proper indication that the last byte has been transmitted.
Appreciate the response.