-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
i2c speed incorrect after error (IDFGH-12366) #13397
Comments
When will this be fixed? |
@nebkat is this issue present also on v4.4 ? |
@KonssnoK I am not a maintainer here - but AFAIK there were no major changes to I2C between 4.4 and 5.1, so it is not impossible that this would also apply to 4.4. You'll have to check the exact source contents to verify. |
@nebkat sorry i saw you committed something and assumed you were involved :D |
Answers checklist.
IDF version.
5.1 and 5.2.1
Espressif SoC revision.
ESP32S3
Operating System used.
Windows
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Development Kit.
own
Power Supply used.
External 5V
What is the expected behavior?
Actual speed on i2c to be as set in i2c_config_t.master.clk_speed
What is the actual behavior?
I configure i2c master with i2c_param_config and clock speed 10'000 Hz and start the driver with i2c_driver_install.
No device attached to the bus (plug&play scenario).
The first write to the device fails as expected and is using 10'000 Hz clock.
From the second write on the clock is 40'000 Hz (measured with idf 5.1).
For comparison, when doing the same with 100'000 Hz (or 40'000 Hz) the clock on the second write is the same as on the first write, as it should be.
Steps to reproduce.
Excerpt from the test program:
stop is true, n is 1
Debug Logs.
No response
More Information.
No response
The text was updated successfully, but these errors were encountered: