REXYGEN Community Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Login

    Interfacing SX1509 pin expander

    Communication (RS232, RS485, I2C, SPI, UDP, TCP, ...)
    2
    2
    1.1k
    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.
    • C
      contactform
      last edited by

      Hello.
      I am really impressed with Rexygen.

      I have a question about I2C support on Raspberry Pi. I have SX1509 pin expanders that I would like to interface with. Is this possible?

      Thanks
      Chris

      cechuratC 1 Reply Last reply Reply Quote 0
      • cechuratC
        cechurat @contactform
        last edited by

        Hi Chris,

        thank you for reaching out.

        Yes, it is possible to interface with SX1509 via I2C using REXYGEN. However, it will require a bit of hand-coding.

        Have a look at function block called REXLANG and its function "OpenI2C" - https://www.rexygen.com/doc/PDF/ENGLISH/BRef_ENG.pdf#page=439

        There are also some examples on I2C communication available - "0502 Generic I2C Communication" folder in Examples library (which is part of REXYGEN Studio) - these might help you to see how to implement the I2C communication according to your needs.

        Let us know about your progress.

        Regards, Tomas

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

        This is a community forum for REXYGEN users and fans. Detailed information can be found at REXYGEN homepage.

        There is also an outdated REXYGEN community forum.

        Powered by NodeBB.