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

cpu/esp32: use ESP-IDF i2c HAL for ESP32 periph/i2c #18279

Merged
merged 2 commits into from
Jul 17, 2022

Commits on Jul 17, 2022

  1. Configuration menu
    Copy the full SHA
    c0becd2 View commit details
    Browse the repository at this point in the history
  2. cpu/esp_common: port periph/i2c_sw with calculated delays

    Fixed delay values are replaced by calculated delays measured in CPU cycles in I2C software implementation. The advantage is that for each ESP SoC only a clock calibration offset has to be specified. The delay measured in CPU cycles are then then derived from current CPU frequency for the given bus speed. The disadvantage is that the calculated delays are not as precise as the predefined fixed delays.
    gschorcht committed Jul 17, 2022
    Configuration menu
    Copy the full SHA
    06aa8f2 View commit details
    Browse the repository at this point in the history