LSM303D as external i2c compass

Hi everyone
Anyone that has succeeded to use LSM303D as an external compass on 4.0.5 or higher? Having a Matek 405 CTR FC.
I have a pololu brake out board with this chip and intended to use it as a replacement for a broken magnetometer in the GPS module.
Is it supposed to work on i2C or restricted to SPI bus?
Have tested with i2c address 0x1E and 0x1D on the LSM303D but no response.

Any input is very much appreciated
Thanks