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:
- Does the Linux I2C driver in the PSP support I2C slave mode?
- 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:
- 7-bit addressing mode
- Fast mode
- Interrupt mode
Features Not Supported
- 7-bit and 10-bit addressing combined format is not supported
- 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