06-12-2020 09:50 PM - edited 06-12-2020 09:51 PM
There is a calibration calib_profile_example.c example in the BHY SDK but it is not documented by any datasheet (in my case, the BHI160).
The code at the link below shows the struct ts_calibparam and how to read it but not how to interpret the fields. For example, what is the meaning of the "radius" field for an accelerometer calibration?
Solved! Go to Solution.
06-15-2020 12:40 PM
/*!
* @brief Sensor configuration
* This structure holds calib profile informations
*/
typedef struct
{
s16 x_offset; /** 3-axis offset */
s16 y_offset; /** 3-axis offset */
s16 z_offset; /** 3-axis offset */
s16 radius; /** radius */
}ts_calibparam;
06-16-2020 12:40 AM
These parameters are generated by sensor itself during the calibration thread running in background.
User can read out the offset and radius value after system calbration level goes to 3. then stored in system ROM area.
Next time when system power up, user can restore those calibration parameters back to sensor to speed up the sensor calibration procedure.
That is the reason we don't give document to explain the detail meaning of those structure in datasheet