Hello, I'm facing some issues with the bmx055 magnetometer data ready interrupt line. The sensor is mounted on the shuttle board. I want to establish an interrupt based data readout with an ATmega via SPI and it works just fine - but only for some time. After a certain period the magnetometer data ready interrupt just stays high. If I'm lucky than it starts working again, but will fail again, too. I can continue the data readout by polling, but I would like to avoid that solution. I also noticed that the pulse width of the interrupt signal, while working, varies greatly, but the width of the other two for accelerometer and gyroscope remains constant (all in non-latched mode). Is this a known issue or is there a workaround like a reinitialization after some time? Normal and advanced self-test seem to be fine, whereas I get margins of up to 50uT. Concerning the magnetometer my initialization routine (without the self-tests & trim data) does the following: -set power control bit(set reg 0x48 bit 0) -set high precision mode (reg 0x51 write 0x17, reg0x52 write0x29) -set to normal mode & ODR to 20Hz(reg 0x4c write 0x28) -enable DRDY interrupt, map to pin &active high(reg 0x4e write 0x84) After the initialization I do not modify any registers, only updating data and doing some further calculations. Am I missing something? Much thanks in advance and have a nice weekend!
... View more