AnsweredAssumed Answered

K60 SPI writeread function?

Question asked by Amit Kumar on Jul 27, 2014
Latest reply on Jul 29, 2014 by Kerry Zhou

Hi

 

I was trying to configure SPI based sensor with K60 using Codewarrior 10.6. I am facing problem in reading the data. I was looking for some code for reading the register. I tried using PE components of SPI with DMA. using these components I am able to read 6 registers . The problem I am facing is all the 6 received values are not coming in order to the defined buffer. So I wanted to go with baremetal code. I tried using the example code for SPI but that didn't worked. Please look into the matter. and provide some simple code for readwrite. Thanks in advance

 

Kind Regards,

Amit Kumar

Outcomes