I once had a problem where my compass was faulty which also caused my baro altimeter to not work. maybe they are on the same bus? someone here would know that, but if your baro alt is also not working its a good bet your compass is bad.