Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 4923

LIS3MDL pololu, bad readings via SPI.

$
0
0
Hi, is there any one with experience with the LIS3MDL sensor, and SPI !?

I've implemented, some code to read from the LIS3MDL via SPI, and it works, except that values are always noisy and extremely high.

I know that, because, reading from the same device via I2C, gives-me stable (low noise) values, with accurate behavior. E.g. if I bring a magnet near the sensor, the sensor modulus of the magnetic vector, behaves accordingly to the distance of the magnet, as for in SPI it doesn't ......

LIS3MDL pololu, bad readings via SPI.

Viewing all articles
Browse latest Browse all 4923

Trending Articles