Open
Description
I am trying to get a BNO086 working. I'm getting this error:
Adafruit CircuitPython 8.2.9 on 2023-12-06; Raspberry Pi Pico with rp2040
>>>
>>> import board
>>> import busio
>>> from adafruit_bno08x.i2c import BNO08X_I2C
>>> from adafruit_bno08x import BNO_REPORT_ACCELEROMETER
>>> import board
>>> scl=board.GP17
>>> sda=board.GP16
>>> i2c=busio.I2C(scl,sda)
>>> bno = BNO08X_I2C(i2c, address=0x4b)
>>> bno.enable_feature(BNO_REPORT_ACCELEROMETER)
********** Packet *************
DBG:: HEADER:
DBG:: Data Len: 2
DBG:: Channel: SHTP_COMMAND (0)
DBG:: Sequence number: 4
DBG:: Data:
DBG:: [0x04] 0x01 0x0E
*******************************
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "adafruit_bno08x/__init__.py", line 999, in enable_feature
File "adafruit_bno08x/__init__.py", line 803, in _process_available_packets
File "adafruit_bno08x/__init__.py", line 863, in _handle_packet
File "adafruit_bno08x/__init__.py", line 858, in _handle_packet
File "adafruit_bno08x/__init__.py", line 379, in _separate_batch
RuntimeError: ('Unprocessable Batch bytes', 2)
I'm able to read data every couple of times, but am often getting error messages like this.
Metadata
Metadata
Assignees
Labels
No labels