I have an A10 Lime board, with an A20 processor, and am running the A20 based 3.4.90-series-3 kernel/image.
I'm trying to connect an I2C device: I noticed I have 4 i2c devices in /dev: /dev/i2c-0 to /dev/i2c-3.
How/where can I find out which pins (on which connector) are the respective I2C SDA and CLK signals?
Any help would be greatly appreciated.
~ Paul
I already found it ...
The pin mappings are in the file /opt/sunxi-tools/script.fex
And the prefix for the i2c pins/device is 'twi' (for 'two wire interface').
<rant>
Next step is to hook up an actual I2C device, which made me realize how utterly useless these 0.05" GPIO connectors are: since this is an eval/hobby board, I could have lived (preferred to, actually) with a larger board with the more practical 0.1" connectors. ;-)
</rant>
Olimex sell boards like you mention and also connectors/converters for what you have.
John
Thank John, for the tip.
I already bought them at the microcontrollershop.com.
(But I would have preferred not having to invest in additional adapter boards and cables ;-) )
I'm glad you got them. To avoid it in future just buy a different Olimex board with the spacing you want :)
John