Closed martinmortsell closed 1 year ago
I haven't read the relevant issue yet, nor reviewed the datasheet; after what frequency will problems manifest?
It will depend on the physical characteristics of the specific board you're working with. I have a PCB with a single FRAM on the I2C bus, and 10kOhm pullup resistors and when I set the clock frequency to 400kHz in the HAL I get 325kHz as the actual SCL frequency.
That is fine for me, and fine for most applications - I2C is robust enough to handle longer rise times. And with e.g. 2.2kOhm pullups the rise time would be much smaller and the effect on the frequency less noticable.
Fixes #58 .
Updated the frequency configuration and related documentation. Added comment in I2cConfiguration noting that it will not be accurate for higher frequencies.