www.8devices.com
|
|
Author |
Message |
Felicitus
Joined: 29 Apr 2013, 10:06 Posts: 20
|
As Carambola2 lacks I²C support, I'm wondering if some of you already have solved this; for example, via SPI-I²C bridges.
In particular, a device which is already supported by Linux would be very neat. Any ideas?
Thanks Felicitus
|
26 May 2013, 15:06 |
|
|
tty
Joined: 18 Mar 2012, 19:06 Posts: 52
|
|
27 May 2013, 10:03 |
|
|
Felicitus
Joined: 29 Apr 2013, 10:06 Posts: 20
|
That's pretty neat, thank you for sharing! I originally thought that I need a SPI->i²C bridge, but that's elegant, too!
|
27 May 2013, 10:08 |
|
|
old_europe
Joined: 08 Oct 2013, 18:13 Posts: 5
|
|
08 Oct 2013, 19:38 |
|
|
hutorny
Joined: 11 Jun 2013, 11:34 Posts: 39
|
|
12 Oct 2013, 15:26 |
|
|
tty
Joined: 18 Mar 2012, 19:06 Posts: 52
|
|
12 Oct 2013, 22:04 |
|
|
hutorny
Joined: 11 Jun 2013, 11:34 Posts: 39
|
|
13 Oct 2013, 04:51 |
|
|
tty
Joined: 18 Mar 2012, 19:06 Posts: 52
|
Because of not true_I2c bus I am afraid there are not open drain pins. Have a look at this:
PU/PD Resistance 200 kOm
Attachments:
gpio_c.png [ 32.41 KiB | Viewed 13914 times ]
|
13 Oct 2013, 09:47 |
|
|
hutorny
Joined: 11 Jun 2013, 11:34 Posts: 39
|
|
13 Oct 2013, 13:03 |
|
|
tty
Joined: 18 Mar 2012, 19:06 Posts: 52
|
There is a 2.2K resistor on each I2C line. The lines are effectively pulled up to 3.3V, resulting in approximately 1.5 mA of pull-up current. A good rule of thumb is that if a downstream I2C device can sink more than 5 mA of current, the protocol should operate properly. I think there is no problem to stretch SCL, you can try it.
|
13 Oct 2013, 16:25 |
|
|
Who is online |
Users browsing this forum: No registered users |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|