Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Change I2C Clock in Tinkerboard S with Armbian

Featured Replies

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

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.

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.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.