Pixhawk mini compass issues

Was wonders what would cause this

I have a pixhawk mini. Everything is operating fine besides the compass. I have gps compass module. The external module for compass is non responsive. It configures it but when you move the external compass no change. I’m running the pixhawk stack not adruio stack. I tried to use adruio plane but can’t get the gyros to calibration. The other crazy thing that goes on is it shows the plane direction opposite of where the plane is pointed but if I configure the external to be 35degrees yaw it gets close but still a few degrees off

Any help would be great. I already had one run off with the super cub


I am experiencing a similar problem with calibrating the compass. I was wondering if you were ever able to resolve your problem, and if so what what was your solution? Any help or guidance would be appreciated.

Thank you