Hi Edson.
In the attachments you can find a example project compiled with CodeWarrior 10.x for the TWR-K20. The project configures the SPI0 as Master and the SPI1 as slave, the master sends data that is received by the slave an after that just check if the data was correct. Please refer to the code for more information.
Note: there are some function that are used when SPI and DMA are used together.
I hope this information can help you.
Regards,
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. It would be nice!
-----------------------------------------------------------------------------------------------------------------------