Aleksey Gavrikov Posted September 26, 2020 Share Posted September 26, 2020 You need to connect the equipment via the I2C bus with a frequency of 1 kHz or 10 kHz to Orange pi 3 (OS Armbian Buster with Linux 5.3.9-sunxi64). Supported setting of these frequencies and how to change correctly? Recoded sun50i-h6-orangepi-3.dtb to dts: cd /boot/dtb/allwinner/ dtc -I dtb -O dts -o sun50i-h6-orangepi-3.dts ./sun50i-h6-orangepi-3.dtb nano ./sun50i-h6-orangepi-3.dts What should be done next to set the frequency of 1 kHz or 10 kHz to the i2c-0 bus? Thanks. 0 Quote Link to comment Share on other sites More sharing options...
martinayotte Posted September 27, 2020 Share Posted September 27, 2020 18 hours ago, Aleksey Gavrikov said: What should be done next to set the frequency of 1 kHz or 10 kHz to the i2c-0 bus? I2C standard clock are usually 100KHz or 400KHz, but you can try other values. Here is the doc, the parameter is "clock-frequency" : https://www.kernel.org/doc/Documentation/devicetree/bindings/i2c/i2c-designware.txt 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.