Forum Discussion
I am just about to do this on my de1-SoC and have not yet tried it, but as far as I can tell your pin assignments are completely wrong. Here are the pins from the documentation, you should verify that you are reading the document from the de1-soc not the de1
Signal Name FPGA Pin No. HPS_SD_CLK PIN_A16 HPS_SD_CMD PIN_F18 HPS_SD_DATA[0] PIN_G18 HPS_SD_DATA[1] PIN_C17 HPS_SD_DATA[2] PIN_D17 HPS_SD_DATA[3] PIN_B16Hello,
I am trying to interface SD card on DE1 Soc board, I have done the above PIN assignments:
Signal Name FPGA Pin No.
HPS_SD_CLK PIN_A16
HPS_SD_CMD PIN_F18
HPS_SD_DATA[0] PIN_G18
HPS_SD_DATA[1] PIN_C17
HPS_SD_DATA[2] PIN_D17
HPS_SD_DATA[3] PIN_B16
How ever in eclipse window, I have written code to detect SD card and I am using function "alt_up_sd_card_is_Present()" from the driver code. It does not return true value and on debugging I understood that Auxiliary Status Register ASR register bit 1 is always 0.( bit 1 indicates if an SD Card is present in the SD card socket).
And bit 0 is 1 which indicates if the last command sent to the core was valid
I am stuck here, can some one please help me in understanding the problems?