2009-09-11 10:29:00     Slave Clock Stretch detection with I2C-GPIO driver.

2009-09-11 10:29:00     Slave Clock Stretch detection with I2C-GPIO driver.

zigma dsp (GERMANY)

Message: 79806   

Slave I2C devices can stretch the clock, by pulling the clock line low. Will the I2C device driver using GPIO (for BF533/BF561, and when DSP is the Master) support this case?

QuoteReplyEditDelete

2009-09-11 11:52:18     Re: Slave Clock Stretch detection with I2C-GPIO driver.

Mike Frysinger (UNITED STATES)

Message: 79809   

the bit banging I2C driver is not specific to any Blackfin device.  it'll work the same regardless of the processor you're using.

QuoteReplyEditDelete

2009-09-11 12:01:25     Re: Slave Clock Stretch detection with I2C-GPIO driver.

zigma dsp (GERMANY)

Message: 79811   

So, it does support the Stretching of Clock by a Slave device?

QuoteReplyEditDelete

2009-09-11 12:11:24     Re: Slave Clock Stretch detection with I2C-GPIO driver.

Robin Getz (UNITED STATES)

Message: 79812   

Zigma:

Look at the source. drivers/i2c/busses/i2c-gpio.c

        dev_info(&pdev->dev, "using pins %u (SDA) and %u (SCL%s)\n",

                 pdata->sda_pin, pdata->scl_pin,

                 pdata->scl_is_output_only

                 ? ", no clock stretching" : "");

So, it depends on your GPIO, and platform data.

-Robin

  • Created
Was this helpful?

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.