Handling of LSM303 unused pins
Hello,
have designed in an LSM303AGR to replace an obsolete NXP chip, it used in I2C mode at 3.3V, and there are two
pins that is not used, i.e. pin 7 - INT_MAG/DRDY and pin 12 - INT_1_XL.
Upon testing, when the complete system is in sleep mode, we have found that on some units,
the current consumption of the LSM303 may be up to 1.5 mA. By either warming or cooling the LSM303 current
goes down to almost zero.
Otherwise, everything works fine, and the LSM303 is waking up the instrument automatically when the user is
moving it, and also changes its state when moved close to a magnet...
It seems like one or both of these pins may go into floating state explaining the higher current draw, what is STs recommendation here?
I can't find anything in the datasheet (DS) on how the I/O of these pins are designed and how to handle
unrouted pins on this chip...
(The layout is also extremely area constrained so there is not room for pullups for both unused pins)
Are there any register settings that may be used to counteract this behavior?
For example, I saw in the DS that CFG_REG_C_M register description, that bit zero (INT_MAG) may set to 1
in order for the DRDY pin is configured as a digital output. Will this help in general for this pin?
