Hi everybody,
does anybody know if there is a working example for an SPI driver on Kinetis? I can only find a brief code snippet on a previous question on the forum, and a bunch of crap in KINETIS_120MHZ_SC package for K60 / K70 families.
Has anyone else ever seen a better example (maybe with interrupts!) ?
Thanx in advance
Solved! Go to Solution.
Hi,
As far as I know there are only PEx (Processor Expert) examples in sample packages. In the attachments you can find an .c file which has an SPI configuration: One module as Slave and the other as Master.
Hope this helps.
Regards.
Hi,
This code was helpful for me.
Thanks & Regards,
Mandar Bhat
Hi Adrian,
Thank you for the code, it's similar to the example in KINETIS_120MHZ_SC package, but a little cleaner. It's a pity nobody seems to use interrupts...
Best regards!