|
I2C ip core integration for ALTERA FPGAs
by Unknown on Mar 31, 2004 |
Not available! | ||
|
I´m new to opencores.org and I want to integrate a simple I2C Bus Master Interface in an ALTERA Apex / Cyclone / Stratix Device with QuartusII and SOPC Builder. I do not need the complex wishbone version of the I2C core. I´m happy with the simple I2C Bus Master which can be found in I2C.vhd. Is there any documentation available for this version ? Or can anyone give some advice how to connect this core to the ALTERA Avalon Bus and the ALTERA Nios Soft-Processor ? Thank you... Christian. |
|||
|
I2C ip core integration for ALTERA FPGAs
by Unknown on Apr 2, 2004 |
Not available! | ||
|
I´m new to opencores.org and I want to integrate a simple I2C Bus Master Interface in an ALTERA Apex / Cyclone / Stratix Device with QuartusII and SOPC Builder. I do not need the complex wishbone version of the I2C core. I´m happy with the simple I2C Bus Master which can be found in I2C.vhd. Is there any documentation available for this version ? Or can anyone give some advice how to connect this core to the ALTERA Avalon Bus and the ALTERA Nios Soft-Processor ? Thank you... Christian. The simple i2c bus master is an older project. It's not supported anymore, the wishbone_i2c_master core is the core to be used. Having said that the core is usable and tested in hardware. However not guaranteed to be fully bug free. See the ds1621 interface on how to use the core. Please note that the wishbone bus on the wishbone_i2c_master is a very simple interface (8bit wishbone classic). It doesn't add complexity to the core, but merely provides a standardized interface. I strongly recommend using the wishbone compliant core. Richard |
|||
|
I2C ip core integration for ALTERA FPGAs
by Unknown on Apr 2, 2004 |
Not available! | ||
|
Hi Christian,
you can easily connect the I2C Wishbone core to the NIOS processor (I don't know
the simple I2C core).
1. Within SOPC builder, generate interface to user logic.
2. Select bus interface type: avalon register slave.
3. Add "i2c_master_top.v" design file.
4. Read port list from file.
5. Connect the signals as follow:
wb_adr_i address
wb_dat_i writedata
wb_dat_o readdata
wb_we_i write
wb_stb_i chipselect
wb_cyc_i chipselect
wb_inta_o irq
wb_clk_i clk
wb_ack_o waitrequest_n
wb_rst_i always0
arst_i reset_n
scl_pad_i export
scl_pad_o export
scl_padoen_o export
sda_pad_i export
sda_pad_o export
sda_padoen_o export
6. Under timing tab, leave the setup, wait and hold settings at 0 cycles.
You can now access the I2C core via included "oc_i2c_master.h".
Hope this helps.
Guido.
_____________________________________________________________
Guido Kuhlmann
Tigris Elektronik GmbH http://www.tigris.de
_____________________________________________________________
-----Original Message-----
From: cores-bounces at opencores.org
[mailto:cores-bounces at opencores.org]On
Behalf Of c.scherp at 3d-alliance.de
Sent: Wednesday, March 31, 2004 10:31 AM
To: cores at opencores.org
Subject: [oc] I2C ip core integration for ALTERA FPGAs
I´m new to opencores.org and I want to integrate a simple I2C
Bus Master Interface
in an ALTERA Apex / Cyclone / Stratix Device with QuartusII
and SOPC Builder. I do
not need the complex wishbone version of the I2C core. I´m
happy with the simple
I2C Bus Master which can be found in I2C.vhd. Is there any
documentation available
for this version ? Or can anyone give some advice how to
connect this core to the
ALTERA Avalon Bus and the ALTERA Nios Soft-Processor ? Thank you...
Christian.
_______________________________________________
http://www.opencores.org/mailman/listinfo/cores
|
|||
|
I2C ip core integration for ALTERA FPGAs
by Unknown on Apr 15, 2004 |
Not available! | ||
|
Hallo Guido,
it works ! Thank you very much for helping me !
Christian.
Datum: Fri, 2 Apr 2004 14:22:33 +0200
Von: "Guido Kuhlmann"
Guido.Kuhlmann at tigris.de>
Betreff: RE: [oc] I2C ip core integration for
ALTERA FPGAs
An: "'Discussion list about free open source IP
cores'" cores at opencores.org>
Antwort an: Guido.Kuhlmann at tigris.de,
Discussion list about free open source IP
cores cores at opencores.org>
[ Doppelklick auf diese Zeile zeigt Optionen für Abo-Liste ]
Hi Christian,
you can easily connect the I2C Wishbone core to the NIOS
processor (I don't know
the simple I2C core).
1. Within SOPC builder, generate interface to user logic.
2. Select bus interface type: avalon register slave.
3. Add "i2c_master_top.v" design file.
4. Read port list from file.
5. Connect the signals as follow:
wb_adr_i address
wb_dat_i writedata
wb_dat_o readdata
wb_we_i write
wb_stb_i chipselect
wb_cyc_i chipselect
wb_inta_o irq
wb_clk_i clk
wb_ack_o waitrequest_n
wb_rst_i always0
arst_i reset_n
scl_pad_i export
scl_pad_o export
scl_padoen_o export
sda_pad_i export
sda_pad_o export
sda_padoen_o export
6. Under timing tab, leave the setup, wait and hold settings at 0
cycles.
You can now access the I2C core via included "oc_i2c_master.h".
Hope this helps.
Guido.
______________________________________________________
_______
Guido Kuhlmann
Tigris Elektronik GmbH http://www.tigris.de
______________________________________________________
_______
-----Original Message-----
From: cores-bounces at opencores.org
[mailto:cores-bounces at opencores.org]On
Behalf Of c.scherp at 3d-alliance.de
Sent: Wednesday, March 31, 2004 10:31 AM
To: cores at opencores.org
Subject: [oc] I2C ip core integration for ALTERA FPGAs
I´m new to opencores.org and I want to integrate a simple I2C
Bus Master Interface
in an ALTERA Apex / Cyclone / Stratix Device with QuartusII
and SOPC Builder. I do
not need the complex wishbone version of the I2C core. I´m
happy with the simple
I2C Bus Master which can be found in I2C.vhd. Is there any
documentation available
for this version ? Or can anyone give some advice how to
connect this core to the
ALTERA Avalon Bus and the ALTERA Nios Soft-Processor ? Thank you...
Christian.
_______________________________________________
http://www.opencores.org/mailman/listinfo/cores
_______________________________________________
http://www.opencores.org/mailman/listinfo/cores
--
3D Alliance GmbH
Hauptstr. 46
35649 Bischoffen
Tel. 06444 / 93 19 - 0
Fax. 06444 / 93 19 - 12
|
|||
|
I2C ip core integration for ALTERA FPGAs
by Unknown on Jan 21, 2005 |
Not available! | ||
|
Hi,
I tried to use this I2C core(the VHDL version) in a NIOS2 system with
quartus 2(4.1) I connected everything like stated below, but I get no
response from it when I write to a register.
I did not connect the other end of the I2C chanel because I want to
make sure it was connected properly. Could that be the problem?
I used the following commands to try to send something:
[code]
IOWR_8DIRECT(I2C_BASE,OC_I2C_CR,IORD_8DIRECT(I2C_BASE,
OC_I2C_CR)|OC_I2C_EN); //chip enable
IOWR_8DIRECT(I2C_BASE,OC_I2C_PRER_LO,0x50);//set prescaler
IOWR_8DIRECT(I2C_BASE,OC_I2C_PRER_HI,0x00);
IOWR_8DIRECT(I2C_BASE,OC_I2C_TXR,0xAC);// set write adres
IOWR_8DIRECT(I2C_BASE,OC_I2C_SR,(IORD_8DIRECT
(I2C_BASE,OC_I2C_SR)|OC_I2C_STA|OC_I2C_WR));//set some other bits
printf("%x\n",IORD_8DIRECT(I2C_BASE,OC_I2C_SR));// check (i get
FF!?)
while(IORD_8DIRECT(I2C_BASE,OC_I2C_SR)& OC_I2C_TIP);
printf("%x\n",IORD_8DIRECT(I2C_BASE,OC_I2C_SR));
IOWR_8DIRECT(I2C_BASE,OC_I2C_TXR,0x5C);
printf("%x\n",IORD_8DIRECT(I2C_BASE,OC_I2C_SR));
IOWR_8DIRECT(I2C_BASE,OC_I2C_SR,(IORD_8DIRECT
(I2C_BASE,OC_I2C_SR)|OC_I2C_STO|OC_I2C_WR));
[/code]
Hope someone can help,
David
----- Original Message -----
From: c.scherp at 3...c.scherp at 3...>
To:
Date: Thu Apr 15 16:20:50 CEST 2004
Subject: [oc] I2C ip core integration for ALTERA FPGAs
Hallo Guido,
it works ! Thank you very much for helping me !
Christian.
Datum: Fri, 2 Apr 2004 14:22:33 +0200
Von: "Guido Kuhlmann"
Guido.Kuhlmann at t...>
Betreff: RE: [oc] I2C ip core integration for
ALTERA FPGAs
An: "'Discussion list about free open source IP
cores'" cores at o...>
Antwort an: Guido.Kuhlmann at t...,
Discussion list about free open source IP
cores cores at o...>
[ Doppelklick auf diese Zeile zeigt Optionen für Abo-Liste ]
Hi Christian,
you can easily connect the I2C Wishbone core to the NIOS
processor (I don't know
the simple I2C core).
1. Within SOPC builder, generate interface to user logic.
2. Select bus interface type: avalon register slave.
3. Add "i2c_master_top.v" design file.
4. Read port list from file.
5. Connect the signals as follow:
wb_adr_i address
wb_dat_i writedata
wb_dat_o readdata
wb_we_i write
wb_stb_i chipselect
wb_cyc_i chipselect
wb_inta_o irq
wb_clk_i clk
wb_ack_o waitrequest_n
wb_rst_i always0
arst_i reset_n
scl_pad_i export
scl_pad_o export
scl_padoen_o export
sda_pad_i export
sda_pad_o export
sda_padoen_o export
6. Under timing tab, leave the setup, wait and hold settings at 0
cycles.
You can now access the I2C core via included
"oc_i2c_master.h".
Hope this helps.
Guido.
______________________________________________________
_______
Guido Kuhlmann
Tigris Elektronik GmbH http://www.tigris.de
______________________________________________________
_______
> -----Original Message-----
> From: cores-bounces at o...
> [mailto:cores-bounces at o...]On
> Behalf Of c.scherp at 3...
> Sent: Wednesday, March 31, 2004 10:31 AM
> To: cores at o...
> Subject: [oc] I2C ip core integration for ALTERA FPGAs
>
>
>
> I´m new to opencores.org and I want to integrate a simple
I2C
> Bus Master Interface
> in an ALTERA Apex / Cyclone / Stratix Device with QuartusII > and SOPC Builder. I do > not need the complex wishbone version of the I2C core. I´m
> happy with the simple
> I2C Bus Master which can be found in I2C.vhd. Is there any > documentation available > for this version ? Or can anyone give some advice how to > connect this core to the > ALTERA Avalon Bus and the ALTERA Nios Soft-Processor ? Thank you...
> Christian.
>
>
>
> _______________________________________________
> http://www.opencores.org/mailman/listinfo/cores
>
_______________________________________________
http://www.opencores.org/mailman/listinfo/cores
--
3D Alliance GmbH
Hauptstr. 46
35649 Bischoffen
Tel. 06444 / 93 19 - 0 Fax. 06444 / 93 19 - 12
|
|||
|
I2C ip core integration for ALTERA FPGAs
by Unknown on Jan 27, 2005 |
Not available! | ||
|
What do you mean when you say you don't get a response? Can you check that your writing into the regs correctly (check CYC, STB). The core should respond with an ACK. Now if you're checking the scl and sda signals, make sure you hooked up the tri-state output correctly and you pulled-up the wires. Otherwise the core won't work. Cheers, Richard
-----Original Message-----
From: cores-bounces at opencores.org
[mailto:cores-bounces at opencores.org] On Behalf Of
David2565 at hotmail.com
Sent: Friday, January 21, 2005 4:34 PM
To: cores at opencores.org
Subject: Re: [oc] I2C ip core integration for ALTERA FPGAs
Hi,
I tried to use this I2C core(the VHDL version) in a NIOS2
system with quartus 2(4.1) I connected everything like stated
below, but I get no response from it when I write to a register.
I did not connect the other end of the I2C chanel because I
want to make sure it was connected properly. Could that be
the problem?
I used the following commands to try to send something:
[code]
IOWR_8DIRECT(I2C_BASE,OC_I2C_CR,IORD_8DIRECT(I2C_BASE,
OC_I2C_CR)|OC_I2C_EN); //chip enable
IOWR_8DIRECT(I2C_BASE,OC_I2C_PRER_LO,0x50);//set prescaler
IOWR_8DIRECT(I2C_BASE,OC_I2C_PRER_HI,0x00);
IOWR_8DIRECT(I2C_BASE,OC_I2C_TXR,0xAC);// set write adres
IOWR_8DIRECT(I2C_BASE,OC_I2C_SR,(IORD_8DIRECT
(I2C_BASE,OC_I2C_SR)|OC_I2C_STA|OC_I2C_WR));//set some other
bits printf("%x\n",IORD_8DIRECT(I2C_BASE,OC_I2C_SR));// check (i get
FF!?)
while(IORD_8DIRECT(I2C_BASE,OC_I2C_SR)& OC_I2C_TIP);
printf("%x\n",IORD_8DIRECT(I2C_BASE,OC_I2C_SR));
IOWR_8DIRECT(I2C_BASE,OC_I2C_TXR,0x5C);
printf("%x\n",IORD_8DIRECT(I2C_BASE,OC_I2C_SR));
IOWR_8DIRECT(I2C_BASE,OC_I2C_SR,(IORD_8DIRECT
(I2C_BASE,OC_I2C_SR)|OC_I2C_STO|OC_I2C_WR));
[/code]
Hope someone can help,
David
----- Original Message -----
From: c.scherp at 3...c.scherp at 3...>
To:
Date: Thu Apr 15 16:20:50 CEST 2004
Subject: [oc] I2C ip core integration for ALTERA FPGAs
> Hallo Guido,
>
> it works ! Thank you very much for helping me !
>
> Christian.
>
> Datum: Fri, 2 Apr 2004 14:22:33 +0200
> Von: "Guido Kuhlmann"
> Guido.Kuhlmann at t...>
> Betreff: RE: [oc] I2C ip core integration for
> ALTERA FPGAs
> An: "'Discussion list about free open source IP
> cores'" cores at o...>
> Antwort an: Guido.Kuhlmann at t...,
> Discussion list about free open source IP cores cores at o...> [
> Doppelklick auf diese Zeile zeigt Optionen für Abo-Liste ] Hi
> Christian, you can easily connect the I2C Wishbone core to the NIOS
> processor (I don't know the simple I2C core).
> 1. Within SOPC builder, generate interface to user logic.
> 2. Select bus interface type: avalon register slave.
> 3. Add "i2c_master_top.v" design file.
> 4. Read port list from file.
> 5. Connect the signals as follow:
> wb_adr_i address
> wb_dat_i writedata
> wb_dat_o readdata
> wb_we_i write
> wb_stb_i chipselect
> wb_cyc_i chipselect
> wb_inta_o irq
> wb_clk_i clk
> wb_ack_o waitrequest_n
> wb_rst_i always0
> arst_i reset_n
> scl_pad_i export
> scl_pad_o export
> scl_padoen_o export
> sda_pad_i export
> sda_pad_o export
> sda_padoen_o export
> 6. Under timing tab, leave the setup, wait and hold settings at 0
> cycles.
> You can now access the I2C core via included "oc_i2c_master.h".
> Hope this helps.
> Guido.
> ______________________________________________________
> _______
> Guido Kuhlmann
> Tigris Elektronik GmbH http://www.tigris.de
> ______________________________________________________
> _______
> -----Original Message-----
> From: cores-bounces at o...
> [mailto:cores-bounces at o...]On
> Behalf Of c.scherp at 3...
> Sent: Wednesday, March 31, 2004 10:31 AM
> To: cores at o...
> Subject: [oc] I2C ip core integration for ALTERA FPGAs
>
>
>
> I´m new to opencores.org and I want to integrate a simple
> I2C
> Bus Master Interface
> in an ALTERA Apex / Cyclone / Stratix Device with QuartusII and SOPC
> Builder. I do not need the complex wishbone version of
the I2C core.
> I´m
_______________________________________________
http://www.opencores.org/mailman/listinfo/cores
> happy with the simple
> I2C Bus Master which can be found in I2C.vhd. Is there any > documentation available for this version ? Or can anyone give some
> advice how to connect this core to the ALTERA Avalon Bus and the
> ALTERA Nios Soft-Processor ? Thank > you...
> Christian.
>
>
>
> _______________________________________________
> http://www.opencores.org/mailman/listinfo/cores
>
> _______________________________________________
> http://www.opencores.org/mailman/listinfo/cores
> --
> 3D Alliance GmbH
> Hauptstr. 46
> 35649 Bischoffen
> Tel. 06444 / 93 19 - 0 Fax. 06444 / 93 19 - 12
>
|
|||
|
I2C ip core integration for ALTERA FPGAs
by Unknown on Jul 22, 2005 |
Not available! | ||
|
Hi, Richard,
Can you tell me how to code the driver of the wb I2C core attached to
NiosII?
Thanks!
Ming
----- Original Message -----
From: Richard Herveillerichard at h...>
To:
Date: Thu Jan 27 18:16:52 CET 2005
Subject: [oc] I2C ip core integration for ALTERA FPGAs
What do you mean when you say you don't get a response?
Can you check that your writing into the regs correctly (check CYC, STB). The core should respond with an ACK. Now if you're checking the scl and sda signals, make sure you hooked up the tri-state output correctly and you pulled-up the wires. Otherwise the core won't work. Cheers, Richard
> -----Original Message-----
> From: cores-bounces at o...
> [mailto:cores-bounces at o...] On Behalf Of
> David2565 at h...
> Sent: Friday, January 21, 2005 4:34 PM
> To: cores at o...
> Subject: Re: [oc] I2C ip core integration for ALTERA FPGAs
>
> Hi,
>
> I tried to use this I2C core(the VHDL version) in a NIOS2
> system with quartus 2(4.1) I connected everything like stated
> below, but I get no response from it when I write to a
register.
> I did not connect the other end of the I2C chanel because I
> want to make sure it was connected properly. Could that be > the problem? > > I used the following commands to try to send something: > [code] > IOWR_8DIRECT(I2C_BASE,OC_I2C_CR,IORD_8DIRECT(I2C_BASE, > OC_I2C_CR)|OC_I2C_EN); //chip enable > IOWR_8DIRECT(I2C_BASE,OC_I2C_PRER_LO,0x50);//set prescaler > IOWR_8DIRECT(I2C_BASE,OC_I2C_PRER_HI,0x00); > IOWR_8DIRECT(I2C_BASE,OC_I2C_TXR,0xAC);// set write adres > IOWR_8DIRECT(I2C_BASE,OC_I2C_SR,(IORD_8DIRECT > (I2C_BASE,OC_I2C_SR)|OC_I2C_STA|OC_I2C_WR));//set some other
> bits
printf("%x\n",IORD_8DIRECT(I2C_BASE,OC_I2C_SR));// check (i get
> FF!?)
> while(IORD_8DIRECT(I2C_BASE,OC_I2C_SR)& OC_I2C_TIP);
> printf("%x\n",IORD_8DIRECT(I2C_BASE,OC_I2C_SR));
> IOWR_8DIRECT(I2C_BASE,OC_I2C_TXR,0x5C);
> printf("%x\n",IORD_8DIRECT(I2C_BASE,OC_I2C_SR));
> IOWR_8DIRECT(I2C_BASE,OC_I2C_SR,(IORD_8DIRECT
> (I2C_BASE,OC_I2C_SR)|OC_I2C_STO|OC_I2C_WR));
> [/code]
>
> Hope someone can help,
> David
>
>
> ----- Original Message -----
> From: c.scherp at 3...c.scherp at 3...>
> To:
> Date: Thu Apr 15 16:20:50 CEST 2004
> Subject: [oc] I2C ip core integration for ALTERA FPGAs
>
> Hallo Guido,
>
> it works ! Thank you very much for helping me !
>
> Christian.
>
> Datum: Fri, 2 Apr 2004 14:22:33 +0200
> Von: "Guido Kuhlmann"
> Guido.Kuhlmann at t...>
> Betreff: RE: [oc] I2C ip core integration for
> ALTERA FPGAs
> An: "'Discussion list about free open source IP
> cores'" cores at o...>
> Antwort an: Guido.Kuhlmann at t...,
> Discussion list about free open source IP cores
cores at o...> [
> Doppelklick auf diese Zeile zeigt Optionen für
Abo-Liste ] Hi
> Christian, you can easily connect the I2C Wishbone core
to the NIOS
> processor (I don't know the simple I2C core).
> 1. Within SOPC builder, generate interface to user logic. > 2. Select bus interface type: avalon register slave. > 3. Add "i2c_master_top.v" design file. > 4. Read port list from file. > 5. Connect the signals as follow: > wb_adr_i address > wb_dat_i writedata > wb_dat_o readdata > wb_we_i write > wb_stb_i chipselect > wb_cyc_i chipselect > wb_inta_o irq > wb_clk_i clk > wb_ack_o waitrequest_n > wb_rst_i always0 > arst_i reset_n > scl_pad_i export > scl_pad_o export > scl_padoen_o export > sda_pad_i export > sda_pad_o export > sda_padoen_o export > 6. Under timing tab, leave the setup, wait and hold settings at 0
> cycles. > > You can now access the I2C core via
included "oc_i2c_master.h". > > Hope this helps.
> Guido. > >
______________________________________________________ > >
_______ > > Guido Kuhlmann > > Tigris Elektronik GmbH
http://www.tigris.de > >
______________________________________________________ > >
_______ > > > -----Original Message----- > > >
From: cores-bounces at o... > > >
[mailto:cores-bounces at o...]On > > > Behalf Of
c.scherp at 3... > > > Sent: Wednesday, March 31, 2004 10:31
AM > > > To: cores at o... > > > Subject: [oc] I2C
ip core integration for ALTERA FPGAs > > > > > >
> > > I´m new to opencores.org and I
want to integrate a simple > > I2C > > > Bus Master Interface > > > in an ALTERA Apex / Cyclone / Stratix Device with > QuartusII and SOPC > > > Builder. I do not need the complex wishbone version of > the I2C core. >
> I´m > > > happy with the simple > > >
I2C Bus Master which can be found in I2C.vhd. Is there any >
> documentation available for this version ? Or can anyone
> give some > > > advice how to connect this core to the ALTERA Avalon Bus and the > > > ALTERA Nios Soft-Processor ? Thank > > you... > > > Christian.
> > > > > >
_______________________________________________ > > >
http://www.opencores.org/mailman/listinfo/cores > > > >
> _______________________________________________ > >
http://www.opencores.org/mailman/listinfo/cores > > -- >
> 3D Alliance GmbH > > Hauptstr. 46 > > 35649
Bischoffen > > Tel. 06444 / 93 19 - 0 Fax. 06444 / 93 19 - 12
> > _______________________________________________ >
http://www.opencores.org/mailman/listinfo/cores >
|
|||
|
I2C ip core integration for ALTERA FPGAs
by Unknown on Jul 25, 2005 |
Not available! | ||
|
Hi, Richard,
Would you please post this I2C master's driver files? It is a hard time for
me to code it for Altera NiosII since I am totally new to the platform.
Thanks a lot!
Ming
----- Original Message -----
From: Richard Herveillerichard at h...>
To:
Date: Thu Jan 27 18:16:52 CET 2005
Subject: [oc] I2C ip core integration for ALTERA FPGAs
What do you mean when you say you don't get a response?
Can you check that your writing into the regs correctly (check CYC, STB). The core should respond with an ACK. Now if you're checking the scl and sda signals, make sure you hooked up the tri-state output correctly and you pulled-up the wires. Otherwise the core won't work. Cheers, Richard
> -----Original Message-----
> From: cores-bounces at o...
> [mailto:cores-bounces at o...] On Behalf Of
> David2565 at h...
> Sent: Friday, January 21, 2005 4:34 PM
> To: cores at o...
> Subject: Re: [oc] I2C ip core integration for ALTERA FPGAs
>
> Hi,
>
> I tried to use this I2C core(the VHDL version) in a NIOS2
> system with quartus 2(4.1) I connected everything like stated
> below, but I get no response from it when I write to a
register.
> I did not connect the other end of the I2C chanel because I
> want to make sure it was connected properly. Could that be > the problem? > > I used the following commands to try to send something: > [code] > IOWR_8DIRECT(I2C_BASE,OC_I2C_CR,IORD_8DIRECT(I2C_BASE, > OC_I2C_CR)|OC_I2C_EN); //chip enable > IOWR_8DIRECT(I2C_BASE,OC_I2C_PRER_LO,0x50);//set prescaler > IOWR_8DIRECT(I2C_BASE,OC_I2C_PRER_HI,0x00); > IOWR_8DIRECT(I2C_BASE,OC_I2C_TXR,0xAC);// set write adres > IOWR_8DIRECT(I2C_BASE,OC_I2C_SR,(IORD_8DIRECT > (I2C_BASE,OC_I2C_SR)|OC_I2C_STA|OC_I2C_WR));//set some other
> bits
printf("%x\n",IORD_8DIRECT(I2C_BASE,OC_I2C_SR));// check (i get
> FF!?)
> while(IORD_8DIRECT(I2C_BASE,OC_I2C_SR)& OC_I2C_TIP);
> printf("%x\n",IORD_8DIRECT(I2C_BASE,OC_I2C_SR));
> IOWR_8DIRECT(I2C_BASE,OC_I2C_TXR,0x5C);
> printf("%x\n",IORD_8DIRECT(I2C_BASE,OC_I2C_SR));
> IOWR_8DIRECT(I2C_BASE,OC_I2C_SR,(IORD_8DIRECT
> (I2C_BASE,OC_I2C_SR)|OC_I2C_STO|OC_I2C_WR));
> [/code]
>
> Hope someone can help,
> David
>
>
> ----- Original Message -----
> From: c.scherp at 3...c.scherp at 3...>
> To:
> Date: Thu Apr 15 16:20:50 CEST 2004
> Subject: [oc] I2C ip core integration for ALTERA FPGAs
>
> Hallo Guido,
>
> it works ! Thank you very much for helping me !
>
> Christian.
>
> Datum: Fri, 2 Apr 2004 14:22:33 +0200
> Von: "Guido Kuhlmann"
> Guido.Kuhlmann at t...>
> Betreff: RE: [oc] I2C ip core integration for
> ALTERA FPGAs
> An: "'Discussion list about free open source IP
> cores'" cores at o...>
> Antwort an: Guido.Kuhlmann at t...,
> Discussion list about free open source IP cores
cores at o...> [
> Doppelklick auf diese Zeile zeigt Optionen für
Abo-Liste ] Hi
> Christian, you can easily connect the I2C Wishbone core
to the NIOS
> processor (I don't know the simple I2C core).
> 1. Within SOPC builder, generate interface to user logic. > 2. Select bus interface type: avalon register slave. > 3. Add "i2c_master_top.v" design file. > 4. Read port list from file. > 5. Connect the signals as follow: > wb_adr_i address > wb_dat_i writedata > wb_dat_o readdata > wb_we_i write > wb_stb_i chipselect > wb_cyc_i chipselect > wb_inta_o irq > wb_clk_i clk > wb_ack_o waitrequest_n > wb_rst_i always0 > arst_i reset_n > scl_pad_i export > scl_pad_o export > scl_padoen_o export > sda_pad_i export > sda_pad_o export > sda_padoen_o export > 6. Under timing tab, leave the setup, wait and hold settings at 0
> cycles. > > You can now access the I2C core via
included "oc_i2c_master.h". > > Hope this helps.
> Guido. > >
______________________________________________________ > >
_______ > > Guido Kuhlmann > > Tigris Elektronik GmbH
http://www.tigris.de > >
______________________________________________________ > >
_______ > > > -----Original Message----- > > >
From: cores-bounces at o... > > >
[mailto:cores-bounces at o...]On > > > Behalf Of
c.scherp at 3... > > > Sent: Wednesday, March 31, 2004 10:31
AM > > > To: cores at o... > > > Subject: [oc] I2C
ip core integration for ALTERA FPGAs > > > > > >
> > > I´m new to opencores.org and I
want to integrate a simple > > I2C > > > Bus Master Interface > > > in an ALTERA Apex / Cyclone / Stratix Device with > QuartusII and SOPC > > > Builder. I do not need the complex wishbone version of > the I2C core. >
> I´m > > > happy with the simple > > >
I2C Bus Master which can be found in I2C.vhd. Is there any >
> documentation available for this version ? Or can anyone
> give some > > > advice how to connect this core to the ALTERA Avalon Bus and the > > > ALTERA Nios Soft-Processor ? Thank > > you... > > > Christian.
> > > > > >
_______________________________________________ > > >
http://www.opencores.org/mailman/listinfo/cores > > > >
> _______________________________________________ > >
http://www.opencores.org/mailman/listinfo/cores > > -- >
> 3D Alliance GmbH > > Hauptstr. 46 > > 35649
Bischoffen > > Tel. 06444 / 93 19 - 0 Fax. 06444 / 93 19 - 12
> > _______________________________________________ >
http://www.opencores.org/mailman/listinfo/cores >
|
|||
|
I2C ip core integration for ALTERA FPGAs
by Unknown on Jul 28, 2005 |
Not available! | ||
|
As in device drivers??
You have to code them yourself.
Richard
-----Original Message-----
From: cores-bounces at opencores.org [mailto:cores-bounces at opencores.org] On
Behalf Of zhangming98 at hotmail.com
Sent: Monday, July 25, 2005 5:59 PM
To: cores at opencores.org
Subject: Re: [oc] I2C ip core integration for ALTERA FPGAs
Hi, Richard,
Would you please post this I2C master's driver files? It is a hard time for
me to code it for Altera NiosII since I am totally new to the platform.
Thanks a lot!
Ming
----- Original Message -----
From: Richard Herveillerichard at h...>
To:
Date: Thu Jan 27 18:16:52 CET 2005
Subject: [oc] I2C ip core integration for ALTERA FPGAs
What do you mean when you say you don't get a response?
_______________________________________________
http://www.opencores.org/mailman/listinfo/cores
Can you check that your writing into the regs correctly (check CYC, STB). The core should respond with an ACK. Now if you're checking the scl and sda signals, make sure you hooked up the tri-state output correctly and you pulled-up the wires. Otherwise the core won't work. Cheers, Richard
> -----Original Message-----
> From: cores-bounces at o...
> [mailto:cores-bounces at o...] On Behalf Of
> David2565 at h...
> Sent: Friday, January 21, 2005 4:34 PM
> To: cores at o...
> Subject: Re: [oc] I2C ip core integration for ALTERA FPGAs
>
> Hi,
>
> I tried to use this I2C core(the VHDL version) in a NIOS2
> system with quartus 2(4.1) I connected everything like stated
> below, but I get no response from it when I write to a
register.
> I did not connect the other end of the I2C chanel because I
> want to make sure it was connected properly. Could that be > the problem? > > I used the following commands to try to send something: > [code] > IOWR_8DIRECT(I2C_BASE,OC_I2C_CR,IORD_8DIRECT(I2C_BASE, > OC_I2C_CR)|OC_I2C_EN); //chip enable > IOWR_8DIRECT(I2C_BASE,OC_I2C_PRER_LO,0x50);//set prescaler > IOWR_8DIRECT(I2C_BASE,OC_I2C_PRER_HI,0x00); > IOWR_8DIRECT(I2C_BASE,OC_I2C_TXR,0xAC);// set write adres > IOWR_8DIRECT(I2C_BASE,OC_I2C_SR,(IORD_8DIRECT > (I2C_BASE,OC_I2C_SR)|OC_I2C_STA|OC_I2C_WR));//set some other
> bits
printf("%x\n",IORD_8DIRECT(I2C_BASE,OC_I2C_SR));// check (i get
> FF!?)
> while(IORD_8DIRECT(I2C_BASE,OC_I2C_SR)& OC_I2C_TIP);
> printf("%x\n",IORD_8DIRECT(I2C_BASE,OC_I2C_SR));
> IOWR_8DIRECT(I2C_BASE,OC_I2C_TXR,0x5C);
> printf("%x\n",IORD_8DIRECT(I2C_BASE,OC_I2C_SR));
> IOWR_8DIRECT(I2C_BASE,OC_I2C_SR,(IORD_8DIRECT
> (I2C_BASE,OC_I2C_SR)|OC_I2C_STO|OC_I2C_WR));
> [/code]
>
> Hope someone can help,
> David
>
>
> ----- Original Message -----
> From: c.scherp at 3...c.scherp at 3...>
> To:
> Date: Thu Apr 15 16:20:50 CEST 2004
> Subject: [oc] I2C ip core integration for ALTERA FPGAs
>
> Hallo Guido,
>
> it works ! Thank you very much for helping me !
>
> Christian.
>
> Datum: Fri, 2 Apr 2004 14:22:33 +0200
> Von: "Guido Kuhlmann"
> Guido.Kuhlmann at t...>
> Betreff: RE: [oc] I2C ip core integration for
> ALTERA FPGAs
> An: "'Discussion list about free open source IP
> cores'" cores at o...>
> Antwort an: Guido.Kuhlmann at t...,
> Discussion list about free open source IP cores
cores at o...> [
> Doppelklick auf diese Zeile zeigt Optionen für
Abo-Liste ] Hi
> Christian, you can easily connect the I2C Wishbone core
to the NIOS
> processor (I don't know the simple I2C core).
> 1. Within SOPC builder, generate interface to user logic. > 2. Select bus interface type: avalon register slave. > 3. Add "i2c_master_top.v" design file. > 4. Read port list from file. > 5. Connect the signals as follow: > wb_adr_i address > wb_dat_i writedata > wb_dat_o readdata > wb_we_i write > wb_stb_i chipselect > wb_cyc_i chipselect > wb_inta_o irq > wb_clk_i clk > wb_ack_o waitrequest_n > wb_rst_i always0 > arst_i reset_n > scl_pad_i export > scl_pad_o export > scl_padoen_o export > sda_pad_i export > sda_pad_o export > sda_padoen_o export > 6. Under timing tab, leave the setup, wait and hold settings at 0
> cycles. > > You can now access the I2C core via
included "oc_i2c_master.h". > > Hope this helps.
> Guido. > >
______________________________________________________ > >
_______ > > Guido Kuhlmann > > Tigris Elektronik GmbH
http://www.tigris.de > >
______________________________________________________ > >
_______ > > > -----Original Message----- > > >
From: cores-bounces at o... > > >
[mailto:cores-bounces at o...]On > > > Behalf Of
c.scherp at 3... > > > Sent: Wednesday, March 31, 2004 10:31
AM > > > To: cores at o... > > > Subject: [oc] I2C
ip core integration for ALTERA FPGAs > > > > > >
> > > I´m new to opencores.org and I
want to integrate a simple > > I2C > > > Bus Master Interface > > > in an ALTERA Apex / Cyclone / Stratix Device with > QuartusII and SOPC > > > Builder. I do not need the complex wishbone version of > the I2C core. >
> I´m > > > happy with the simple > > >
I2C Bus Master which can be found in I2C.vhd. Is there any >
> documentation available for this version ? Or can anyone
> give some > > > advice how to connect this core to the ALTERA Avalon Bus and the > > > ALTERA Nios Soft-Processor ? Thank > > you... > > > Christian.
> > > > > >
_______________________________________________ > > >
http://www.opencores.org/mailman/listinfo/cores > > > >
> _______________________________________________ > >
http://www.opencores.org/mailman/listinfo/cores > > -- >
> 3D Alliance GmbH > > Hauptstr. 46 > > 35649
Bischoffen > > Tel. 06444 / 93 19 - 0 Fax. 06444 / 93 19 - 12
> > _______________________________________________ >
http://www.opencores.org/mailman/listinfo/cores >
|
|||
|
I2C ip core integration for ALTERA FPGAs
by Unknown on Jul 28, 2005 |
Not available! | ||
|
You'll have to write these yourself or ask/pay somebody else to do it for
you.
Cheers,
Richard
-----Original Message-----
From: cores-bounces at opencores.org [mailto:cores-bounces at opencores.org] On
Behalf Of zhangming98 at hotmail.com
Sent: Friday, July 22, 2005 9:45 PM
To: cores at opencores.org
Subject: Re: [oc] I2C ip core integration for ALTERA FPGAs
Hi, Richard,
Can you tell me how to code the driver of the wb I2C core attached to
NiosII?
Thanks!
Ming
----- Original Message -----
From: Richard Herveillerichard at h...>
To:
Date: Thu Jan 27 18:16:52 CET 2005
Subject: [oc] I2C ip core integration for ALTERA FPGAs
What do you mean when you say you don't get a response?
_______________________________________________
http://www.opencores.org/mailman/listinfo/cores
Can you check that your writing into the regs correctly (check CYC, STB). The core should respond with an ACK. Now if you're checking the scl and sda signals, make sure you hooked up the tri-state output correctly and you pulled-up the wires. Otherwise the core won't work. Cheers, Richard
> -----Original Message-----
> From: cores-bounces at o...
> [mailto:cores-bounces at o...] On Behalf Of
> David2565 at h...
> Sent: Friday, January 21, 2005 4:34 PM
> To: cores at o...
> Subject: Re: [oc] I2C ip core integration for ALTERA FPGAs
>
> Hi,
>
> I tried to use this I2C core(the VHDL version) in a NIOS2
> system with quartus 2(4.1) I connected everything like stated
> below, but I get no response from it when I write to a
register.
> I did not connect the other end of the I2C chanel because I
> want to make sure it was connected properly. Could that be > the problem? > > I used the following commands to try to send something: > [code] > IOWR_8DIRECT(I2C_BASE,OC_I2C_CR,IORD_8DIRECT(I2C_BASE, > OC_I2C_CR)|OC_I2C_EN); //chip enable > IOWR_8DIRECT(I2C_BASE,OC_I2C_PRER_LO,0x50);//set prescaler > IOWR_8DIRECT(I2C_BASE,OC_I2C_PRER_HI,0x00); > IOWR_8DIRECT(I2C_BASE,OC_I2C_TXR,0xAC);// set write adres > IOWR_8DIRECT(I2C_BASE,OC_I2C_SR,(IORD_8DIRECT > (I2C_BASE,OC_I2C_SR)|OC_I2C_STA|OC_I2C_WR));//set some other
> bits
printf("%x\n",IORD_8DIRECT(I2C_BASE,OC_I2C_SR));// check (i get
> FF!?)
> while(IORD_8DIRECT(I2C_BASE,OC_I2C_SR)& OC_I2C_TIP);
> printf("%x\n",IORD_8DIRECT(I2C_BASE,OC_I2C_SR));
> IOWR_8DIRECT(I2C_BASE,OC_I2C_TXR,0x5C);
> printf("%x\n",IORD_8DIRECT(I2C_BASE,OC_I2C_SR));
> IOWR_8DIRECT(I2C_BASE,OC_I2C_SR,(IORD_8DIRECT
> (I2C_BASE,OC_I2C_SR)|OC_I2C_STO|OC_I2C_WR));
> [/code]
>
> Hope someone can help,
> David
>
>
> ----- Original Message -----
> From: c.scherp at 3...c.scherp at 3...>
> To:
> Date: Thu Apr 15 16:20:50 CEST 2004
> Subject: [oc] I2C ip core integration for ALTERA FPGAs
>
> Hallo Guido,
>
> it works ! Thank you very much for helping me !
>
> Christian.
>
> Datum: Fri, 2 Apr 2004 14:22:33 +0200
> Von: "Guido Kuhlmann"
> Guido.Kuhlmann at t...>
> Betreff: RE: [oc] I2C ip core integration for
> ALTERA FPGAs
> An: "'Discussion list about free open source IP
> cores'" cores at o...>
> Antwort an: Guido.Kuhlmann at t...,
> Discussion list about free open source IP cores
cores at o...> [
> Doppelklick auf diese Zeile zeigt Optionen für
Abo-Liste ] Hi
> Christian, you can easily connect the I2C Wishbone core
to the NIOS
> processor (I don't know the simple I2C core).
> 1. Within SOPC builder, generate interface to user logic. > 2. Select bus interface type: avalon register slave. > 3. Add "i2c_master_top.v" design file. > 4. Read port list from file. > 5. Connect the signals as follow: > wb_adr_i address > wb_dat_i writedata > wb_dat_o readdata > wb_we_i write > wb_stb_i chipselect > wb_cyc_i chipselect > wb_inta_o irq > wb_clk_i clk > wb_ack_o waitrequest_n > wb_rst_i always0 > arst_i reset_n > scl_pad_i export > scl_pad_o export > scl_padoen_o export > sda_pad_i export > sda_pad_o export > sda_padoen_o export > 6. Under timing tab, leave the setup, wait and hold settings at 0
> cycles. > > You can now access the I2C core via
included "oc_i2c_master.h". > > Hope this helps.
> Guido. > >
______________________________________________________ > >
_______ > > Guido Kuhlmann > > Tigris Elektronik GmbH
http://www.tigris.de > >
______________________________________________________ > >
_______ > > > -----Original Message----- > > >
From: cores-bounces at o... > > >
[mailto:cores-bounces at o...]On > > > Behalf Of
c.scherp at 3... > > > Sent: Wednesday, March 31, 2004 10:31
AM > > > To: cores at o... > > > Subject: [oc] I2C
ip core integration for ALTERA FPGAs > > > > > >
> > > I´m new to opencores.org and I
want to integrate a simple > > I2C > > > Bus Master Interface > > > in an ALTERA Apex / Cyclone / Stratix Device with > QuartusII and SOPC > > > Builder. I do not need the complex wishbone version of > the I2C core. >
> I´m > > > happy with the simple > > >
I2C Bus Master which can be found in I2C.vhd. Is there any >
> documentation available for this version ? Or can anyone
> give some > > > advice how to connect this core to the ALTERA Avalon Bus and the > > > ALTERA Nios Soft-Processor ? Thank > > you... > > > Christian.
> > > > > >
_______________________________________________ > > >
http://www.opencores.org/mailman/listinfo/cores > > > >
> _______________________________________________ > >
http://www.opencores.org/mailman/listinfo/cores > > -- >
> 3D Alliance GmbH > > Hauptstr. 46 > > 35649
Bischoffen > > Tel. 06444 / 93 19 - 0 Fax. 06444 / 93 19 - 12
> > _______________________________________________ >
http://www.opencores.org/mailman/listinfo/cores >
|
|||
|
I2C ip core integration for ALTERA FPGAs
by Unknown on Aug 3, 2005 |
Not available! | ||
|
Hi, Richard, Thanks for your remind, I am going to code it...
However, the core seems not working. It is no response to my IOWR
(i2c_base, 0x00, 0x63) and IOWR(i2c_base, 0x01,0x00). The result of
reading the 2 regs after above action is still 0xff each. I connected the
signals to Avalon Slave port according to deep below of this email and
SCL/SDA were also instantiated..
Kindly please advise me.
R.G
Ming
----- Original Message -----
From: Richard Herveillerichard at h...>
To:
Date: Thu Jul 28 15:46:36 CEST 2005
Subject: [oc] I2C ip core integration for ALTERA FPGAs
As in device drivers??
You have to code them yourself.
Richard
-----Original Message-----
From: cores-bounces at opencores.org [mailto:cores-bounces at
opencores.org] On
Behalf Of zhangming98 at hotmail.com
Sent: Monday, July 25, 2005 5:59 PM
To: cores at opencores.org
Subject: Re: [oc] I2C ip core integration for ALTERA FPGAs
Hi, Richard,
Would you please post this I2C master's driver files? It is a hard
time for
me to code it for Altera NiosII since I am totally new to the
platform.
Thanks a lot!
Ming
----- Original Message -----
From: Richard Herveille
To:
Date: Thu Jan 27 18:16:52 CET 2005
Subject: [oc] I2C ip core integration for ALTERA FPGAs
> What do you mean when you say you don't get a response?
> Can you check that your writing into the regs correctly (check CYC,
> STB).
> The core should respond with an ACK. > Now if you're checking the scl and sda signals, make sure you > hooked up the > tri-state output correctly and you pulled-up the wires. > Otherwise the core won't work. > Cheers, > Richard >
> -----Original Message-----
> From: cores-bounces at o... > [mailto:cores-bounces at o...] On Behalf Of > David2565 at h... > Sent: Friday, January 21, 2005 4:34 PM > To: cores at o... > Subject: Re: [oc] I2C ip core integration for ALTERA FPGAs
>
> Hi, > > I tried to use this I2C core(the VHDL version) in a NIOS2 > system with quartus 2(4.1) I connected everything like stated
> below, but I get no response from it when I write to a
> register.
> I did not connect the other end of the I2C chanel because
I
> want to make sure it was connected properly. Could that
be
> the problem?
> > I used the following commands to try to send something: > [code] > IOWR_8DIRECT(I2C_BASE,OC_I2C_CR,IORD_8DIRECT(I2C_BASE, > OC_I2C_CR)|OC_I2C_EN); //chip enable > IOWR_8DIRECT(I2C_BASE,OC_I2C_PRER_LO,0x50);//set prescaler
> IOWR_8DIRECT(I2C_BASE,OC_I2C_PRER_HI,0x00);
> IOWR_8DIRECT(I2C_BASE,OC_I2C_TXR,0xAC);// set write adres > IOWR_8DIRECT(I2C_BASE,OC_I2C_SR,(IORD_8DIRECT > (I2C_BASE,OC_I2C_SR)|OC_I2C_STA|OC_I2C_WR));//set some other
> bits
> printf("%x\n",IORD_8DIRECT(I2C_BASE,OC_I2C_SR));// check
> (i get
> FF!?)
> while(IORD_8DIRECT(I2C_BASE,OC_I2C_SR)& OC_I2C_TIP); > printf("%x\n",IORD_8DIRECT(I2C_BASE,OC_I2C_SR));
> IOWR_8DIRECT(I2C_BASE,OC_I2C_TXR,0x5C);
> printf("%x\n",IORD_8DIRECT(I2C_BASE,OC_I2C_SR));
> IOWR_8DIRECT(I2C_BASE,OC_I2C_SR,(IORD_8DIRECT
> (I2C_BASE,OC_I2C_SR)|OC_I2C_STO|OC_I2C_WR));
> [/code]
>
> Hope someone can help,
> David
>
>
> ----- Original Message -----
> From: c.scherp at 3...
> To:
> Date: Thu Apr 15 16:20:50 CEST 2004
> Subject: [oc] I2C ip core integration for ALTERA FPGAs
>
> > Hallo Guido,
> > > > it works ! Thank you very much for helping me ! > > > > Christian. > > > > Datum: Fri, 2 Apr 2004 14:22:33 +0200 > > Von: "Guido Kuhlmann" > > > > Betreff: RE: [oc] I2C ip core integration for > > ALTERA FPGAs > > An: "'Discussion list about free open source IP
> > cores'" > > >
Antwort an: Guido.Kuhlmann at t..., > > > Discussion
list about free open source IP cores > [
> > Doppelklick auf diese Zeile zeigt Optionen für
> Abo-Liste ] Hi > > > Christian, you can easily connect the I2C Wishbone core > to the NIOS > > > processor (I don't know the simple I2C core). > > > 1. Within SOPC builder, generate interface to user logic. > >
> 2. Select bus interface type: avalon register slave. > >
> 3. Add "i2c_master_top.v" design file. > > > 4. Read port list from file. > > > 5. Connect the signals as follow: > > > wb_adr_i address >
> wb_dat_i writedata > > > wb_dat_o
readdata > > > wb_we_i write > >
> wb_stb_i chipselect > > > wb_cyc_i
chipselect > > > wb_inta_o irq >
> wb_clk_i clk > > > wb_ack_o
waitrequest_n > > > wb_rst_i always0 > >
> arst_i reset_n > > > scl_pad_i
export > > > scl_pad_o export > > > scl_padoen_o export > > > sda_pad_i export > > > sda_pad_o export > > > sda_padoen_o export > > > 6. Under timing tab, leave the setup, wait and hold > settings at 0 > > > cycles. > > You can now access the I2C core via > included "oc_i2c_master.h". > > Hope this helps. > >
> Guido. > > >
______________________________________________________ > >
> _______ > > Guido Kuhlmann > > Tigris Elektronik
GmbH > http://www.tigris.de > > >
______________________________________________________ > >
> _______ > > > -----Original Message----- > >
> From: cores-bounces at o... > > > >
[mailto:cores-bounces at o...]On > > > Behalf Of > c.scherp at 3... > > > Sent: Wednesday, March 31, 2004 10:31 > AM > > > To: cores at o... > > > Subject: [oc] I2C > ip core integration for ALTERA FPGAs >
> > > > > >
I´m new to opencores.org and I > want to integrate a simple
> I2C > > > Bus Master > Interface > >
> in an ALTERA Apex / Cyclone / Stratix > Device with > QuartusII and SOPC > > > Builder. I do > not need the complex wishbone version of > the I2C core. > > > I´m > > > happy with the simple > > > > I2C Bus Master which can be found in I2C.vhd. Is there any >
> > documentation available for this version ? Or can
anyone > > give some > > > advice how to connect this core to > the ALTERA Avalon Bus and the > > > ALTERA Nios > Soft-Processor ? Thank > > you... > >
> Christian. > > > > > > > > > >
> > _______________________________________________
> > http://www.opencores.org/mailman/listinfo/cores
- 12 > > > >
_______________________________________________ > >
http://www.opencores.org/mailman/listinfo/cores > >
_______________________________________________
http://www.opencores.org/mailman/listinfo/cores
> > >
_______________________________________________ > > >
http://www.opencores.org/mailman/listinfo/cores > > -- >
> 3D Alliance GmbH > > Hauptstr. 46 > > 35649
> Bischoffen > > Tel. 06444 / 93 19 - 0 Fax. 06444 / 93 19 |
|||
|
I2C ip core integration for ALTERA FPGAs
by Unknown on Aug 3, 2005 |
Not available! | ||
|
Hi, Richard, Thanks for your remind, I am going to code it...
However, the core seems not working.
[rih] The core is working.
Perhaps your glue logic isn't working as expected.
It is no response to my IOWR
(i2c_base, 0x00, 0x63) and IOWR(i2c_base, 0x01,0x00). The result of
reading the 2 regs after above action is still 0xff each. I connected the
signals to Avalon Slave port according to deep below of this email and
SCL/SDA were also instantiated..
Kindly please advise me.
[rih] Check your glue logic.
Cheers,
Richard
R.G
Ming
----- Original Message -----
From: Richard Herveillerichard at h...>
To:
Date: Thu Jul 28 15:46:36 CEST 2005
Subject: [oc] I2C ip core integration for ALTERA FPGAs
As in device drivers??
You have to code them yourself.
Richard
-----Original Message-----
From: cores-bounces at opencores.org [mailto:cores-bounces at
opencores.org] On
Behalf Of zhangming98 at hotmail.com
Sent: Monday, July 25, 2005 5:59 PM
To: cores at opencores.org
Subject: Re: [oc] I2C ip core integration for ALTERA FPGAs
Hi, Richard,
Would you please post this I2C master's driver files? It is a hard
time for
me to code it for Altera NiosII since I am totally new to the
platform.
Thanks a lot!
Ming
----- Original Message -----
From: Richard Herveille
To:
Date: Thu Jan 27 18:16:52 CET 2005
Subject: [oc] I2C ip core integration for ALTERA FPGAs
> What do you mean when you say you don't get a response?
> Can you check that your writing into the regs correctly (check CYC,
> STB).
> The core should respond with an ACK. > Now if you're checking the scl and sda signals, make sure you > hooked up the > tri-state output correctly and you pulled-up the wires. > Otherwise the core won't work. > Cheers, > Richard >
> -----Original Message-----
> From: cores-bounces at o... > [mailto:cores-bounces at o...] On Behalf Of > David2565 at h... > Sent: Friday, January 21, 2005 4:34 PM > To: cores at o... > Subject: Re: [oc] I2C ip core integration for ALTERA FPGAs
>
> Hi, > > I tried to use this I2C core(the VHDL version) in a NIOS2 > system with quartus 2(4.1) I connected everything like stated
> below, but I get no response from it when I write to a
> register.
> I did not connect the other end of the I2C chanel because
I
> want to make sure it was connected properly. Could that
be
> the problem?
> > I used the following commands to try to send something: > [code] > IOWR_8DIRECT(I2C_BASE,OC_I2C_CR,IORD_8DIRECT(I2C_BASE, > OC_I2C_CR)|OC_I2C_EN); //chip enable > IOWR_8DIRECT(I2C_BASE,OC_I2C_PRER_LO,0x50);//set prescaler
> IOWR_8DIRECT(I2C_BASE,OC_I2C_PRER_HI,0x00);
> IOWR_8DIRECT(I2C_BASE,OC_I2C_TXR,0xAC);// set write adres > IOWR_8DIRECT(I2C_BASE,OC_I2C_SR,(IORD_8DIRECT > (I2C_BASE,OC_I2C_SR)|OC_I2C_STA|OC_I2C_WR));//set some other
> bits
> printf("%x\n",IORD_8DIRECT(I2C_BASE,OC_I2C_SR));// check
> (i get
> FF!?)
> while(IORD_8DIRECT(I2C_BASE,OC_I2C_SR)& OC_I2C_TIP); > printf("%x\n",IORD_8DIRECT(I2C_BASE,OC_I2C_SR));
> IOWR_8DIRECT(I2C_BASE,OC_I2C_TXR,0x5C);
> printf("%x\n",IORD_8DIRECT(I2C_BASE,OC_I2C_SR));
> IOWR_8DIRECT(I2C_BASE,OC_I2C_SR,(IORD_8DIRECT
> (I2C_BASE,OC_I2C_SR)|OC_I2C_STO|OC_I2C_WR));
> [/code]
>
> Hope someone can help,
> David
>
>
> ----- Original Message -----
> From: c.scherp at 3...
> To:
> Date: Thu Apr 15 16:20:50 CEST 2004
> Subject: [oc] I2C ip core integration for ALTERA FPGAs
>
> > Hallo Guido,
> > > > it works ! Thank you very much for helping me ! > > > > Christian. > > > > Datum: Fri, 2 Apr 2004 14:22:33 +0200 > > Von: "Guido Kuhlmann" > > > > Betreff: RE: [oc] I2C ip core integration for > > ALTERA FPGAs > > An: "'Discussion list about free open source IP
> > cores'" > > >
Antwort an: Guido.Kuhlmann at t..., > > > Discussion
list about free open source IP cores > [
> > Doppelklick auf diese Zeile zeigt Optionen für
> Abo-Liste ] Hi > > > Christian, you can easily connect the I2C Wishbone core > to the NIOS > > > processor (I don't know the simple I2C core). > > > 1. Within SOPC builder, generate interface to user logic. > >
> 2. Select bus interface type: avalon register slave. > >
> 3. Add "i2c_master_top.v" design file. > > > 4. Read port list from file. > > > 5. Connect the signals as follow: > > > wb_adr_i address >
> wb_dat_i writedata > > > wb_dat_o
readdata > > > wb_we_i write > >
> wb_stb_i chipselect > > > wb_cyc_i
chipselect > > > wb_inta_o irq >
> wb_clk_i clk > > > wb_ack_o
waitrequest_n > > > wb_rst_i always0 > >
> arst_i reset_n > > > scl_pad_i
export > > > scl_pad_o export > > > scl_padoen_o export > > > sda_pad_i export > > > sda_pad_o export > > > sda_padoen_o export > > > 6. Under timing tab, leave the setup, wait and hold > settings at 0 > > > cycles. > > You can now access the I2C core via > included "oc_i2c_master.h". > > Hope this helps. > >
> Guido. > > >
______________________________________________________ > >
> _______ > > Guido Kuhlmann > > Tigris Elektronik
GmbH > http://www.tigris.de > > >
______________________________________________________ > >
> _______ > > > -----Original Message----- > >
> From: cores-bounces at o... > > > >
[mailto:cores-bounces at o...]On > > > Behalf Of > c.scherp at 3... > > > Sent: Wednesday, March 31, 2004 10:31 > AM > > > To: cores at o... > > > Subject: [oc] I2C > ip core integration for ALTERA FPGAs >
> > > > > >
I´m new to opencores.org and I > want to integrate a simple
> I2C > > > Bus Master > Interface > >
> in an ALTERA Apex / Cyclone / Stratix > Device with > QuartusII and SOPC > > > Builder. I do > not need the complex wishbone version of > the I2C core. > > > I´m > > > happy with the simple > > > > I2C Bus Master which can be found in I2C.vhd. Is there any >
> > documentation available for this version ? Or can
anyone > > give some > > > advice how to connect this core to > the ALTERA Avalon Bus and the > > > ALTERA Nios > Soft-Processor ? Thank > > you... > >
> Christian. > > > > > > > > > >
_______________________________________________
http://www.opencores.org/mailman/listinfo/cores
> > _______________________________________________
> > http://www.opencores.org/mailman/listinfo/cores
- 12 > > > >
_______________________________________________ > >
http://www.opencores.org/mailman/listinfo/cores > >
_______________________________________________
http://www.opencores.org/mailman/listinfo/cores
> > >
_______________________________________________ > > >
http://www.opencores.org/mailman/listinfo/cores > > -- >
> 3D Alliance GmbH > > Hauptstr. 46 > > 35649
> Bischoffen > > Tel. 06444 / 93 19 - 0 Fax. 06444 / 93 19 |
|||
|
I2C ip core integration for ALTERA FPGAs
by Unknown on Jan 24, 2006 |
Not available! | ||
|
I have the same probleme than you. I can't write in the register . For
presc_HI, it is OK but for the other register, it 's always NULL.
Does somebody has t this I2C master's driver files?
thank you
Arnaud
----- Original Message -----
From: zhangming98 at hotmail.comzhangming98 at h...>
To:
Date: Wed Aug 3 06:40:08 CEST 2005
Subject: [oc] I2C ip core integration for ALTERA FPGAs
Hi, Richard, Thanks for your remind, I am going to code it...
However, the core seems not working. It is no response to my IOWR
(i2c_base, 0x00, 0x63) and IOWR(i2c_base, 0x01,0x00). The result of
reading the 2 regs after above action is still 0xff each. I
connected the
signals to Avalon Slave port according to deep below of this email
and
SCL/SDA were also instantiated..
Kindly please advise me.
R.G
Ming
----- Original Message -----
From: Richard Herveille
To:
Date: Thu Jul 28 15:46:36 CEST 2005
Subject: [oc] I2C ip core integration for ALTERA FPGAs
> As in device drivers??
> You have to code them yourself. > Richard > -----Original Message----- > From: cores-bounces at opencores.org [mailto:cores-bounces at > opencores.org] On > Behalf Of zhangming98 at hotmail.com > Sent: Monday, July 25, 2005 5:59 PM > To: cores at opencores.org > Subject: Re: [oc] I2C ip core integration for ALTERA FPGAs > Hi, Richard, > Would you please post this I2C master's driver files? It is a hard
> time for
> me to code it for Altera NiosII since I am totally new to the
> platform.
> Thanks a lot!
> Ming
> ----- Original Message -----
> From: Richard Herveille
> To:
> Date: Thu Jan 27 18:16:52 CET 2005
> Subject: [oc] I2C ip core integration for ALTERA FPGAs
> What do you mean when you say you don't get a response?
> Can you check that your writing into the regs correctly (check
> CYC,
> STB).
> The core should respond with an ACK. > Now if you're checking the scl and sda signals, make sure you
> hooked up the
> tri-state output correctly and you pulled-up the wires. > Otherwise the core won't work. > Cheers, > Richard >
> > -----Original Message-----
> > From: cores-bounces at o... > > [mailto:cores-bounces at o...] On Behalf Of > > David2565 at h... > > Sent: Friday, January 21, 2005 4:34 PM > > To: cores at o... > > Subject: Re: [oc] I2C ip core integration for ALTERA > FPGAs
> >
> > Hi, > > > > I tried to use this I2C core(the VHDL version) in a NIOS2
> > system with quartus 2(4.1) I connected everything
like
> stated
> > below, but I get no response from it when I write to
a
> register.
> > I did not connect the other end of the I2C chanel
because
> I
> > want to make sure it was connected properly. Could
that
> be
> > the problem?
> > > > I used the following commands to try to send something:
> > [code]
> > IOWR_8DIRECT(I2C_BASE,OC_I2C_CR,IORD_8DIRECT(I2C_BASE,
> > OC_I2C_CR)|OC_I2C_EN); //chip enable
> > IOWR_8DIRECT(I2C_BASE,OC_I2C_PRER_LO,0x50);//set > prescaler
> > IOWR_8DIRECT(I2C_BASE,OC_I2C_PRER_HI,0x00);
> > IOWR_8DIRECT(I2C_BASE,OC_I2C_TXR,0xAC);// set write adres
> > IOWR_8DIRECT(I2C_BASE,OC_I2C_SR,(IORD_8DIRECT
> > (I2C_BASE,OC_I2C_SR)|OC_I2C_STA|OC_I2C_WR));//set some
> other
> > bits
> printf("%x\n",IORD_8DIRECT(I2C_BASE,OC_I2C_SR));//
> check
> (i get
> > FF!?)
> > while(IORD_8DIRECT(I2C_BASE,OC_I2C_SR)& OC_I2C_TIP);
> >
> printf("%x\n",IORD_8DIRECT(I2C_BASE,OC_I2C_SR));
> > IOWR_8DIRECT(I2C_BASE,OC_I2C_TXR,0x5C);
> > > printf("%x\n",IORD_8DIRECT(I2C_BASE,OC_I2C_SR));
> > IOWR_8DIRECT(I2C_BASE,OC_I2C_SR,(IORD_8DIRECT
----- Original Message ----- > > > From: c.scherp at
3... > > > To: > > >
Date: Thu Apr 15 16:20:50 CEST 2004 > > > Subject: [oc]
I2C ip core integration for ALTERA FPGAs > > > > >
> > (I2C_BASE,OC_I2C_SR)|OC_I2C_STO|OC_I2C_WR)); > > [/code] > > > > Hope someone can help, > > David > > > > > > > > >
> Hallo Guido, > > > > > > > > it
works ! Thank you very much for helping me ! > > > >
> > Christian. > > > > > > >
> Datum: Fri, 2 Apr 2004 14:22:33 +0200 > > > > Von: "Guido Kuhlmann" > > > > > > > > Betreff: RE: [oc] I2C ip core integration for > > > > ALTERA FPGAs
> > An: "'Discussion list about free open
source > IP > > > > cores'" > > > > Antwort an: Guido.Kuhlmann at t...,
> > Discussion > list about free open source IP
cores > [ > > > > Doppelklick
auf diese Zeile zeigt Optionen für > > Abo-Liste ] Hi
> > Christian, you can easily > connect the I2C
Wishbone core > to the NIOS > > > > processor (I don't know the simple I2C core). > > > 1. > Within SOPC builder, generate interface to user logic. > > > > 2. Select bus interface type: avalon register slave. > > >
> 3. Add "i2c_master_top.v" design file. > >
> 4. Read port list from file. > > > 5. Connect
the > signals as follow: > > > wb_adr_i address > > > > wb_dat_i writedata > >
> wb_dat_o > readdata > > > wb_we_i
write > > > > wb_stb_i chipselect
> > wb_cyc_i > chipselect > > >
wb_inta_o irq > > > > wb_clk_i clk
> > wb_ack_o > waitrequest_n > > >
wb_rst_i always0 > > > > arst_i reset_n > > > scl_pad_i > export > >
> scl_pad_o export > > > > scl_padoen_o
export > > > sda_pad_i > export
> > sda_pad_o export > > > >
sda_padoen_o export > > > 6. Under timing tab,
> leave the setup, wait and hold > settings at 0 > >
> cycles. > > You can now access the I2C core via
> included > "oc_i2c_master.h". > > Hope this helps. > > > > Guido. > > > > ______________________________________________________ > >
> _______ > > Guido Kuhlmann > > Tigris
Elektronik > GmbH > http://www.tigris.de > > > >
______________________________________________________ > >
> _______ > > > -----Original Message----- >
> > From: cores-bounces at o... > > > >
> [mailto:cores-bounces at o...]On > > > Behalf Of > > c.scherp at 3... > > > Sent: Wednesday, March 31, 2004 > 10:31 > AM > > > To: cores at o... > >
> Subject: [oc] I2C > ip core integration for ALTERA
FPGAs > > > > > > > > > > > >
> > I´m new to opencores.org and I > want to
integrate a simple > > > I2C > > > Bus Master
> Interface > > > > in an ALTERA Apex / Cyclone /
Stratix > Device with > > QuartusII and SOPC > >
> Builder. I do > not need the > complex wishbone version
of > the I2C core. > > > > I´m > > > happy with the simple > > > > > I2C Bus Master which can be found in I2C.vhd. Is there any > > > > > documentation available for this version ? Or can > anyone >
> give some > > > advice how to connect > this core
to > the ALTERA Avalon Bus and the > > > > ALTERA Nios > Soft-Processor ? Thank > > you... > > >
> Christian. > > > > > > > > > >
> > >
_______________________________________________ > > > >
> http://www.opencores.org/mailman/listinfo/cores > > >
> > >
_______________________________________________ > > > >
http://www.opencores.org/mailman/listinfo/cores > > -- >
> > 3D Alliance GmbH > > Hauptstr. 46 > >
35649 > > Bischoffen > > Tel. 06444 / 93 19 - 0 Fax.
06444 / 93 19 > - 12 > > > > >
_______________________________________________ > > >
http://www.opencores.org/mailman/listinfo/cores > > >
_______________________________________________ >
http://www.opencores.org/mailman/listinfo/cores >
|
|||
|
I2C ip core integration for ALTERA FPGAs
by Unknown on Jan 27, 2006 |
Not available! | ||
|
froger.e0300617 at etud.univ-ubs.fr wrote:
I have the same probleme than you. I can't write in the register .
I recently sucessfully integrated the I2C core onto an Avalon bus in a
Cyclone II without any problems whatsoever.
I used a top-level wrapper to convert the unsigned wb_adr_i to
std_logic_vector and also remove the std_logic generic ARST_LVL (SOPC
Builder barfs on std_logic parameters).
I guess the only difference here is that I'm not actually talking to it
from the NIOS, but rather from another micro which interfaces to the
Avalon bus externally.
But I can confirm that it does indeed work.
Regards,
--
Mark McDougall, Engineer
Virtual Logic Pty Ltd, http://www.vl.com.au>
21-25 King St, Rockdale, 2216
Ph: +612-9599-3255 Fax: +612-9599-3266
For presc_HI, it is OK but for the other register, it 's always NULL. |
|||
|
I2C ip core integration for ALTERA FPGAs
by Unknown on Jan 27, 2006 |
Not available! | ||
|
Microtronix has taken the OC I2C component and developed a I2C
Design Kit with a Santa Cruz development board. The product provides
an Altera SOPC component, reference designs for most Altera boards,
uClinux Master drivers and sample applications. A HAL component will
be available in the next release.
If you want to save design time check it out here:
http://www.microtronix.com/product_i2c.html
Norm
----- Original Message -----
From: froger.e0300617 at
etud.univ-ubs.frfroger.e0300617 at e...>
To:
Date: Tue Jan 24 20:24:08 CET 2006
Subject: [oc] I2C ip core integration for ALTERA FPGAs
I have the same probleme than you. I can't write in the register .
For
presc_HI, it is OK but for the other register, it 's always NULL.
Does somebody has t this I2C master's driver files?
thank you
Arnaud
----- Original Message -----
From: zhangming98 at hotmail.com
To:
Date: Wed Aug 3 06:40:08 CEST 2005
Subject: [oc] I2C ip core integration for ALTERA FPGAs
> Hi, Richard, Thanks for your remind, I am going to code it...
> However, the core seems not working. It is no response to my IOWR
> (i2c_base, 0x00, 0x63) and IOWR(i2c_base, 0x01,0x00). The
result of
> reading the 2 regs after above action is still 0xff each. I
> connected the > signals to Avalon Slave port according to deep below of this
> and
> SCL/SDA were also instantiated..
> Kindly please advise me.
> R.G
> Ming
> ----- Original Message -----
> From: Richard Herveille
> To:
> Date: Thu Jul 28 15:46:36 CEST 2005
> Subject: [oc] I2C ip core integration for ALTERA FPGAs
> As in device drivers??
> You have to code them yourself. > Richard > -----Original Message----- > From: cores-bounces at opencores.org [mailto:cores-bounces at
> opencores.org] On
> Behalf Of zhangming98 at hotmail.com > Sent: Monday, July 25, 2005 5:59 PM > To: cores at opencores.org > Subject: Re: [oc] I2C ip core integration for ALTERA FPGAs
> Hi, Richard,
> Would you please post this I2C master's driver files? It is a
> hard
> time for
> me to code it for Altera NiosII since I am totally new to the
> platform.
> Thanks a lot!
> Ming
> ----- Original Message -----
> From: Richard Herveille
> To:
> Date: Thu Jan 27 18:16:52 CET 2005
> Subject: [oc] I2C ip core integration for ALTERA FPGAs
> > What do you mean when you say you don't get a
response?
> > Can you check that your writing into the regs
correctly
> (check
> CYC,
> > STB).
> > The core should respond with an ACK. > > Now if you're checking the scl and sda signals, make sure
> you
> > hooked up the
> > tri-state output correctly and you pulled-up the wires.
> > Otherwise the core won't work.
> > Cheers, > > Richard > >
> > -----Original Message-----
> > From: cores-bounces at o... > > [mailto:cores-bounces at o...] On Behalf Of > > David2565 at h... > > Sent: Friday, January 21, 2005 4:34 PM > > To: cores at o... > > Subject: Re: [oc] I2C ip core integration for ALTERA
> FPGAs
> >
> > Hi, > > > > I tried to use this I2C core(the VHDL version) in a
> NIOS2
> > system with quartus 2(4.1) I connected
everything
> like
> stated
> > below, but I get no response from it when I
write to
> a
> > register.
> > I did not connect the other end of the I2C
chanel
> because
> I
> > want to make sure it was connected properly.
Could
> that
> be
> > the problem?
> > > > I used the following commands to try to send > something:
> > [code]
> > > IOWR_8DIRECT(I2C_BASE,OC_I2C_CR,IORD_8DIRECT(I2C_BASE,
> > OC_I2C_CR)|OC_I2C_EN); //chip enable
> > IOWR_8DIRECT(I2C_BASE,OC_I2C_PRER_LO,0x50);//set > > prescaler > > > > IOWR_8DIRECT(I2C_BASE,OC_I2C_PRER_HI,0x00); > > > > IOWR_8DIRECT(I2C_BASE,OC_I2C_TXR,0xAC);// set write > adres >
> > IOWR_8DIRECT(I2C_BASE,OC_I2C_SR,(IORD_8DIRECT >
> > (I2C_BASE,OC_I2C_SR)|OC_I2C_STA|OC_I2C_WR));//set > some > > other > > > > bits > > > > printf("%x\n",IORD_8DIRECT(I2C_BASE,OC_I2C_SR));//
> check > > > (i get > > > > FF!?)
> > while(IORD_8DIRECT(I2C_BASE,OC_I2C_SR)&
> OC_I2C_TIP); > > > > > > printf("%x\n",IORD_8DIRECT(I2C_BASE,OC_I2C_SR)); >
> > IOWR_8DIRECT(I2C_BASE,OC_I2C_TXR,0x5C); > >
> >
printf("%x\n",IORD_8DIRECT(I2C_BASE,OC_I2C_SR)); >
> > IOWR_8DIRECT(I2C_BASE,OC_I2C_SR,(IORD_8DIRECT >
> > (I2C_BASE,OC_I2C_SR)|OC_I2C_STO|OC_I2C_WR)); > > > [/code] > > > > > > > > Hope someone can help, > > > > David > > > >
> > > ----- Original Message ----- >
> From: c.scherp at > 3... >
> To: > > > > Date: Thu Apr 15 16:20:50 CEST
2004 > > > Subject: [oc] > I2C ip core integration for ALTERA FPGAs > > > > > > > > Hallo Guido,
> > > > it > works ! Thank you
very much for helping me ! > > > > > > > >
> Christian. > > > > > > > > > Datum:
Fri, 2 Apr 2004 14:22:33 +0200 > > > > > Von: "Guido Kuhlmann" > > > > > > > > > Betreff: RE:
> [oc] I2C ip core integration for > > > > ALTERA
FPGAs > > > > > An: "'Discussion list about
free open > source > IP > > > > cores'"
o...> > > > > Antwort an:
Guido.Kuhlmann at t..., > > > > Discussion > list
about free open source IP > cores > [
> > Doppelklick > auf diese Zeile zeigt Optionen
für > > Abo-Liste ] Hi > > > > Christian, you can easily > connect the I2C > Wishbone core > to the NIOS > > > > processor (I > don't know the simple I2C core). > > > 1. > Within SOPC > builder, generate interface to user logic. > > > > 2. > Select bus interface type: avalon register slave. > > >
> 3. Add "i2c_master_top.v" design file. >
> > 4. Read port list from file. > > > 5.
Connect > the > signals as follow: > > > wb_adr_i > address > > > > wb_dat_i writedata > > > > wb_dat_o > readdata >
> wb_we_i > write > > > > wb_stb_i
chipselect > > > > wb_cyc_i > chipselect > > > > wb_inta_o irq > >
> wb_clk_i clk > > > > wb_ack_o
> waitrequest_n > > > > wb_rst_i always0 > > > > arst_i > reset_n > >
> scl_pad_i > export > > > > scl_pad_o
export > > > > scl_padoen_o > export > > > sda_pad_i > export > >
> sda_pad_o export > > > > >
sda_padoen_o export > > > 6. Under timing tab,
> leave the setup, wait and hold > settings at 0 >
> > cycles. > > You can now access the I2C
core via > > included > "oc_i2c_master.h". >
> Hope this > helps. > > > > Guido. > >
> >
______________________________________________________ > >
> > _______ > > Guido Kuhlmann > > Tigris
> Elektronik > GmbH > http://www.tigris.de > > >
> ______________________________________________________
> > > _______ > > > -----Original
Message----- > > > > > > From: cores-bounces at o... > > > > > > [mailto:cores-bounces at o...]On
> > Behalf Of > > > c.scherp at 3... > >
> Sent: Wednesday, March 31, > 2004 > 10:31 > AM >
> To: cores at o... > > > > > Subject: [oc]
I2C > ip core integration for ALTERA > FPGAs > > >
> > > > > > >
I´m new to opencores.org and I > want to > integrate a simple > > > I2C > > > Bus Master > > Interface > > > > in an ALTERA Apex / Cyclone / > Stratix > Device with > > QuartusII and SOPC > >
> Builder. I do > not need the > complex wishbone
version > of > the I2C core. > > > > I´m
> > happy with the simple > > > > >
I2C Bus Master which > can be found in I2C.vhd. Is there any
> > > documentation available for this
version ? Or can > anyone > > > give some > >
> advice how to connect > this core > to > the ALTERA
Avalon Bus and the > > > > ALTERA > Nios > Soft-Processor ? Thank > > you... > > > > > Christian. > > > > > > > > > > >
> > >
_______________________________________________ > > > >
> http://www.opencores.org/mailman/listinfo/cores > >
> > > >
_______________________________________________ > > > >
> http://www.opencores.org/mailman/listinfo/cores > > --
> > > 3D Alliance GmbH > > Hauptstr. 46
> > 35649 > > Bischoffen > > Tel. 06444 / 93 19 - 0 Fax. > 06444 / 93 19 > - 12 > > > > >
> _______________________________________________ > > >
> http://www.opencores.org/mailman/listinfo/cores > > >
> _______________________________________________ > >
http://www.opencores.org/mailman/listinfo/cores > >
|
|||

1/2 
