2013-10-11 11:30 PM
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-spi2013-10-16 06:27 AM
problem solved. it's just a SPI configuration error.
2013-11-18 06:50 AM
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