I just wanted to test my new logic analyzer on my rpi3 model B V1.2.
raspian 4.9.57-v7+ #1045 SMP Fri Oct 20 11:44:49 BST 2017 armv7l GNU/Linux
Connected SDA1 and SCL1 and ground (Pins 3,5,6).
in /boot/config.txt I have dtparam=i2c_baudrate=400000
just did a i2cdetect -y 1 and get some clock data on SCL1 with only 250kHz.
in this article, https://periph.io/platform/raspberrypi/ I found that for getting a clock close to 400kHz clock I have to set dtparam=i2c_baudrate=600000
Why is the parameter setting broken?
ok, I can set dtparam to 600000 for my application, but what will happen if newer OS versions will implement this parameter in the right way?
Is there a sysfs function to retrieve the real i2c clock speed?