Well, I don’t know how, but now a compass is detected. I was surprised to read that there is no compass in this FC, so there is no way to configure it until you have run the GNSS module.
I’m sorry but I can’t tell you how it was resolved. I can only suspect that the I2C connection was not stable or the internal BEC was not supplying enough current. Finally it worked for the tests we wanted to do and this flight controller was disassembled because I didn’t like having all the connections with Dupont connectors.