Video

V4L2 specifications
USB Video drivers
some other drivers and apps (include a nice video debug tool)
Bayer RGB (raw pixel)

This is a simple i2c bus driver based on openip/gpio for NEEK. See gpio.zip attached. Most I2C tasks are initialization, so you don't really need a hardware I2C core.

There are three I2C buses on NEEK.

    0 - WM8731, ADV7180
    1 - 24LC00
    2 - LCD

 

Kernel config,

Processor type and features -->

[*] GPIO interface

Device Drivers  -->

[*] I2C support  --->

[*]   I2C device interface

       I2C Hardware Bus support  --->

[*] GPIO-based bitbanging I2C

 

i2c from opencores

ellis summaried,

As mentioned by jdhar there is "A ready made avalon component - no need to do all of this." under:
http://via.fps-tech.org/svn/fpga/cores/i2c_master/trunk/
->
copy the folder and files into a folder in your Quartus project
directory, SOPC Builder will find the component automatically. Add the
component to your SOPC Builder system and connect the signals to some
pins.

Or you can find a sopc v7.2/v8.0 ready component,contributed by longshot, in the project area of nios forum,
OpenCores I2C

The single hdl files, some usefull documentation and programming examples (chapter 6 of "I2C_specs.doc")can be found under:
http://www.opencores.org/cvsweb.shtml/i2c/

The opencore i2c component should be named as "i2c_0" and "i2c_1".
Otherwise you will have to modify linux-2.6/arch/nios2/kernel/config.c.

In your top level design: 
      inout            HC_I2C_SCLK;
      inout            HC_I2C_SDAT;
and for component named "i2c_0":
      .i2c_scl_to_and_from_the_i2c_0 (HC_I2C_SCLK),
      .i2c_sda_to_and_from_the_i2c_0 (HC_I2C_SDAT),

Kernel config,

    [*] I2C support  --->
    [*]   I2C device interface
          I2C Hardware Bus support  --->
    [*] OpenCores I2C Controller

NEEK project with i2c from opencores

 A sample project with igor_mac 8.0 ethernet and i2c opencore is available here: NEEK_ocm80_i2c.zip. It was set up mentioned the stuff on top. SDA and SCL are assigned to the special connector on board as shown here:


NEEK-I2C-Pins.png


User space device interface

Please check, linux-2.6/Documentation/i2c/dev-interface .

You can use i2c-tools to help probe and dump,

  Miscellaneous Applications  ---> 
 --- LM SENSORS 
 [*] i2c-tools 


/> ls /usr/sbin
i2cdetect
i2cdump
i2cget
i2cset

 

/> i2cdetect 0

 

Tag page

Files 3

FileSizeDateAttached by 
gpio (1).zip
remove open drain support, q9.0
2.33 kB06:17, 23 Apr 2009hippoActions
 NEEK_ocm80_i2c.zip
No description
3.45 MB02:51, 8 Dec 2008AdminActions
 oc_i2c_master.zip
oc i2c with sopc header defs
204.57 kB01:36, 17 Nov 2009hippoActions
Viewing 2 of 2 comments: view all
The online auction site was found liable for harming the reputation of louis vuitton trademarks,Ebay had been buying keywords such as louis vuitton purses and "Wuiton" so that online shoppers cheap louis vuitton bags misspellings into a search engine, louis vuitton wallets with anyone using the brand's correct spelling, would be directed to llouis vuitton handbags, a Louis Vuitton spokeswoman said.the company name and domain name — all held by LVMH Moet Hennessy louis vuitton.
Posted 01:27, 9 Mar 2010
we will do our best to provide you the products ofreplica handbags herve leger dress Gucci Handbags Burberry Handbags Swiss Watch Brand Chanel Watchesand designer handbags,your satisfaction is what we wish !
Posted 05:01, 15 Mar 2010
Viewing 2 of 2 comments: view all
You must login to post a comment.
SourceForge.net