The Designware I2C controller is not designed to support non-standard I2C clock speeds. If you look in the kernel log (dmesg) you'll see complaints about your 10kHz setting. I have a driver patch (https://github.com/raspberrypi/linux/pull/5853) that changes the way timing is calculated that should support arbitrary speeds (with limits), but the feedback has not been uniformly positive so it has not been merged yet.
You can install a trial kernel by waiting about 40 minutes (so until about 16:30GMT) and then running:Beware: this installs a beta kernel, so be sure to back up any important data first.
You can install a trial kernel by waiting about 40 minutes (so until about 16:30GMT) and then running:
Code:
$ sudo rpi-update pulls/5853
Statistics: Posted by PhilE — Fri Jan 26, 2024 3:49 pm