ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Ethernet Expansion & USB Hub: I2C Internal Pull-Up Resistors

    Ask your questions right here!
    1
    3
    17
    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.
    • S
      shawn_ricardo
      last edited by

      Hello,

      I'd like to use J9 2W UART + I2C Port on the Ethernet Expansion & USB Hub.

      Does this port include pull-up resistors? Is there a way to control resistance settings? Do you have recommendations/tutorials on how to use this specific I2C port? I have the circuitry / sensors working on bench using Arduino + RPI (I2C master). Trying to port this functionality to VOXL2 being the I2C master.

      Thank you for any advice!

      Shawn Ricardo

      1 Reply Last reply Reply Quote 0
      • S
        shawn_ricardo
        last edited by shawn_ricardo

        Without and without ethernet expansion hub connected, ls /dev/i2c-* shows the same output:

        voxl2:/$ ll /dev/i2c*
        crw-rw---- 1 root i2c 89, 0 Mar  2  2023 /dev/i2c-0
        crw-rw---- 1 root i2c 89, 1 Mar  2  2023 /dev/i2c-1
        crw-rw---- 1 root i2c 89, 2 Mar  2  2023 /dev/i2c-2
        crw-rw---- 1 root i2c 89, 3 Mar  2  2023 /dev/i2c-3
        crw-rw---- 1 root i2c 89, 4 Mar  2  2023 /dev/i2c-4
        crw-rw---- 1 root i2c 89, 5 Mar  2  2023 /dev/i2c-5
        

        Appears no new i2c interfaces are detected. Is there some software that needs to be configured / enabled?

        Also noticed that no SPI interfaces are newly available:

        voxl2:/$  ls /dev/i2c-*
        /dev/i2c-0  /dev/i2c-1  /dev/i2c-2  /dev/i2c-3  /dev/i2c-4  /dev/i2c-5
        
        1 Reply Last reply Reply Quote 0
        • S
          shawn_ricardo
          last edited by

          For more context, I am only using SDA, SCL, and GND pins

          32367222-3f10-4f8b-bf0c-94778d8a3f9b-image.png

          The MCU runs on 3.3 logic level voltage -- again, was able to work properly with a RPi5 I2C

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB | Contributors