Here3 gps compass inconsistent

Hi We have an vtol and use here3 gps. we had no problem but now we have this problem "compass inconsistent " we have tryed to calibrate accelerometer and compass but it was not fixed.
our parameters
CAN_D1_PROTOCOL: 1
CAN_D2_PROTOCOL: 1
CAN_P1_DRIVER: 1
CAN_P2_DRIVER: 1
GPS_TYPE: 9
GPS_TYPE2:9
NTF_LED_TYPES: 231
we have one more here3 we tryed whit that and there was no problem. what can be the problem with our here3 ? and one more thing can we use our here3 with I2C ?

Hi the compass and FlightControl’s heading need to be fixed during calibration and flight.

Is there any interference around this unit?

I was setting up a HERE3 on the CAN port
enable
CAN_P1_DRIVER = 1
CAN_P2_DRIVER = 2
After doing this I have an error “NavEKF2: not enough memory available” and it won’t let me connect the mavlink to change the parameters.
I updated to copter 4.4.0 but the can_p2_driver parameters do not return to the factory value.
How can I return to the factory value?