juhasch / pyBusPirateLite

Python library for BusPirate
https://pybuspiratelite.readthedocs.io/en/latest/
Other
58 stars 33 forks source link

I2C: Prevent corruption in aux() due to NACK #21

Closed HansAnderson closed 5 years ago

HansAnderson commented 5 years ago

In I2C.aux() the command should be checked before writing anything, or else the BusPirate will be left in an odd state. An ACK should be found before writing the command. In community firmware ~7.1, a second ACK is present, but not documented on the wiki.