Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BNO055 somtimes sends BUS_OVER_RUN_ERROR (0x07) over UART #5

Closed
whatis777 opened this issue Jan 17, 2021 · 4 comments · Fixed by #9
Closed

BNO055 somtimes sends BUS_OVER_RUN_ERROR (0x07) over UART #5

whatis777 opened this issue Jan 17, 2021 · 4 comments · Fixed by #9

Comments

@whatis777
Copy link
Collaborator

whatis777 commented Jan 17, 2021

BNO055 sends back BUS_OVER_RUN_ERROR (0x07) over UART.

This seems to be a known issue when performing regular sensor data queries using UART: https://community.bosch-sensortec.com/t5/MEMS-sensors-forum/BNO55-0x07-error-UART/td-p/14765

Therefor this project is currently logging a regular warning regarding this issue:
[WARN] [1610880440.010281061] [bno055]: Receiving sensor data failed with TransmissionException:"READ-request failed with error code 0x7"

If a project does not depend on a strict cyclic sensor data update, it can just ignore the warning. The data will be there for the next query cycle.

As the severity seems to be very low, should we disable the warning logging to prevent console / log pollution?

@github-actions
Copy link

Thank you for creating your first issue on this repo! Give me some time to review and respond to your problem.

@flynneva
Copy link
Owner

hi @whatis777, good find.

from the link you shared it looks like the recommended course of action is to just resend the read command if connected via UART. within our code I think we could do a similar filter if connected via UART, ignore this 0x07 error and resend a read request.

what do you think?

@whatis777
Copy link
Collaborator Author

I think we could even stick to the regular data request cycle: as there is no realtime guarantee (due to the system design and underlying OS), and as the data query frequency is quite high it shouldn't be a problem if one query cycle does not produce IMU data... the next regular cycle will provide data again a few milliseconds later

@flynneva
Copy link
Owner

@whatis777 finally getting some more bno055's in the mail today, so hopefully should be able to test this some more 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants