mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
470208e685
The former correction factors were determined by measuring the resulting clocks without a device connected to the bus. However, when testing the changes for low CPU clock frequencies, it was figured out that the clocks not only depend on configured register values _i2c_hw[dev].regs->scl_low_period.period _i2c_hw[dev].regs->scl_high_period.period but also on the bus capacity. Obviously, the register values are not absolute times in APB clock cycles, but rather times that start as soon as the corresponding level is reached. In this case, the higher the bus capacity, the longer the period would be. This means that the clock speed cannot be precisely controlled via the correction factors anyway. For this reason, and because the I2C implementation in ESP-IDF also does not use correction factors, they were removed. |
||
---|---|---|
.. | ||
bin | ||
esp-eth | ||
freertos | ||
include | ||
ld | ||
periph | ||
vendor | ||
doc.txt | ||
esp32.config | ||
esp_xtimer.c | ||
irq_arch.c | ||
Kconfig | ||
Makefile | ||
Makefile.default | ||
Makefile.dep | ||
Makefile.features | ||
Makefile.include | ||
startup.c | ||
syscalls.c |