Sign in

username:

password:



Not a member?

Search fpga-cpu



Search tips

Subscribe to fpga-cpu



fpga-cpu by Keywords

Altera | CISCifying | IDE | ISA | Java | JHDL | JTAG | LBU | MicroBlaze | PAR | PCI | RISC | SoC | Spartan | Transputers | Verilog | VHDL | Virtex | VLIW | WebPack | Xilinx | Xsoc | YARD-1A

Ads

Discussion Groups

Discussion Groups | FPGA-CPU | SD card interface using FPGA

This list is for discussion of the design and implementation of field-programmable gate array based processors and integrated systems. It is also for discussion and community support of the XSOC Project (see http://www.fpgacpu.org/xsoc).

SD card interface using FPGA - k7ar...@gmail.com - Apr 22 6:02:21 2008

hai all , i am arun . i am working on interfacing SD card using FPGA. i am using SPI mode of communication to SD card .
1. i wrote the code in verilog for the identification mode , i generated clock frequency of 100 khz to SD clk then i kept the SD card clock cycle to run for 74 cycles with CS high
2. after lowered the CS to 0 and gave the command 0 i.e 40_00_00_00_00_95 (hex) to the card , i should get the respoce as 1 byte 00x but i am getting 1(high) throughout for any no. of clock cycles. what could be the problem for this. . the power supply given to the card is 3.3 v.

i also tried using SD bus mode , since the respose is always high.. i am following sandisk SD card product manual for reference. kindly tell me how to initialise the card to get the proper response

------------------------------------

To post a message, send it to: f...@yahoogroups.com
To unsubscribe, send a blank message to: f...@yahoogroups.com



(You need to be a member of fpga-cpu -- send a blank email to fpga-cpu-subscribe@yahoogroups.com )


Re: SD card interface using FPGA - John Kent - Apr 22 6:13:15 2008

Is it CS or CS_N ?

k...@gmail.com wrote:
> hai all , i am arun . i am working on interfacing SD card using FPGA. i am using SPI mode of communication to SD card .
> 1. i wrote the code in verilog for the identification mode , i generated clock frequency of 100 khz to SD clk then i kept the SD card clock cycle to run for 74 cycles with CS high
> 2. after lowered the CS to 0 and gave the command 0 i.e 40_00_00_00_00_95 (hex) to the card , i should get the respoce as 1 byte 00x but i am getting 1(high) throughout for any no. of clock cycles. what could be the problem for this. . the power supply given to the card is 3.3 v.
>
> i also tried using SD bus mode , since the respose is always high.. i am following sandisk SD card product manual for reference. kindly tell me how to initialise the card to get the proper response
>

--
http://www.johnkent.com.au
http://members.optushome.com.au/jekent
------------------------------------

To post a message, send it to: f...@yahoogroups.com
To unsubscribe, send a blank message to: f...@yahoogroups.com



(You need to be a member of fpga-cpu -- send a blank email to fpga-cpu-subscribe@yahoogroups.com )

Re:SD card interface using FPGA - Abhishek Mitra - Apr 22 8:24:59 2008

This C program though written for a 8051 may come in handy

http://www.cs.ucr.edu/~amitra/sdcard/sdcard_driver.c

____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
------------------------------------

To post a message, send it to: f...@yahoogroups.com
To unsubscribe, send a blank message to: f...@yahoogroups.com



(You need to be a member of fpga-cpu -- send a blank email to fpga-cpu-subscribe@yahoogroups.com )

Re:SD card interface using FPGA - k7arun - Apr 26 16:16:55 2008

--- In f...@yahoogroups.com, Abhishek Mitra wrote:
>
> This C program though written for a 8051 may come in handy
>
> http://www.cs.ucr.edu/~amitra/sdcard/sdcard_driver.c
>
> hai thanks you for the code. i follwed the code and got mine
working .
thanks a lot
>
______________________________________________________________________
______________
> Be a better friend, newshound, and
> know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>

------------------------------------

To post a message, send it to: f...@yahoogroups.com
To unsubscribe, send a blank message to: f...@yahoogroups.com



(You need to be a member of fpga-cpu -- send a blank email to fpga-cpu-subscribe@yahoogroups.com )