Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 8 months ago.
Using MAX21100 IMU sensor with mbed
Hello,
I want to use the MAX21100 IMU with the mbed via a SPI connection. I can read the whoami register and get a correct answer (0xB2). But when I try to read the acceleration registers I don't get the correct values. Has anyone successfully connected the mbed to the MAX21100 and is willing to share the code? Thank you.
Klaus
I'm exactly at the same point, but using the I2C interface. I get the B2, but not the rest. The status register is always zero. When I configure the POWER_CFG register, if I leave the power bits as power down I still get the B2 in the whoami, but if I select normal power I start getting 0 in the whoami, and strange readings (always the same numbers) in the accel values. I have no idea what is going. I've tried an arduino library with and arduino due and it is working, and it sets up exactly the same registers with the same values.
posted by David Rojas 09 Apr 2015