You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not sure if I am just missing something, or if there is just no documentation for the error codes.
I am using the BMI088 on a model rocket flight computer for data gathering, but cant get past the initialization phase. I am getting a -5 error code for the accelerometer and a -2 error code for the gyro. I am not sure what these codes mean, and cant find any documentation on it.
If a link to this documentation could be provided it would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
I used the defualt BMI088 accel&gyro .begin() functions, and they returned a -5 and -2 respectively, which i assigned to an int type, that was printed to the serial moniter. I resolved this by removing the softreset() calls from the begin() functions, so it is working now but I still dont know what the error codes mean
if you go the library you can monitor what each error type code mean for example this is what you can find:
/* enable the accel /
if (!setPower(true)) {
return -2;
}
/ enter active mode /
if (!setMode(true)) {
return -3;
}
/ self test /
if (!selfTest()) {
return -4;
}
/ soft reset /
softReset();
/ enable the accel /
if (!setPower(true)) {
return -5;
}
/ enter active mode /
if (!setMode(true)) {
return -6;
}
delay(50);
/ set default range /
if (!setRange(range)) {
return -7;
}
/ set default ODR /
if (!setOdr(odr)) {
return -8;
}
/ check config errors /
if (isConfigErr()) {
return -9;
}
/ check fatal errors */
if (isFatalErr()) {
return -10;
}
maybe there is something wrong with your hardware or communication protocol
I am not sure if I am just missing something, or if there is just no documentation for the error codes.
I am using the BMI088 on a model rocket flight computer for data gathering, but cant get past the initialization phase. I am getting a -5 error code for the accelerometer and a -2 error code for the gyro. I am not sure what these codes mean, and cant find any documentation on it.
If a link to this documentation could be provided it would be greatly appreciated.
The text was updated successfully, but these errors were encountered: