We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi all
I'm doing a SD-Card interface for my board. I finally initialized my card! Now Im having a problem with DMA. Im using the NXP driver(mci) and they use the DMA but its not working at all.. Every time occurs timeout in this line: " . . .
/* Start DMA Memory to Peripheral transfer. */ mci_dma_start (DMA_WRITE, buf); MCI_DATA_CTRL = 0x99; for (i = DMA_TOUT; i; i--) { if (GPDMA_RAW_INT_TCSTAT & 0x01) {
/* Data transfer finished. */ break; }
. . . "
Someone can help me here? How works this DMA? Anybody knows what is the writing/reading sequence of SD-Card?
Sorry for my poor english..
Fabio
Equivalently, if you don't like the reply - just ignore it!