adafruit / u2if

USB to interfaces implementing MicroPython "machine" module functionalities on a computer.
Other
23 stars 10 forks source link

I2C WRITE_THEN_READ in a single transaction #12

Open ryanmesh-sd opened 2 months ago

ryanmesh-sd commented 2 months ago

This allows reading from specific registers in I2C devices without sending two separate commands from the host, which significantly increases latency between the pointer write and read and may cause timeouts in certain I2C devices.

Associated PR in Blinka: https://github.com/adafruit/Adafruit_Blinka/pull/888