2009-03-04 04:13 AM
SDIO FIFO filled with only one SDIO_WriteData instruction
2011-05-17 04:05 AM
Hello,
I try to send data to a SDIO card. For that I want to use the SDIO FIFO, but I ve got a strange behaviour. Here is the code I do: SDIO_DataInitStructure.SDIO_DataTimeOut = SD_DATATIMEOUT; SDIO_DataInitStructure.SDIO_DataLength = 1; SDIO_DataInitStructure.SDIO_DataBlockSize = SDIO_DataBlockSize_1b; SDIO_DataInitStructure.SDIO_TransferDir = SDIO_TransferDir_ToCard; SDIO_DataInitStructure.SDIO_TransferMode = SDIO_TransferMode_Block; SDIO_DataInitStructure.SDIO_DPSM = SDIO_DPSM_Enable; SDIO_DataConfig(&SDIO_DataInitStructure); SDIO_WriteData(0x00000001); Once I ve done the SDIO_WriteData, I was expecting to have only one word filled with the value 0x00000001 in the FIFO. But the full FIFO (from 0x40018080 to 0x400180FC) is filled with 0x00000001. Is it a bug with the STM32? If so, does that explain the ''2.13 Limited multibyte support with SDIO cards'' section of ''STM32F103xC/D/E Errata sheet'' saying that Multi Byte is not supported? Thanks in advance.