Closed gerowtj closed 3 years ago
In general, the parameters here in this block of code do not have dedicated registers. The "Parameter transfer process" was implemented to get configuration data into the EM7180 despite a lack of dedicated registers. The parameters in question are poorly documented by EM Micro and what little documentation we have is still requested to not be generally published. Mag transient protection (0x3B) is set to 0.0f to disable the feature; we have found it to more bother than it is worth...
In the Teensy_ST_USFS_Baseline_Calibration_Utility_Acc_WS folder, EM7180.cpp on lines 216-223 of the initSensors routine are several registers that I don't understand:
I've looked in the datasheet for the EM7180 as well as the register map v1.3 document and cannot find a reference to parameters 0x49 or 0x48.
0x3B appears to be the "savedParamByte[0]" register, but why is a float of 0.0 written to it?
And finally 0x34 and 0x35 are single byte registers with 0x35 being read only, so why is the program writing to them?
I'm missing something simple here, please help.
Thanks, Tom