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

Lengthen I2C SDA TX hold time #2

Merged
merged 1 commit into from Mar 26, 2021
Merged

Conversation

dhalbert
Copy link

@dhalbert dhalbert commented Mar 26, 2021

Incorporate @fivdi's fix that increases the SDA TX hold time from 1 to 2, as proposed in raspberrypi#273.

This allows the TCS34725 to operate properly. No other sensors have yet appeared to need this fix, but this is a popular sensor.

I took Saleae traces with and without this fix, and aside from the sensor working properly, I don't see any issues. There is no visible slowdown of I2C transactions, for instance.

Thank you, @fivdi!

A step toward fixing adafruit/circuitpython#4082.

@dhalbert
Copy link
Author

I'm not sure why the checks are skipped. @tannewt, do we need to enable something?

@dhalbert dhalbert requested a review from tannewt March 26, 2021 19:12
@fivdi
Copy link

fivdi commented Mar 26, 2021

Thank you, @fivdi!

You're welcome 😃

Copy link
Member

@ladyada ladyada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dhalbert dhalbert merged commit f998690 into circuitpython Mar 26, 2021
@dhalbert dhalbert deleted the fivdi-sda-tx-hold-time branch March 26, 2021 22:52
dhalbert added a commit to dhalbert/circuitpython that referenced this pull request Mar 26, 2021
@tannewt
Copy link
Member

tannewt commented Mar 29, 2021

I'm not sure why the checks are skipped. @tannewt, do we need to enable something?

I don't know why they aren't on.

@dhalbert
Copy link
Author

I think they are being skipped because of this:

if: github.repository_owner == 'raspberrypi'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants