armbiantinkeruser Posted March 11, 2019 Posted March 11, 2019 (edited) Hey, maybe a stupid question, but how I can change the i2c clock rate in the armbianENV.txt? I have search around the forum and didn't find anything. can someone point me in right direction? Greets Edited March 11, 2019 by armbiantinkeruser
berin Posted April 2, 2019 Posted April 2, 2019 I could be worng, but this is going by memory. As I recall you can manually set I2C clock rates, BUT I believe i2c clock rate is also automatic when the i2c bus handshakes devices on its bus. And finds the speed everything works with. i.e. every device but one is capable of the Mbit data on the same bus and the slow one is 400kbit. Then the hand shake defines 400kbit. Again I could be worng.
martinayotte Posted April 2, 2019 Posted April 2, 2019 On 3/11/2019 at 7:51 AM, armbiantinkeruser said: how I can change the i2c clock rate This is done in the DT itself, under the I2C node with optional parameter : Quote Optional properties: - clock-frequency: the desired I2C bus clock frequency in Hz; in absence of this property the default value is used (100 kHz).
Recommended Posts