Jump to content

Recommended Posts

Posted (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 by armbiantinkeruser
Posted

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.

Posted
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).

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines