OSError on nRF52840 when accessing I2c-BNO080

  • microcontroller I am using: https://www.sparkfun.com/products/15025

    Sensor i am using: https://www.sparkfun.com/products/14686

    circuitpython repo link which shows that this issue is related to sparkfun not with circuit python: https://github.com/adafruit/circuitpyth … -775254645


  • I get following error when accessing the SparkFun VR IMU Breakout - BNO080 (Qwiic) using I2C from SparkFun Pro nRF52840. I am using Circuit python 6.0.

    code.py output:
    Traceback (most recent call last):
      File "code.py", line 8, in <module>
      File "adafruit_bno08x/i2c.py", line 27, in __init__
      File "adafruit_bno08x/__init__.py", line 506, in __init__
      File "adafruit_bno08x/__init__.py", line 512, in initialize
      File "adafruit_bno08x/__init__.py", line 1054, in soft_reset
      File "adafruit_bno08x/i2c.py", line 42, in _send_packet
      File "adafruit_bno08x/i2c.py", line 42, in _send_packet
      File "adafruit_bus_device/i2c_device.py", line 102, in write
    OSError: [Errno 19] Unsupported operation
    

    TEST CODE

    import time
    import board
    import busio
    import adafruit_bno08x
    from adafruit_bno08x.i2c import BNO08X_I2C
    
    i2c = busio.I2C(board.SCL, board.SDA, frequency=400000)
    bno = BNO08X_I2C(i2c)