High latency with BNO085 => QT PY => Serial

For Adafruit customers who seek help with microcontrollers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
snusmumriq
 
Posts: 1
Joined: Sun Jan 17, 2021 9:46 am

High latency with BNO085 => QT PY => Serial

Post by snusmumriq »

Hi,
We are connecting BNO085 through qt py and then to the PC via USB (Serial) using arduino code with UsbTiny stack.
The code is very similar to the IMU example reporting SH2_GAME_ROTATION_VECTOR, and we see more than 70ms of latency from movement to the moment the data is read on the PC.

We're not sure where does the latency come from, suspecting mostly USB CDC interface, but perhaps there is some other issue?
It there a way to control buffering on the device side, or any other way to minimize latency?
Our target is to get somewhere around 10ms total latency, can it even be attained on 48Mhz M0?

Regards,
Michael

Locked
Please be positive and constructive with your questions and comments.

Return to “Microcontrollers”