www.8devices.com
View unanswered posts | View active topics It is currently 27 Apr 2024, 17:57



Reply to topic  [ 4 posts ] 
 Config for second I2C 
Author Message

Joined: 04 Oct 2012, 11:57
Posts: 21
Hi,

could someone give me a hint how to configure a second I2C port by using two GPIO pins?
I mean what files to touch or some howtos related to the rt305x?

Thanks
Michael


11 Jan 2013, 08:58
Profile

Joined: 25 Oct 2012, 06:24
Posts: 26
There is only one hardware-I2C on the RT3050 SoC.

If you need a second one you have to do it in software.


11 Jan 2013, 09:44
Profile

Joined: 04 Oct 2012, 11:57
Posts: 21
Hi,

i know... Is the use of kmod-i2c-gpio-custom like described here:
http://linux-adm5120.sourceforge.net/openwrt/i2c/
the right way to go?

Michael


11 Jan 2013, 09:52
Profile

Joined: 26 May 2012, 01:19
Posts: 66
I believe the carambola is already using bit bang GPIO for its existing I2C. With that being said, you should be able to use another pair of GPIO for I2C or existing pair. When loading the module, you can specify a 2nd bus with parameters bus<number>=<bus number>,<gpio1>,<gpio2>


11 Jan 2013, 15:27
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

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

Search for:
Jump to:  
cron

Protected by Anti-Spam ACP Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.