I changed bitrate (100000 to 400000),but SCL can't up to 400khz.now I don't know where need to configure.
Solved! Go to Solution.
Hi @cotway,
I hope you are doing well.
One should change the value of clock frequency into the respective device tree on the i2c node at a particular address.
I've shared one example for reference, please take a look at it.
i2c@70038000 { /* HS-I2C on i.MX51 */
compatible = "fsl,imx51-i2c", "fsl,imx21-i2c";
reg = <0x70038000 0x4000>;
interrupts = <64>;
clock-frequency = <400000>;
};
Thanks & Regards,
Dhruvit Vasavada
Hi @cotway,
I hope you are doing well.
One should change the value of clock frequency into the respective device tree on the i2c node at a particular address.
I've shared one example for reference, please take a look at it.
i2c@70038000 { /* HS-I2C on i.MX51 */
compatible = "fsl,imx51-i2c", "fsl,imx21-i2c";
reg = <0x70038000 0x4000>;
interrupts = <64>;
clock-frequency = <400000>;
};
Thanks & Regards,
Dhruvit Vasavada