Skip to content

Fix I2C clock divider #2659

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

Merged
merged 1 commit into from
Feb 28, 2020
Merged

Fix I2C clock divider #2659

merged 1 commit into from
Feb 28, 2020

Conversation

mubes
Copy link

@mubes mubes commented Feb 27, 2020

Take clock divider from the hardware rather than a define at the head of the code. Reduces i2c bitrate for 400kbps from around 2Mbps :-)

@arturo182 arturo182 added the mimxrt10xx iMX RT based boards such as Teensy 4.x label Feb 27, 2020
@dhalbert
Copy link
Collaborator

@mubes Did you check the frequencies with a Saleae or similar?

@mubes
Copy link
Author

mubes commented Feb 27, 2020 via email

@mubes
Copy link
Author

mubes commented Feb 28, 2020

the underlying bug has now been found in the SDK and patches submitted. This one is now OK to merge. The checks failed when Github was unwell yesterday but I have no idea how to resubmit a checkjob.

@dhalbert
Copy link
Collaborator

dhalbert commented Feb 28, 2020

I restarted the jobs. I am not sure if you have access to the "Re-run jobs" button, but here's where it is:
image

(edit: on the other hand, it says it's re-running them, but nothing is happening. I'll wait and see. Usually it works, but maybe GitHub is having problems.)

@mubes
Copy link
Author

mubes commented Feb 28, 2020

Not looking good...a one line change and the world of circuitpython comes crashing down. Not even my code is that bad!

@dhalbert
Copy link
Collaborator

Merging anyway, since some i.MX builds succeeded. Attempts to restart the actions failed.

@dhalbert dhalbert merged commit 0c2894c into adafruit:master Feb 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mimxrt10xx iMX RT based boards such as Teensy 4.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants