• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    I2C working, but disabled on Raspbian

    UniPi 1 - First Generation
    2
    3
    126
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mglowinski last edited by

      Hi,
      I've noticed that after installing EVOK, I2C is disabled on Raspbian, but still I can communicate with I2C devices.

      I2C disabled in RP4 settings:
      a0d361b2-071d-4c79-b8c6-82533d9e790e-image.png

      I2C devices:

      i2cdetect -y 1
           0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
      00:          -- -- -- -- -- -- -- -- -- -- -- -- -- 
      10: -- -- -- -- -- -- -- -- 18 -- -- -- -- -- -- -- 
      20: 20 -- -- 23 -- -- -- -- -- -- -- -- -- -- -- -- 
      30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
      40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
      50: 50 -- -- -- -- -- -- 57 -- -- -- -- 5c -- -- -- 
      60: -- -- -- -- -- -- -- -- 68 -- -- -- -- -- -- UU 
      70: -- -- -- -- -- -- -- -- 
      

      I wonder how this is possible. Is there some electronic element, which is handing I2C communication on UniPi 1.1? If yes, what is default speed of it?

      Martin Kudláček 1 Reply Last reply Reply Quote 0
      • Martin Kudláček
        Martin Kudláček @mglowinski last edited by

        Hi @mglowinski,
        the I2C is enabled in a standard way by device tree overlays. The tool you are using (Raspberry Pi Configuration) probably expects the settings in their own way and don't understand the ours.

        1 Reply Last reply Reply Quote 0
        • M
          mglowinski last edited by

          @Martin-Kudláček Do you maybe know how i can check current speed of I2C, which is set over device tree overlays?

          1 Reply Last reply Reply Quote 0
          • First post
            Last post