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
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]