SD SPI access via FPGA - is it possible?
pik33
Posts: 2,366
I have a Quickstart and Terasic DE1 boards. I connected them together via GPIO_0 on DE1.
Then I connected (with Quartus) Propeller's pins 16..23 to DE1 VGA output and pins 0..3 to DE1 SD slot. Configured as:
_SD_DO = 0
_SD_CLK = 1
_SD_DI = 2
_SD_CS = 3
SD_DO is configured on GPIO as input, rest of pins are outputs:
It looks like this:
Prop pin 16 > (wire) ->GPIO_0[16] >
>VGA_VS
(....)
Prop pin 23 -> GPIO_0[23]>
>VGA_R[3]
Prop pin 3 -> GPIO_0[3] >
>SD_DAT3 (SD pin 1)
Prop pin 2 -> GPIO_0[2]>
>SD_CMD (SD pin 2)
Prop pin 1 -> GPIO_0[1]>
>SD_CLK (SD pin 5)
Prop pin 0 <- GPIO_0[0]<
<SD_DAT (SD pin 7)
Then I programmed a Quickstart with my Propplay - it uses Kye's SD driver.
VGA works. SD can't mount.
Is it possible to access SD this way? If it is possible, what can be wrong in my attempt?
Then I connected (with Quartus) Propeller's pins 16..23 to DE1 VGA output and pins 0..3 to DE1 SD slot. Configured as:
_SD_DO = 0
_SD_CLK = 1
_SD_DI = 2
_SD_CS = 3
SD_DO is configured on GPIO as input, rest of pins are outputs:
It looks like this:
Prop pin 16 > (wire) ->GPIO_0[16] >
>VGA_VS
(....)
Prop pin 23 -> GPIO_0[23]>
>VGA_R[3]
Prop pin 3 -> GPIO_0[3] >
>SD_DAT3 (SD pin 1)
Prop pin 2 -> GPIO_0[2]>
>SD_CMD (SD pin 2)
Prop pin 1 -> GPIO_0[1]>
>SD_CLK (SD pin 5)
Prop pin 0 <- GPIO_0[0]<
<SD_DAT (SD pin 7)
Then I programmed a Quickstart with my Propplay - it uses Kye's SD driver.
VGA works. SD can't mount.
Is it possible to access SD this way? If it is possible, what can be wrong in my attempt?