New /dev/*** -> 2nd i2c Port - how to do it?

New /dev/*** -> 2nd i2c Port - how to do it?

Postby daniel_dbb » Sat Sep 24, 2016 5:30 am

Hello,

I am new in Parallella world and would like to install additional, 2nd, i2c Port next to existing Port 0.
Does someone have a link or procedure what to first and how?
I started with i2c tools, FGPA and MIO configuration but I am not sure if this is the right start. Then I tried to rewrite devicetree ...
It would be nie if I (we) could get Example which could be used also for integrating other devices to Linux? :)

Thanks for any help!

Kind regards,
Daniel
daniel_dbb
 
Posts: 6
Joined: Thu Jun 09, 2016 11:17 pm

Re: New /dev/*** -> 2nd i2c Port - how to do it?

Postby sebraa » Sun Sep 25, 2016 11:16 am

You need to create a I2C controller, and synthesize it for the FPGA (creating a new bitstream). Then, you need to change the device-tree to tell Linux about it, so that it can load the appropriate device driver.

There are some examples of how to create new devices within the FPGA and use them from Linux, but not for I2C (and, as far as I am aware, without support for the Epiphany).
sebraa
 
Posts: 492
Joined: Mon Jul 21, 2014 7:54 pm


Return to Just for Fun

Who is online

Users browsing this forum: No registered users and 1 guest