Does this IMU really expect the SPI line to be turned around? Have you got a data sheet?

Quote

so before testing the actual IMU, I want to create a dummy IMU which will be Arduino board or EVK1100(which will act as Master and will send command for data) and other slave board will be Arduino board which will receive command from IMU master board(Arduino or EVK1100)

BTW, All this talk of IMU/Arduino/EVK1100 is really confusing the issue IMO, can we just say Arduino and IMU and assume that they are both SPI-capable devices.

______Rob

Respected Sir

Thanks a lot for your kind reply.Yes , I want to communicate between IMU and Arduino board. IMU will act as a Master and Arduino will be a slave.Once slave(Arduino) receives 0x3E(as a command) from IMU it will send back 12bytes of required data to IMU.

I think I'll close this thread if you don't answer my question. It's no use ignoring the questions and keep posting about wanting people to share code.

Hi..!!!

Yes.

I have read this again and again, but still problem is there.From master I am sending following data (int array[8] = {0x04, 0x00, 0x06, 0x00, 0x08, 0x00, 0x0A, 0x00};) and on slave side I am receiving the same data. But same data are available on both MOSI and MISO.I can see on oscilloscope that even MISO line has the same data which are ( int array[8] = {0x04, 0x00, 0x06, 0x00, 0x08, 0x00, 0x0A, 0x00};) on MOSI also.But from slave side I am not sending any data then why data are available on line(MISO), is there any way to clear buffer or SPDR.

If you aren't sending any data back, what do you expect? It will happen to return what is in SPDR at the time. You have to change it in the ISR. Also you can't do Serial.print in an ISR, it takes too long.

If you aren't sending any data back, what do you expect? It will happen to return what is in SPDR at the time. You have to change it in the ISR. Also you can't do Serial.print in an ISR, it takes too long.

If you aren't sending any data back, what do you expect? It will happen to return what is in SPDR at the time. You have to change it in the ISR. Also you can't do Serial.print in an ISR, it takes too long.

If you aren't sending any data back, what do you expect? It will happen to return what is in SPDR at the time. You have to change it in the ISR. Also you can't do Serial.print in an ISR, it takes too long.