Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

i2c 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

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Two solutions:

    1) Do Your own component.

    2) Use bitbang method using PIO.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I have tried to make a component, but it creates a lot of mistakes.

    What is BitBang?

    Where can I study?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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: