This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

about I2C driver of dm355 evm

hi,all

     I buy dm355 evm; I know about the driver of I2C on dm355 evm to support master mode;

if  I think that the periphery of microprocessor will communicate with dm355 by I2C interface.microprocessor is master mode,I2c of dm355 is slave mode;

whether tell me to support or not?

if DM355 support ,how to modify I2C driver to implement it?

Thank you!

  • The hardware supports both master and slave i2c mode.  See i2C User Guide for more details: http://focus.ti.com/lit/ug/spruee0a/spruee0a.pdf

    I believe the I2C Linux driver may have some support for i2c slave mode built-in already (see SPRS496.pdf doc included in DVSDK); I see support for an I2C_SLAVE_FORCE ioctl you may be able to use; unfortunately, I do not know of anyone using this thus far.

  • I possibly  do not  give expression to my idea.

    I know about the I2C linux driver in details;it only support master mode (dm355 provides clock signal  of SCL with give peripheral equipment of I2C device);

    now,I need working as following:

              The peripheral microprocessor provides  clock signal of SCL with I2c of dm355, The peripheral microprocessor  is the master-transmit/master-receiver;

    dm355 is the slave-transmit/slave-receiver.

    please tell me whether to support or not?

    if the I2C linux driver of dm355 evm do not support it ,how to modify I2C driver to implement it?

    Thnk you!

  • stanlerwang said:

    please tell me whether to support or not?

    Yes, the hardware does support slave or master mode; this is explained in the following doc: http://focus.ti.com/lit/ug/spruee0a/spruee0a.pdf

    stanlerwang said:

    if the I2C linux driver of dm355 evm do not support it ,how to modify I2C driver to implement it?

    There may be some i2c slave mode built-in to the driver already (see SPRS496.pdf doc included in DVSDK); specifically, I see support for an I2C_SLAVE_FORCE ioctl you may be able to use described in this document.

    Aside from this, we do provide the source code for i2c driver which you are free to modify to suit your needs; we will be happy to assist you with hardware specific questions, but you will pretty much be in the hook for the software modifications yourself.