AnsweredAssumed Answered

LSM303 STEVAL-MKI133V1 SPI probs

Question asked by young.john on Jun 25, 2014
Bought this eval board.
Hooked it up to a TI Launchpad...
I run the SPI in 4 wire...
I can see the SPI buss sending data (o-scope)...timing good, clocks good, setup good...
When I READ I see the data coming back BEFORE the 8th clock cycle...????
Almost like something is "jacked" inside the device...
for a test, I step back and forth from writing to a CNTRL reg and then reading it back...
(i.e. send 0x00 to CNTRL0 (reg 0x1F)..then I read it back...I see 0 read back...then I increment the data (write 0x01 to CNTRL0)..read it back...I see the "1" come back on the 8th clock...not the sixteenth (on a read: R/W=1, MS=0, A5-A0...dummy data for 8 bits...the data from SDO should come back on those last 8 clk's....correct?)

so what am I missing?...
I also unhooked the SDO from the TIVA (in case of some prob there)...same deal....

bad part?...bum eval kit?.....
bueller...bueller....anyone?.....
send me email  jyoung AT lauferwind DOT com

Outcomes