I want to read exactly what is on the MISO line right after it is transmitted. What is the method for doing this? For example I send 0x9700 over MOSI and then the MISO that comes back should be 0x0C04. I want to capture this 0x0C04 right when it comes in
You have two choices: You can poll for data in the Rx buffer available or you can use a "callback macro" to get informed at the end of a Rx interrupt. Look into Creator Help and into SPIM datasheet for that term.