Using single buffer mode of DMA of STM32H7 family to transfer large data bytes from SD card to RAM...
Hello everybody,
I am going to use one of the chips from STM32 H7 family in my project (My tool-chain: STM32CUBEIDE and STM32CubeMX).
In my project,I have to transfer large data bytes from SDcard to internal RAM of the micro-controller very rapidly and dynamically(in the run time) by using internal DMA(IDMA) of the SDMMC interface of the micro-controller.
Since the capacity of HAL instructions and commands for doing so, is limited to 512 bytes for data transferring,I assume I have to use these HAL commands periodically and probably in a loop, to cover the whole data which should be transferred .
I presume I have to change the the start address of the both data blocks(inside the SD card and inside the internal RAM)dynamically and by my C code, whenever a transfer completes,to transmit the rest of data,till the end of all data.
1-Am I able to do it?Is there any hint or clue for it?Can anyone introduce me proper instructions of HAL library for doing it?
2-The capacity of the flash controller of this micro is :128 KB .Can it be considered a good and sufficient choice for doing this?Or, is it better to choose another micro with larger flash memory?
Your consideration is highly appreciated.
