Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adafruit_bus_device: Don't transmit STOP condition in write_then_readinto #3847

Merged
merged 1 commit into from
Dec 18, 2020

Conversation

jepler
Copy link
Member

@jepler jepler commented Dec 18, 2020

Testing performed: on esp32s2 kaluga with LC709203 sensor on the pins shown below, use the repl to check the cell voltage:

>>> import board, busio, adafruit_lc709203f; bus = busio.I2C(board.IO10, board.IO11); dev = adafruit_lc709203f.LC709023F(bus); print(dev.cell_voltage)
3.807

(this bug is not esp32s2 specific and was reported to affect other ports as well, but the LC7… sensor is sensitive to this bug in a way other sensors apparently are not)

Closes #3795

@jepler jepler requested a review from gamblor21 December 18, 2020 17:17
@ladyada
Copy link
Member

ladyada commented Dec 18, 2020

didnt test on hardware but verified that write_then_readinto is repeated start but that plain write() is not!

@jepler jepler merged commit fd21ff5 into adafruit:main Dec 18, 2020
@jepler jepler deleted the issue-3795 branch November 3, 2021 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CRC failure reading word in 6.1.0-beta.2
2 participants