I have the same problem as above. The output from the LSD303D accelerometer on all three axis's is always -32760, while the other component seem to be working fine. I am using an Intel Galileo gen 1 with the AltIMU-10 v4 PCB board. The VIN is connected to 5V (green wire), GND to GND on the board (blue wire), SCL to SCL on the board (orange wire) and SDA to SDA (yellow wire). The set up had been working fine beforehand.
I have tried changing the wires, the COM address, the section of the breadboard, numerous resets and restarting the computer. I don't understand where the problem is when the gyroscope, magnetometer and altimeter all appear to be working okay. I am 99% certain that the gyro is working properly, less sure about the other components. The problem occurred as far as I can tell randomly... there was no changing of wires, rough handling or anything that of that nature.
The code I am using is:
snprintf(report, sizeof(report), "A: %6d %6d %6d M: %6d %6d %6d",
compass.a.x, compass.a.y, compass.a.z,
compass.m.x, compass.m.y, compass.m.z);//Just to see that the magnetometer is okay
I hope it didn't get damaged by an electrostatic discharge or something... I'm really at my wits end here. Please help!
Thanks in advance