2014-06-19 12:29 PM
2017-05-17 12:42 AM
It would be really great if someone answered to this.
According to the Reference Manual, you should configure DMA before sending the command. So which is correct? I have a similar problem with an STM32F103xxx, where I don't know which order is correct.
2017-05-17 11:50 AM
Hi
Duering.Andreas
,Which firmware version are you using ?
I will check this behavior andkeep you informed about the taken actions/explanation if needed.
Thanks
Imen
2017-05-18 02:12 AM
Hello
DAHMEN.IMEN
,I assume by firmware you mean the library version? I'm using theStandard Peripheral Library (STSW-STM32054), version 3.5.0 (I'm not using an EVAL board, though that shouldn't affect the question).
The SD example code (STM32F10x_StdPeriph_Lib_V3.5.0\Utilities\STM32_EVAL\Common\stm32_eval_sdio_sd.c) sends the read/write block commands before setting up the DMA, which works 'somehow', but doesn't match the procedure mentioned in section 3.2 'SDIO AHB interface' of the STM32F1 reference manual (RM0008).
Thanks, Andreas