AnsweredAssumed Answered

Kinetis K60 SPI Weird Behavior

Question asked by Dao Yan Lim on Jun 24, 2016
Latest reply on Jun 27, 2016 by Dao Yan Lim

I am using TWR-K60N512, with PK60DN512Z VMD10 chip. I am trying to set up the SPI module to communicate with Adis16362 IMU ( ), which uses SPI mode 3, CPOL = 1, CPHA = 1.


I am able to read output data such as supply voltage, product ID, accelerometer measurements!  HOWEVER, it only works the first time after a USB plug cycle, so it outputs nothing if I were to reflash the code again without doing a USB plug cycle first. Sometimes, it still outputs nothing anyway...


Any idea how I can troubleshoot this? I have attached my code.



Original Attachment has been moved to: