Go to previous topic
Go to next topic
Last Post 20 Mar 2015 01:38 PM by  Adam Ford
I2C
 1 Replies
Author Messages
Sergey Brandis
New Member
New Member
Posts:79


--
19 Mar 2015 09:55 AM

     Hi  ! 

     

     We want connect DM3730 with PLD through I2C interface. Can we send some samples ,how to work I2C in DM3730?

     

    Regards,

    Sergey

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    20 Mar 2015 01:38 PM
    The easiest thing to go quickly is to use i2cset and i2cget.

    There are some examples in section 4.19 of the Linux User Guide found: http://support.logicpd.co...talid=0&EntryId=1392

    You should be able to read and write the i2c bus.

    If you want to see the code for the i2c tools, enter the following:

    ./ltib -p i2c-tools -m prep

    From there, you'll get the source that builds the tools. It should help point you along.

    adam



    ---