I2C C++ Libraries for Neo A9

Discussion in 'UDOO NEO' started by Matt_Neo, Jul 8, 2019.

Tags:
  1. Matt_Neo

    Matt_Neo UDOOer

    Joined:
    Jun 14, 2019
    Messages:
    15
    Likes Received:
    9
    Hi,

    There was one forum posting that answered this question (https://www.udoo.org/forum/threads/i2c-usage.3239/) but it's years old and some of the links on the page it points to are now dead.

    Trying to get I2C comms with a thermal image sensor working (specifically MLX90640 if it matters). Want to communicate with it from a C++ program running on the A9 side of Neo (so from Ubuntu). The sensor MFR has designed their FW to interface with mbed I2C, but mbed is a monstrosity and I don't think it's possible to use those mbed libraries from Neo A9 anyway (correct me if this is wrong).

    So looking for an I2C library that will definitely run on the A9 Neo Ubuntu, and having a surprisingly hard time finding this. Also tried libi2c from https://github.com/amaork/libi2c, but that doesn't seem to initially compile with either gcc or g++ on Neo Ubuntu.

    Can anyone please recommend a C++ I2C library that someone has actually used from the Neo A9 side? At this point really just need to issue the start and stop conditions on the bus and read/write and seems this shouldn't be hard.

    Thanks very much if anyone can help.
     
  2. ektor5

    ektor5 Administrator Staff Member

    Joined:
    Jul 1, 2013
    Messages:
    97
    Likes Received:
    48
    evaloverde likes this.
  3. Matt_Neo

    Matt_Neo UDOOer

    Joined:
    Jun 14, 2019
    Messages:
    15
    Likes Received:
    9
    Thanks very much, ektor5. I'll check that out and give it a try.
     

Share This Page