Forum Discussion

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

How can I find some free IP of i2c uart and spi etc.

as the title

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Basic UART and SPI are included for free with Quartus.

    --- Quote End ---

    Only as SOPC components (NIOS II peripherals). Although you are basically able to extract the code and use it for native HDL designs, it's far from being convenient. Opencores is always a place to look for, but the UART and SPI IP tends to be more complex then needed for basic functionality. Simple UART designs have been published at Altera forum before.

    SPI in a native HDL design isn't much more than a shift register. Data formats and clock speeds as well as parallel data connectivity are changing for each implementation, so it's probably best to write it from the scratch, tailored for the respective application.

    P.S.: A simple uart example http://www.alteraforum.com/forum/showthread.php?t=5184