Forum Discussion

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

Reading SD Card on DE2-70

Hello,

I am doing my thesis on image processing and I need to input an image and it seems that sd card is convenient way to input an image file. Has anybody achieved to read sd card ? I read many topic here but no solution has been provided. I use SpiMaster core from OpenCores but as I am new to FPGAs, the interface is a misery for me. If anyone could share a piece of code, that would solve a lot of questions for me

Luya

15 Replies

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

    Hello redcode113

    The best frequency of clock for SPI is 25Mhz. There are some board that have SPI created and only you have control the controller.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thanks anthimos,

    Are you done your project in reading image from SD card ? If yes, can you give me some advises ?

    Thanks in advance

    P/S: I'm also in trouble with SDRAM controller - Wishbone bus interface. Any advises ?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I didn't have many time to finish me project so i take a more easy way to sent data to RAM.. I did this with RS-232 it's the easiest way for my opinion and the way i like to control data.

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

    Hi redcode113

    I didn't have many time to finish me project so i take a more easy way to sent data to RAM.

    I did this with RS-232 it's the easiest way for my opinion and the way i like to control data.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thanks anthimos,

    Does it mean that you send data from computer to SDRam of DE2-70 through RS232 ? You implement this on STORM SoC ? Could you please give me your email ? Mine is: nkmike1312@gmail.com