MPU 9150 FIFO Mode

By dnz , 19 June 2014

Hi,

I'm having troubles getting the accel, gyro, and magnetometer data stored in the FIFO. I've searched the forum (and read elsewhere) but can't seem to find anything that helps. The example code hasn't helped either.

My initialization sequence is:

power_mgmt_1 (0x6B) = 1; //set to use x gyro pll

config (0x1A) = 0x06; //set dlpf to 5Hz

sample_rate_div (0x19) = 249; //set output rate for 4Hz

user_ctrl (0x6A) = 0x40; //enable the fifo

fifo_en (0x23) = 0x79; //enable gyro, accel, slv0 (mag)

After this I don't see the FIFO count register ever increasing, it's always 0. Any help is greatly appreciated.

Thanks.

phpbb Topic ID
16260