I2C - Wire Library crashing when setting clock frequency > 142857 Hz #8772
Labels
Area: Peripherals API
Relates to peripheral's APIs.
Status: In Progress
Issue is in progress
Type: Bug 🐛
All bugs
Type: Regression
Result of unforeseen consequences of a previous change
Milestone
Board
ESP32 Dev Module
Device Description
ESP32 Dev Module, nothing connected.
Hardware Configuration
Just the bare board, it is not necessary to have an I2C device connected to reproduce the crash.
Version
latest master (checkout manually)
IDE Name
VSCode PlatformIO, Arduino IDE
Operating System
Windows 11
Flash frequency
80 MHz
PSRAM enabled
no
Upload speed
921600
Description
In the latest version with IDF 5.1, something has changed, and whenever we attempt to set the clock speed for the I2C bus to a value greater than 142857 Hz (e.g., 400 KHz), this assertion
assert(scl_high > 13)
fails.Sketch
Debug Message
Other Steps to Reproduce
It happens on normal Arduino core, and when use as IDF component.
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: