Forum Discussion
Altera_Forum
Honored Contributor
14 years agoi2c in sopc builder
Hello all;
I downloaded I2opencores, How do I use? How can I add it in SOPC builder? thank you very much.16 Replies
- Chaupanday84
New Contributor
What kind of mistakes you are talking about?
- Altera_Forum
Honored Contributor
--- Quote Start --- I have tried to make a component, but it creates a lot of mistakes. What is BitBang? Where can I study? --- Quote End --- This is a very good resource for beginners and experienced developers: http://bit.ly/zu7kgq You should really use it :rolleyes: - Altera_Forum
Honored Contributor
--- Quote Start --- I have tried to make a component, but it creates a lot of mistakes. What is BitBang? Where can I study? --- Quote End --- Use PIO and bitbang means you use PIO and drive the sda/scl pin up and down by software. - Altera_Forum
Honored Contributor
I have tried to make a component, but it creates a lot of mistakes.
What is BitBang? Where can I study? - Altera_Forum
Honored Contributor
Two solutions:
1) Do Your own component. 2) Use bitbang method using PIO. - Altera_Forum
Honored Contributor
first of all thank you,
how do I get a component i2c slave? I downloaded opencores_12c_slave, but there is no tcl. - Altera_Forum
Honored Contributor
--- Quote Start --- Warning: opencores_i2c: set_interface_property: export_0 Interface (conduit) can not have associatedClock --- Quote End --- It is a warning coming from a recent SOPC builder on a component that was created with an older version. You can either delete the line defining the associated clock in the tcl file or just ignore the warning. - Altera_Forum
Honored Contributor
--- Quote Start --- Hi, I have solved almost all problems. remains just that: Warning: opencores_i2c: set_interface_property: export_0 Interface (conduit) can not have associatedClock --- Quote End --- You did not assign clock to the component. --- Quote Start --- Once instantiated, the block can be slaves? Or is it just the master? --- Quote End --- As far as I remember it is only master. - Altera_Forum
Honored Contributor
Hi,
I have solved almost all problems. remains just that: Warning: opencores_i2c: set_interface_property: export_0 Interface (conduit) can not have associatedClock can you tell me what that means? and how do I take? Once instantiated, the block can be slaves? Or is it just the master? thanks, thanks and thanks again - Altera_Forum
Honored Contributor
Now You need to connect the core to the interconnect. I suggest You reading the SOPC Builder manual and do some example projects.
Check www.alterawiki.com