Jump to content

Change I2C Clock in Tinkerboard S with Armbian


Recommended Posts

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.

Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

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

Important Information

Terms of Use - Privacy Policy - Guidelines