cancel
Showing results for 
Search instead for 
Did you mean: 

SDIO how to transfer data

stm322
Associate II
Posted on March 05, 2009 at 07:06

SDIO how to transfer data

3 REPLIES 3
stm322
Associate II
Posted on May 17, 2011 at 13:05

Hello,

I try to transfer data from the STM32 to a SDIO device.

I can successfully read and write register on my SDIO device using the command 52. This command use only the CMD line.

But to transfer data, I should send a command 53 on the CMD line. And the data should be transfered on D[3:0] line. I manage to send the command 53, but I have no data transferred on D[3:0].

Does anybody know how to transfer data on this line D[3:0]?

Thanks in advance.

jj
Associate II
Posted on May 17, 2011 at 13:05

Please tell us which device you're trying to talk to. We'll try to acquire & duplicate your tests...

stm322
Associate II
Posted on May 17, 2011 at 13:05

The device plugged is a WLAN Marvell 8686.

Basically to send data on this device, I have to send the command 53 to put the Marvell in receive block mode.

That s working, the command 53 is properly sent on the command line, and the Marvell replies Ready to receive.

But the data have to be sent on data lines D[3:0]. And here is the problem, nothing happen on these lines. I tried to store the data on the SDIO FIFO but doesn t resolve the problem.

What I m looking for is an example on how send data on these lines.

Thanks in advance