AnsweredAssumed Answered

LSM303DTR pitch roll lock up on startup

Question asked by young.john on Mar 5, 2015
Latest reply on Mar 24, 2015 by brignoli.maurizio
we are using the LSM303DTR.  4 wire spi.
we initialize CONFIG 1,CONFIG5 and CONFIG 7 only....assuming defaults on all others.
on power up, we get the pitch and roll always returning 0x8008 (our gui displays this as -35.244ish deg for pitch and roll).
This happens "sometimes"...
Other times, the device appears to operate normally.....
I checked the amount of time before we actually write to the device on power up..
it appears the 3.3V is stable by the time we hit the SPI buss (~210mS)...
We cant figure this out......
any clues suggestions???
when this happens we can still get the WHO_AM_I correctly...
and reading back the config registers...they appear to be what we set them at....
This is killing us right now.
any ST mems guru's out there with suggestions?....
jyoung AT lauferwind DOT com.

Outcomes