I'm looking to hook up a p1020 to a Kinetis K60 over SPI. Now, on the P1020, I'm running VxWorks and I have a function spiWriteReadCmd () whixch allows me to send data from an argument provided and at the same time, it will copy the datra in the incoming buffer into an other argument provided.
Now, I'm looking for a similar function on my Kinetis part but have not been able to find it. I have tried around quite a bit already but have not been able to get the SPI on my K60 going yet. I coudln't find much SPI examples for Kinetis, how do I get this going the best?