2010-12-03 07:17:55     BF527 I2C Port Master and Slave Functionality

Document created by Aaronwu Employee on Aug 25, 2013
Version 1Show Document
  • View in full screen mode

2010-12-03 07:17:55     BF527 I2C Port Master and Slave Functionality

Appalayagari Sreedhar (INDIA)

Message: 96448   

 

Hi,

 

I am working with the BF527 Rev 0.2 DSP custom board, 2009R1-RC1 distribution.

 

In the custom board there are 3 i2c slave devices connected to the i2c port of BF527.

 

BF527 i2c port as master and devices are acting as saves, now a new device is connected which will act as a master.

 

new device as master and BF527 as slave. I have 2 questions.

 

1. will it be possible to have both the master and slave operations simultaneously in the software?

 

2. do we have the supported apis for slave operation? if so can you please provide the link.

 

Thank you.

QuoteReplyEditDelete

 

 

2010-12-03 07:24:53     Re: BF527 I2C Port Master and Slave Functionality

Mike Frysinger (UNITED STATES)

Message: 96450   

 

the linux kernel does not support I2C buses as slaves.  you'll need to implement your own driver to handle it.

QuoteReplyEditDelete

 

 

2010-12-22 07:19:30     Re: BF527 I2C Port Master and Slave Functionality

Appalayagari Sreedhar (INDIA)

Message: 96948   

 

Dear Mike,

 

The document says the following APIs available.

 

  docs.blackfin.uclinux.org/doku.php?id=i2c

 

 

i2c_slave_send and i2c_slave_recv.

 

I searched in 2009R1-RC1 i could not find them, In which distribution it is available?

 

Thank you.

QuoteReplyEditDelete

 

 

2010-12-22 09:25:41     Re: BF527 I2C Port Master and Slave Functionality

Mike Frysinger (UNITED STATES)

Message: 96953   

 

ive fixed the documentation

QuoteReplyEditDelete

Attachments

    Outcomes