SparkFun Forums 

Where electronics enthusiasts find answers.

Your source for all things Atmel.
By MartinSt
#23441
Hi,

I just got my MicroMag3 (sensor without eval. kit) and connected it to an ATmega88 via SPI.
At the moment VDD is 5V (close to the abs. max) and DRDY is not connected, the uC sleeps for the respective waiting time instead, before reading out the data from the sensor.
It works fine to read out Y and Z axis data but it only returns an empty register when trying to read out the X axis.
I have read through the data sheet and searched elsewhere for similar problems/solutions but have not found anything useful yet.
I dont understand why the X axis measurement is not working and I'm running out of ideas how to fix it (I believe not-working X and working Y, Z are handled the exactly same way in my code).

Any ideas, suggestions etc?

Thanks for your help!

Martin