Forum Discussion

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

SD Card Controller Core In SOPC Builder

Does a core to interface an SD card exist in SOPC builder? if so, what is its name?

4 Replies

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

    There's no made by Altera, but there are such cores made by other companies. You'll need license to use it.

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

    --- Quote Start ---

    Does a core to interface an SD card exist in SOPC builder? if so, what is its name?

    --- Quote End ---

    When looking for IP cores, be aware that there are two methods of interfacing to SD cards; SPI and parallel mode. The SPI mode is slower than the parallel mode. Access to the specification for the parallel mode interface requires joining the SD card organization, or at least signing an NDA (non-disclosure agreement).

    If you're looking for something free (but possibly slow), look at opencores for an IP core, or go find the specification (the SPI commands are published) and just implement access using an SPI controller and a NIOS processor. There should be plenty of examples of microcontroller code, eg. the LPC2000 Yahoo group, or the Circuit Cellar magazine are two places I recall seeing code or discussions.

    If you need something faster, then you'll have to buy an SD card IP core (and that IP core will come with the source code encrypted).

    Cheers,

    Dave