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.