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.

Clearfog[Pro] I²C Devices

Featured Replies

Hi,

 

out of interest I was checking the I²C Devices connected to the ClearfogPro.

So this is thought as a small guide to the i2c bus. 

 

The second i2c bus goes straight to the mikrobus/click header so there is nothing on default.

 

---

 

i2cdetect for bus 0 gave me:

     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- 4c -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- 64 -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

 

Device 0x20 )   After checking the device tree and schematics, the device at 0x20 is the IO Expander used by a driver.

 

Device 0x4c )

The 0x4c device is also listed in the dt.  As the AD Converter for mikrobus/click header. I confirmed this working.

You can use this, to read the current value.

i2cget 0 0x4c 0x99 w

0x4c is the bus address. 0x99 is the data address according to the MCP3021 datasheet, w means we want to get a word. 

It then returns the current value, which can be interpreted by using the formula from the datasheet.

 

Device 0x64 ) I don't know what is on the bus here. Neither the datasheet nor the device tree mentions anything, does anyone know?

 

---

 

I2C Flash 24AA025UID )

The datasheet mentions the flash chip is only assembled in DNP assembly (checked not on my board) so this device is not available.

 

 

 

I hope this helps someone else understand how to use the analog input pin and maybe give me a hint whats at 0x64.

 

 

 

 

Greetings,

count-doku

 

 

 

 

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.