This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-AM335X: SPI - kernel space driver

Part Number: PROCESSOR-SDK-AM335X


Hi,

I try to write a kernel-space driver/module to extend the regular SPI behavior with some additional handshake. I use BBB (AM335x family) as my testbed. The AM335x acts as a master and CC13x2 is a slave module.
I have everything ready on the CC13x2 side and now I'm starting with the Linux side.   
Would you point me to some good documentation or examples to start with the subject?

As far as I know, I have to use McSPI driver as a "raw" SPI and add some code into my own driver to play with GPIOs. Am I right?
Any examples?

Best regards,
Adam