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.

AM335x PSP Support for I2C

Other Parts Discussed in Thread: AM3352

Hi Team,

Would you be able to point me in the right direction to find some information?  I’m looking to utilize the I2C peripheral on an AM3352 platform running Linux (TI distro from the PSP).  I am having some trouble finding details on the Linux driver that is provided by the PSP.  I’m working with a customer (Cobalt Digital) and we would like to enable I2C slave functionality on the AM3352.

My questions:

  1. Does the Linux I2C driver in the PSP support I2C slave mode?
  2. Where can I find a more detailed user’s guide for the I2C driver? (Currenly the only description I have is what is in the PSP Performance and Features guide:  http://processors.wiki.ti.com/index.php/AM335x-PSP_04.06.00.08_Features_and_Performance_Guide#I2C_Driver).  This info is shown below.  The PSP User’s Guide (http://processors.wiki.ti.com/index.php/AM335x_PSP_User%27s_Guide) does not mention the I2C driver at all.

 

                     

Driver Features

The driver supports the following features:

  1. 7-bit      addressing mode
  2. Fast mode
  3. Interrupt      mode

Features Not Supported

  1. 7-bit and      10-bit addressing combined format is not supported
  2. DMA mode      is not supported

Supported System Calls

open(),close(),read(),write(),ioctl()

Supported IOCTLs

Constant

Description

I2C_SLAVE_FORCE

Changes   slave address. Slave address is 7 or 10 bits. This changes the address, even   if it is already considered.

I2C_FUNCS

Gets   the adapter functionality

I2C_RDWR

Combined   R/W transfer (one stop only)

 

Thanks,
Walter