cancel
Showing results for 
Search instead for 
Did you mean: 

LSM9DS0 4-wire SPI communication

poa
Associate
Posted on October 12, 2013 at 08:30

hi,guys

I'm working on LSM9DS0 with STMEVAL-MKI109V2,using 4-wire SPI communication?read gyro's WAI reg is ok if keep CS_G=0 and CS_XM = 1 after EVAL board power on, but if CS_G=0 after CS_G=1 and CS_XM = 1,read WAI reg, MCU can't get any response(SDO=0xFF always),can anyone explain me why? I would be grateful if anyone could post LSM9DS0 SPI communication code.

thanks.

#lsm9ds0-4-wire-spi
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
poa
Associate
Posted on October 16, 2013 at 15:27

problem solved. it's just a SPI configuration error.

Thiago REIS
Associate II
Posted on November 18, 2013 at 15:50

Hello,

That is great news.

Please do not hesitate on posting any other topics that you would like to discuss on this forum.

Thank you,

Thiago Reis

Announcement

We’re moving the ST Community to a new platform to give you a better and more reliable community experience.