cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L4 SDMMC Peripheral RAW Write - Read Problem (Single channel DMA for RX and TX configuration)

Dmore.11
Associate

I wonder why the SDMMC peripheral is not working with two DMA channels one for RX and one for TX ....

As stated as a workaround in the community, I configured one DMA channel for RX and TX for the SDMMC peripheral. However it doesnt work properly.

As a test code for SDMMC peripheral, I write and read a 512 byte string to the SD card in a while loop. At the beginning it writes and read successfully (RES_OK), but after some time I receive RES_ERROR return from SD_read and SD_write functions. SD clock is 16 MHz. I tried slower clock freqs, but nothing changes...

0 REPLIES 0