AnsweredAssumed Answered

SPI doesn't work using KSDK 2.0

Question asked by NESTOR GALERA on Dec 22, 2016

Hello everyone, I would ask you if you have the same problem I have. I use MKL26Z256xxx4


First of all, I've tryed to run SPI communication using registers configuration. This is my favourite way but... I notice that when I enter data in SPI Data Register low (SPIx_DL), nothing works... What is going wrong? I do all the steps.. I think... Do you have any code using registers?


And as I saw that.. I tryed to use SPI with KSDK 2.0 functions.. For example "interrupt". But also doesn't work. I don't know what I'm doing wrong :S :S :S


Do you have any example... SIMPLE example PLEASE?, with no dependences to functions that call functions... Just one transfer from master to slave. That's all.


Thank you very much!